4b6c08154b
feat: add theme selection palette
...
Also, refactor to share palette code and make palettes scroll properly
with the mouse wheel.
2024-08-14 21:27:32 +02:00
22f838a2da
fix: deinit tui.mouse_idle_timer after it fires
2024-08-13 23:10:09 +02:00
26ef53747d
fix: don't send hover events to dead widgets
2024-08-13 22:57:21 +02:00
f53dc74e9d
feat: add a mouse idle timer that clears hover state
2024-08-13 22:51:22 +02:00
50d47a73f2
feat: add mouse resizing of panel views
2024-08-13 19:38:35 +02:00
7f0f8c9ed3
feat: set terminal background to match editor
2024-08-12 23:24:10 +02:00
953fc8535c
feat: add up/down/enter keybindings to find_in_files mode to browse and select matches
2024-08-12 23:23:17 +02:00
49b701c9af
fix(command_palette): let pageup move all the way to the top
2024-08-11 22:41:04 +02:00
7a8191c139
fix(filelist): update scrollbar in move_next
2024-08-11 22:08:53 +02:00
221bc5741d
feat: improve styling of command palette scrollbar
2024-08-11 21:59:05 +02:00
8abeea6c98
refactor: minor formatting clean-up in open_recent
2024-08-11 21:37:25 +02:00
c53067a7cd
feat: use panel background in filelist view scrollbar
2024-08-11 21:32:23 +02:00
f8213a8a85
feat(scrollbar): add support for changing scrollbar styles
2024-08-11 21:31:31 +02:00
3cbca45b82
feat: improve layout of filelist view
2024-08-11 21:03:37 +02:00
3a7e124255
feat: make filelist_view fully mouse and keyboard scrollable
2024-08-11 20:28:38 +02:00
ef95114039
feat: add support for mouse wheel events to menu widgets
2024-08-11 20:28:03 +02:00
2be1a4d149
feat: make button widgets forward mouse wheel events
2024-08-11 20:27:08 +02:00
d364ac0f48
fix: paste with no argument should paste from the internal clipboard
2024-08-08 22:48:26 +02:00
4840d2ef60
fix(windows): fallback to internal paste in system_paste on windows
2024-08-08 22:44:54 +02:00
9d9d9388b9
feat(open_recent): always size open recent file list to longest known file path
2024-08-08 21:37:16 +02:00
bc386b21f0
fix: reset transparent styles to avoid zebra effect on home screen
2024-08-08 15:22:21 +02:00
9b00805546
feat: avoid sigwinch handling if we detect in band resize capability
2024-08-07 21:46:46 +02:00
476baf768e
fix: correct a couple of integer overflow errors
2024-08-07 20:32:25 +02:00
ed8a1276da
feat: suppress some unhelpful errors
2024-08-07 20:31:38 +02:00
6ca9dad1e4
refactor: remove duplicate C-S-i binding on home screen
2024-08-07 18:28:44 +02:00
8fc80b6360
fix: don't update diff on exit
2024-08-05 22:23:53 +02:00
b09aa98f70
feat: support loading extreamly large files
...
- Allocate initial file and leaf data outside of Buffer.arena
- Disable gutter diffs for very large files
- Disable syntax highlighting for very large files
2024-08-05 22:05:38 +02:00
bbafcf68a5
feat: add goto_next/prev_file_or_diagnostic bindings to home screen
2024-08-05 21:39:49 +02:00
948328bcd0
docs: update readme and help
2024-08-01 18:10:05 +02:00
42ee6459e6
feat: improve performance of incremental re-parsing
...
We use Buffer.Node.get_byte_pos instead of Buffer.Node.get_range to calculate
tree-sitter edits for incremental parsing. This reduces the number of
egc_length calls required per syntax.edit call to the minimum.
2024-07-29 21:46:34 +02:00
4fd1f4935c
feat: start work on makeing filelist_view scrollable
2024-07-28 23:02:15 +02:00
9a6c5baf8b
feat: add keybindings for next/previous file in filelist_view (A-n/p)
2024-07-28 22:41:07 +02:00
5f22ce81bc
feat: improve find in files performance
2024-07-28 00:13:18 +02:00
f535fc02bf
feat: more work on new find in files results table
2024-07-27 23:57:56 +02:00
a5f27f51a1
feat(open_recent): color open recent pointer
2024-07-27 23:12:40 +02:00
24d07ec8a4
feat(palette): color command palatte pointer
2024-07-27 23:12:12 +02:00
262aeb1608
fix(mainview): prevent recursive event handler call error
2024-07-27 21:12:26 +02:00
c1d3394246
fix(palette): wrong use of command.ID in set_used_time
2024-07-27 13:41:59 +02:00
d22dcff571
feat: start work on file list view
2024-07-27 13:28:45 +02:00
054400ce3b
refactor: remove unused member in mainview
2024-07-27 12:48:02 +02:00
fb1d91585f
feat: add Buffer get_from_pos function
2024-07-23 22:21:12 +02:00
2db66a1369
feat: improve rendering of long file names in open recent file list
2024-07-22 23:44:22 +02:00
67407aeb41
fix: set undercurl color after the rest of the diagnostic style
2024-07-09 23:43:55 +02:00
0caeb2c523
feat: set undercurl color for diagnostics
2024-07-09 21:16:16 +02:00
f60ccd7c37
fix(home): resize home screen menu before rendering
2024-07-08 21:55:11 +02:00
f06a7b3d6a
refactor(Buffer): rename Metrix to Metrics
...
Metrix was a bit too silly
2024-07-05 20:58:24 +02:00
12842b6b3b
refactor(find): switch back to synchronous find to eliminate flicker
2024-07-05 19:56:01 +02:00
66df590541
refactor(find): use dynamic input buffer in find mode and improve some edge cases
2024-07-05 19:56:01 +02:00
128182a448
refactor(Buffer): remove Plane dependency in Buffer
2024-07-05 00:33:31 +02:00
581dbfb749
fix(Buffer): prevent integer bit truncation crash in files with extremely long lines
2024-07-02 12:43:52 +02:00