8004b41eb4
fix: don't force a full syntax reparse on undo/redo
2024-10-12 00:54:04 +02:00
efc5546488
feat: only use partial tree-sitter reparsing if parsing take more than 5ms
2024-10-12 00:52:04 +02:00
e9a7d681f2
fix: add missing pos_to_width calls in add_diagnostic
...
This will fix the positioning of diagnostics in lines that have glyphs
with widths != 1 like tabs or emojis.
2024-10-11 21:07:55 +02:00
39d4197a42
fix: workaround indent size limitation in indent_cursor
2024-10-10 23:44:13 +02:00
d2238bf847
feat: make indent size and tab width configurable and add indent guide mode
2024-10-10 23:16:49 +02:00
9080fd4826
fix: correctly propagate eol mode to status bar widgets
2024-09-25 20:52:35 +02:00
593b202b16
feat: add support for CRLF EOL mode
2024-09-25 20:06:06 +02:00
d75dcd7b84
feat: add metadata to all commands
2024-09-17 23:00:53 +02:00
bf3fe5f2ba
refactor: run zigimports
...
closes : #38
2024-09-10 22:25:54 +02:00
1391372174
feat: add mouse hover support to editor in jump mode
2024-09-10 21:24:54 +02:00
539b1fd37d
feat: add editor hover command
2024-09-10 20:23:34 +02:00
86fdfe98e2
fix: render syntax for overlapping tree-sitter captures
2024-09-03 14:41:26 +02:00
7b812d73ea
refactor: change a -> allocator
2024-09-02 14:31:49 +02:00
34540bbff0
feat: add editor.save_file_as command
2024-08-30 20:25:26 +02:00
c01576412a
refactor: prefer orelse to if(pred) |x| x else y
2024-08-29 13:13:45 +02:00
xdBronch
1caf2aa0f6
dont error on empty saves
2024-08-29 01:07:59 +02:00
e6c6dd994d
fix: save anyway if format on save fails
2024-08-27 22:52:22 +02:00
d11ea9dde4
feat: add enable_format_on_save configuration option
2024-08-27 21:39:23 +02:00
70ec2a11c5
fix: only fallback to get_next_file in get_next_diagnostic if it is available
2024-08-27 19:18:30 +02:00
Tim Culverhouse
d4b7a6ab9b
vim: change cursor shape when only one cursor
...
In vim mode, change the cursor shape depending on the mode. This is only
applicable if `enable_terminal_cursor` is set to true and there is only
one cursor in the editor.
2024-08-26 20:49:54 +02:00
xdBronch
9e59e808ba
add more goto commands
2024-08-25 15:03:23 +02:00
f213aa5abe
fix: don't send lsp change events when opening or closing a file
2024-08-19 20:35:37 +02:00
2d9e66b534
fix: disambiguate find and find_query commands
2024-08-18 22:03:17 +02:00
ea31e414ee
refactor: clean-up command naming
2024-08-18 17:59:28 +02:00
4127cf8bcf
feat: show diagnostics in the file list view if they refer to another file
2024-08-18 16:21:38 +02:00
28640633be
refactor: move add_diagnostics command from editor to mainview
2024-08-18 13:59:53 +02:00
1f6bc86265
feat: add cli option to disable syntax highlighting
2024-08-16 22:00:25 +02:00
78489e31f6
feat: add find all references LSP command
2024-08-16 00:02:42 +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
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