Commit graph

662 commits

Author SHA1 Message Date
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
5164164fd7 feat(editor): add '&' to non-word character list 2024-07-02 12:29:43 +02:00
16ec05c75b feat: add force_terminate command 2024-07-02 12:21:40 +02:00
65f22d8177 fix(log): do not log error.Stop messages
This was a regression caused by the new error trace support. Stop errors
indicate an attempt to navigate outside the bounds of the current document
and are not iteresting to log.
2024-07-02 10:13:18 +02:00
9e323fe85e fix(editor): correct signature of drag_to command 2024-07-02 09:55:33 +02:00
23f2e1a1c0 fix: pop_cursor should reset match.has_selection 2024-06-30 23:17:38 +02:00
3e34271059 fix: unbind restart command
It's too dangerous to have on a key bind by default and can be called
via the palette now anyway.
2024-06-30 22:47:07 +02:00
b3388eed77 fix(Menu): unselect if there are no menu items 2024-06-27 21:19:07 +02:00
bd87f29cf2 fix(inspector): render inspector content on every frame 2024-06-27 21:09:12 +02:00
032982c1e8 refactor: rework error handling to simplifiy command implementation and provide better back traces 2024-06-26 23:29:39 +02:00
21b604f4d6 fix(windows): reduce idle cpu usage to zero on windows
Now we use a keepalive timer instead of forcing no-sleep to keep the work
queue from running empty and causing flow to exit early.
2024-06-26 22:24:36 +02:00
830000579b feat(lsp): add initial support for LSP completion requests 2024-06-25 21:12:29 +02:00
fa59dc1ff8 fix(goto): avoid getting stuck in fast scroll when in goto mode 2024-06-25 21:10:19 +02:00
692e04b6a8 refactor: re-work how projects are opened
Prep for opening directories on the command line.
2024-06-23 21:37:37 +02:00
23fcf64b62 fix(logview): don't wrap messages in logview
opts_vscroll is apparently broken. Disable it for now as non-corrupted
log messages are more important.
2024-06-23 21:37:32 +02:00
77b949306e feat(palette): persist command last used times 2024-06-23 19:26:36 +02:00
btipling
42330ba82c std.rand renamed to std.Random
This now builds on version 0.14.0-dev.111+451550e86 on windows
2024-06-23 15:22:22 +02:00
c167257c89 feat(palette): sort command palette by last used time 2024-06-22 21:57:19 +02:00
btipling
7230e7de86 split is a deprecated compile error and unused
using std.mem.split is a compileError as off this change

76fb2b685b
2024-06-22 00:45:26 -07:00
Andriamanitra
e022b0b2f8 fix(palette): add bounds check to activate_selected 2024-06-22 08:30:35 +02:00
28e9d60c1a feat(vim): add some really basic vim commands to the command palette in vim mode 2024-06-21 12:53:39 +02:00
394874fb20 feat: add alternate keybinding for command palette
For terminals that block C-S-p.
2024-06-21 12:40:50 +02:00
7810d96d23 fix(home): remove duplicate open_help keybind hint 2024-06-21 01:49:06 +02:00
deaad1e90a fix(palette): update command palette on resize 2024-06-21 01:37:48 +02:00
e7c8fea3f0 feat: add scrollbar to command palette 2024-06-21 01:20:17 +02:00