Commit graph

89 commits

Author SHA1 Message Date
3562a62da7 Fix find and enter in insert-mode 2025-05-28 16:23:12 +02:00
68b1b176e6 Make get_input clean-up after itself 2025-05-28 16:22:48 +02:00
7259c7ba7a Fix relative offset in line printing 2025-05-28 16:05:15 +02:00
d8981403ac Simplify printing and fix tabs 2025-05-28 15:35:15 +02:00
99c3e8cc0c Fix tab offset 2025-05-28 13:16:54 +02:00
f8e0a06a62 Rework tabs, so they are a grid, not just n spaces 2025-05-27 21:13:40 +02:00
69f45fe50c Implement bulk_get_line for faster file printing 2025-05-27 19:44:52 +02:00
d7f45730c2 Clean up treap accessing 2025-05-27 19:43:47 +02:00
569d1c530c Generalize and DRY input taking 2025-05-25 20:25:44 +02:00
91be50c397 Add pragma once into everything.hpp 2025-05-25 20:01:25 +02:00
7ae0a5c622 Move split_line function into treap 2025-05-25 19:59:44 +02:00
e1646c6098 Encapsulate editor actions 2025-05-25 19:10:55 +02:00
77b9b35901 Fix jumping 2025-05-22 23:17:37 +02:00
d88d27377f Simplify jump 2025-05-22 22:20:48 +02:00
aa065cd89f Encapsulate selection and fragment code better 2025-05-22 22:20:29 +02:00
bce4f0141e Add error messages for loading 2025-05-22 20:50:34 +02:00
4295ed85de Simplify number input checking 2025-04-22 08:53:54 +02:00
f0db407f4d Clear input prompts after 2025-04-22 08:39:55 +02:00
731c558a3f Fix number input non-convertible crash 2025-04-22 08:38:35 +02:00
8beb95963d Implement custom tab-size 2025-04-20 19:35:10 +02:00
fca89c9f55 Remove resolve TODO 2025-04-20 18:26:43 +02:00
8c6ef1c9e9 Enhance jumping and fix its crashing 2025-04-20 18:25:04 +02:00
1b2c93b2af Remove external treap access 2025-04-20 18:24:23 +02:00
b4c37a8291 Comment global variables 2025-04-20 12:06:13 +02:00
6063b65fda Simplify min+max 2025-04-20 11:58:38 +02:00
38d2ca1d66 Generalize selection manipulation and add remove selection 2025-04-20 11:56:59 +02:00
61ce077ea0 Enhance jumping 2025-04-20 11:56:02 +02:00
8e29aad9e0 Fix crash by searching for non-contained string 2025-04-17 20:59:57 +02:00
0497e5993d Implement find and replace 2025-04-17 18:48:22 +02:00
3b872f4ad7 Enhance user input numbers and strings 2025-04-17 18:47:28 +02:00
9a25e1e1f2 Fix copying position 2025-04-17 14:02:16 +02:00
fe62172682 Unite everything with file_offset 2025-04-16 21:14:27 +02:00
a9bc74264d Remove unused function 2025-04-16 15:19:27 +02:00
178bcc2cd5 Fix jump + add jump to position 2025-04-16 15:02:07 +02:00
ea7db7ef4e Make get_line DRY 2025-04-16 14:14:25 +02:00
ac45e6d47c Fix tabulator overwrite 2025-04-16 14:07:37 +02:00
4b7d0cd038 Unite comment language 2025-04-16 13:24:51 +02:00
1e7ea2b5a2 Generalize positions and count-type 2025-04-16 12:44:33 +02:00
76eac35213 Implement copying and pasting 2025-04-15 16:52:59 +02:00
079e7669af Include creating a new line in line splitting 2025-04-15 16:52:44 +02:00
ee2e61ad4d Remove treap insertion into treap 2025-04-15 16:48:12 +02:00
8dfbc802d2 Fix treap clear 2025-04-15 16:46:18 +02:00
a867520b0b Delete removed lines 2025-04-09 15:22:36 +02:00
5feb4bb93d Generalize treap count type 2025-04-09 14:42:29 +02:00
08556a4dcc Add treap pop 2025-04-09 14:39:11 +02:00
53a53b7a03 Avoid external access to treap 2025-04-09 14:25:02 +02:00
112e20f4b1 Rename modes and utility functions 2025-04-09 14:19:29 +02:00
3962f30539 Support inserting a treap into another 2025-04-09 14:12:41 +02:00
944b6759ff Add append to treap structure 2025-04-09 10:31:47 +02:00
7ca8b1a3cb Add treap clearing 2025-04-09 08:00:51 +02:00