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
476baf768e
fix: correct a couple of integer overflow errors
2024-08-07 20:32:25 +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
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
f535fc02bf
feat: more work on new find in files results table
2024-07-27 23:57:56 +02:00
fb1d91585f
feat: add Buffer get_from_pos function
2024-07-23 22:21:12 +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
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
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
032982c1e8
refactor: rework error handling to simplifiy command implementation and provide better back traces
2024-06-26 23:29:39 +02:00
830000579b
feat(lsp): add initial support for LSP completion requests
2024-06-25 21:12:29 +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
e7c8fea3f0
feat: add scrollbar to command palette
2024-06-21 01:20:17 +02:00
86b91dc0de
fix(editor): stop render clock running endlessly on restore
2024-06-18 20:04:19 +02:00
34bbfd49ad
fix(editor): store current cursor position correctly on initial undo
2024-06-13 20:21:09 +02:00
4812dd9793
fix(editor): don't leak PosToWidthCache on editor render
2024-06-13 17:36:42 +02:00
60218a06b7
feat: use language specific formatters defined in flow-syntax/file_types
2024-06-06 21:12:26 +02:00
49ad54d60c
feat: implement remaining terminal handling functions via libvaxis
2024-05-22 10:40:08 +02:00
453fb12055
fix: add missing need_render() calls for commands that are not directly input triggered
2024-05-20 19:18:03 +02:00
94e045ffe7
feat: add to_upper and to_lower commands on Alt-u and Alt-l
2024-05-12 00:10:11 +02:00
1cd3cb17ce
feat: add libvaxis renderer
2024-05-10 12:44:14 +02:00
b15fa47f30
refactor: add renderer abstraction layer
2024-05-09 11:48:33 +02:00
9ff63fbed5
fix: avoid desync of tree-sitter syntax
2024-05-09 00:35:31 +02:00
e69bd6166a
feat: render language server diagnostics and add next/previous diagnostic commands
...
Bound to Alt-n and Alt-p
2024-04-20 00:04:46 +02:00
e41c2d34f7
feat: render diagnostics (part 1)
2024-04-17 23:26:19 +02:00
dfdbb47367
feat: add close_file_without_saving command and keybinding (C-S-w)
2024-04-17 18:08:11 +02:00
b6127b06d4
feat: render control codes in whitespace styling if show_whitespace is on
2024-04-17 17:52:03 +02:00
cc607089df
feat: process textDocument/publishDiagnostics notifications from language server
2024-04-16 23:22:47 +02:00
5375e1449e
feat: send didChange, didSave and didClose events to language server
2024-04-13 02:50:02 +02:00
053bf19110
feat: add move_left_vim and move_right_vim commands
...
closes #3
2024-04-09 23:01:16 +02:00
48fc8a968c
fix: store jump location source before navigating to another file
2024-04-09 22:32:46 +02:00
3e97f6627c
feat: don't center screen when navigation destination is on-screen
2024-04-09 21:45:54 +02:00
4b2c033c5d
feat: add mouse bindings for jump_back/forward and goto_definition
2024-04-09 18:25:41 +02:00
2fafceab83
fix: crash while rendering chunks longer than 4096 bytes (long lines)
...
Proof that I was a Zig noob not too long ago. The defer of course runs
immediately.
2024-04-09 18:12:22 +02:00
fc15c8bda6
feat: first (mostly) working version of goto_definition command
...
Tested only with zls and clangd so far.
2024-04-05 22:55:23 +02:00
98104658b4
feat: lots more work on LSP support (WIP)
...
First valid response from clangd.
2024-04-04 21:54:14 +02:00
1406052c06
feat: lots more work on LSP support (still WIP)
2024-04-02 23:07:27 +02:00
e2c565dfee
fix: crash on shutdown from dangling logger references
2024-04-01 22:02:08 +02:00
2e8fd58ba5
feat: WIP start work on goto_definition LSP command
2024-03-31 22:41:20 +02:00
4585c5af62
feat: add command to add cursors to all line ends
2024-03-31 21:00:19 +02:00
8f8d4b6145
feat: add command to add cursors to all matches
...
Also, move inspector view to Ctrl-Shift-i
2024-03-31 19:13:43 +02:00
4b86579745
refactor: replace unsafe unreachable usage with @panic
2024-03-24 20:12:59 +01:00