Commit Graph

86 Commits

Author SHA1 Message Date
Leonard Hecker
be9c1906a2 Prompt for saving when opening a new file 2025-04-02 19:16:27 +02:00
Leonard Hecker
ae0b42da36 Disable line higlight in editlines 2025-04-02 19:15:08 +02:00
Leonard Hecker
59bab1a9b4 Scrub debug-latency output on every frame 2025-04-02 19:12:44 +02:00
Leonard Hecker
bd3595fdee Modals consume all input 2025-04-02 18:25:55 +02:00
Leonard Hecker
2408f8b5f7 Ask for a filename on save if there's none 2025-04-02 17:36:28 +02:00
Leonard Hecker
cc302d1bab Split Framebuffer up & Implement output compression 2025-04-02 15:30:29 +02:00
Leonard Hecker
a598c6b378 Fix double clicks not being recognized as clicks 2025-04-02 02:13:25 +02:00
Leonard Hecker
df0d1abeb0 Fix ICU regex error reporting 2025-04-01 23:57:42 +02:00
Leonard Hecker
cebdc7b40b Fix CRLF support for ucd's measure_forward 2025-04-01 17:18:41 +02:00
Leonard Hecker
22d298e927 Here lays Leonard's hopes and dreams (aka word wrap fixes) 2025-03-31 21:50:38 +02:00
Leonard Hecker
f338eb34d2 Fix loading of ICU on Linux 2025-03-31 18:04:25 +02:00
Leonard Hecker
382f9605f1 Fix preferred cursor column not updating on drag 2025-03-31 18:03:42 +02:00
Leonard Hecker
0b79febab4 Fix most lint/clippy warnings 2025-03-29 15:57:34 +01:00
Leonard Hecker
3a81d52331 Fix lists not being focusable by default 2025-03-29 01:16:30 +01:00
Leonard Hecker
9145205782 Remove assertions that can't work
Cursors can now have ambiguous positions when word wrap is enabled.
As such, comparing their .y coordinates can't possibly work.
2025-03-29 01:15:20 +01:00
Leonard Hecker
f1472e71cb If this new word wrap algo doesn't work I'll cry 2025-03-28 23:05:12 +01:00
Leonard Hecker
6ea614c263 Add an ASCII fastpass to the utf8 parser 2025-03-28 22:58:49 +01:00
Leonard Hecker
d6508d73f9 Use 0 to represent disabled rulers/word-wrap 2025-03-28 22:58:39 +01:00
Leonard Hecker
ed78bc917f Fix the debug-layout feature 2025-03-26 17:20:36 +01:00
Leonard Hecker
866983299c Version bump & Add a proper description 2025-03-25 22:14:01 +01:00
Leonard Hecker
87c43a43af Slight reordering of the line number code 2025-03-25 20:56:05 +01:00
Leonard Hecker
31413afc34 Add criterion and a first benchmark 2025-03-25 20:03:19 +01:00
Dustin L. Howett
76c07265d1 Add an indicator in the margin for wrapped lines
When a line is wrapped, we will insert as many dots as there
are digits in the line number of the originating line.
2025-03-25 20:02:10 +01:00
Leonard Hecker
44c4bb126c Fix double cache not recording the MRU cache 2025-03-24 16:36:18 +01:00
Leonard Hecker
c4695e47d4 Finish implementing Find & Replace 2025-03-24 16:36:06 +01:00
Leonard Hecker
28d18055aa Fix whole-word matching when regex is disabled 2025-03-24 16:35:35 +01:00
Leonard Hecker
8f28fd35ac Fix broken rendering after undo/redo 2025-03-24 15:04:44 +01:00
Leonard Hecker
a81d2c9363 Update the list of most important TODOs 2025-03-24 01:28:30 +01:00
Leonard Hecker
425f2fe98c Fixed crash when searching across the gap 2025-03-24 01:23:57 +01:00
Leonard Hecker
c332c8a583 Initial Find & Replace implementation (it's broken) 2025-03-24 01:23:35 +01:00
Leonard Hecker
1df9337e0f Fix various sources of UI lag 2025-03-24 01:21:41 +01:00
Leonard Hecker
4057f2b250 Fix infinite rerender on failed saves 2025-03-24 01:20:42 +01:00
Leonard Hecker
048f516c39 Scott asked for transparent backgrounds... 2025-03-23 02:46:02 +01:00
Leonard Hecker
70b8df2a58 Slight sys cleanup & Fix more sys::unix bugs 2025-03-23 00:33:44 +01:00
Leonard Hecker
df35ee1283 Fix RI grapheme clustering & Simplify tab/newline code 2025-03-22 20:10:08 +01:00
Leonard Hecker
dd168a6d6b Drop support for CR newlines - only LF or CRLF 2025-03-22 20:09:37 +01:00
Leonard Hecker
e66cd56937 Fix rerender after saving/loading a file 2025-03-22 20:09:19 +01:00
Leonard Hecker
b500217b56 Improve throughput when reading from stdin 2025-03-22 19:07:02 +01:00
Leonard Hecker
ea13407e55 Fix sys::unix implementation 2025-03-22 19:06:50 +01:00
Leonard Hecker
729e442337 Implement horizontal scrolling 2025-03-22 00:29:38 +01:00
Leonard Hecker
604d0ecf70 Fix SaveAs not saving & Add a overwrite warning 2025-03-22 00:17:35 +01:00
Leonard Hecker
223d0c09e1 Fix list items stealing Enter presses 2025-03-21 23:23:30 +01:00
Leonard Hecker
d681f3bf81 Fix deadlock when >1 modal dialog is open at once 2025-03-21 23:23:19 +01:00
Leonard Hecker
11a31f35f0 Strip \\?\ from file paths on Windows 2025-03-21 22:37:19 +01:00
Leonard Hecker
ef19a2e717 Implement precise scrollbar dragging 2025-03-21 22:36:48 +01:00
Leonard Hecker
8a1f6cd997 Use the selection for the initial search input 2025-03-21 19:06:20 +01:00
Leonard Hecker
3659854426 Fix Drag+Click being translated to a DoubleClick 2025-03-21 18:36:40 +01:00
Leonard Hecker
b33b44186b Implement an OpenFile picker 2025-03-21 17:48:47 +01:00
Leonard Hecker
9ca8b1574f Fix gestures not being cleared on mouse up 2025-03-21 17:48:08 +01:00
Leonard Hecker
cc0bfc7d90 Scroll when a drag reaches the top/bottom 2025-03-21 17:23:28 +01:00