Commit graph

1689 commits

Author SHA1 Message Date
5cfe2f6be4
feat: add some braile spinners to unicode.zig
Might be useful somewhere...
2025-10-07 20:56:55 +02:00
e5c89ea754
docs: add some more problematic glyphs to font test text 2025-10-07 20:55:19 +02:00
78cc4b2d24
fix(wsl): save without copying file mode if statFile fails 2025-10-07 10:25:55 +02:00
cd54b5a954
fix(wsl): assume kind file if statFile fails 2025-10-07 10:25:24 +02:00
f71e4c7b04
fix(wsl): use zero mtime if statFile fails 2025-10-07 10:18:22 +02:00
22e36481d6
fix: don't leak buffer names when deleting buffers
This commit also refactors the Buffer.Manager to make similar issues
easier to avoid in future.
2025-10-06 22:28:52 +02:00
Igor Támara
f201728457 hx: Fix closing other buffers and improve user messages 2025-10-06 21:16:33 +02:00
Igor Támara
d3e601e774 Show feedback to user when trying to quit with dirty buffers 2025-10-06 21:16:33 +02:00
Igor Támara
552417091d feat: add helix mode close other buffers and reload all
* x and x! have expected behaviour in Helix mode
2025-10-06 21:16:33 +02:00
2bd5d913a8
fix: move flow mode select mode keybind to ctrl+shift+a
shift+space is too easy to trigger accidentally.
2025-10-05 16:49:51 +02:00
9ea32d46e2
feat: preparations for additionalTextEdits support in completions 2025-10-02 22:51:01 +02:00
8476f613c2
fix: check selection before insert 2025-10-02 22:49:02 +02:00
7963e20058
feat: add tab keybinding to active completion item 2025-10-02 20:24:26 +02:00
6301c078c8
fix: move file type guessing out of project_manager thread
Performing hundreds of thousands of file type guessing operations can
block the project manager for seconds leading to slow exits. With this
change we move the file type guessing into the tree walker thread leaving
the project manager to respond to other requests including shutdown messages.
2025-10-02 17:43:12 +02:00
e7dcb2947b
refactor: add handler callbacks to walk_tree 2025-10-02 17:42:24 +02:00
fa397b1642
fix: add ctrl+space keybind for completion and move SELECT mode to shift+space 2025-10-02 16:37:38 +02:00
5362706b26
fix: translate columns to byte offsets when requesting completions 2025-10-02 16:28:23 +02:00
6ec8aae94a
fix: translate byte offsets to columns when applying completions 2025-10-02 16:27:47 +02:00
6ae176a8ac
refactor: add selection_pos_to_width and get_replace_selection functions 2025-10-02 16:27:16 +02:00
390fbd51ff
refactor: simplify code by using Selection.from_pos 2025-10-02 16:25:48 +02:00
10bd270d89
feat: add Match.from_pos function 2025-10-02 16:23:21 +02:00
65eb6bc7ad
feat: add Selection.from_pos function 2025-10-02 16:22:55 +02:00
81a1c88847
fix: force refresh on add_completion_done events for slow language servers 2025-10-02 15:00:33 +02:00
778907c513
fix: ignore empty replacement selections for completion 2025-10-02 15:00:00 +02:00
ebb7fb399e
fix: support TextEdit responses to completion requests
In addition to InsertReplaceEdit responses.

This improves completion with OmniSharp and possibly others.
2025-10-02 14:58:32 +02:00
b1e5b2f80f
fix: never set completion selection to an empty range 2025-10-01 22:02:21 +02:00
b02f096fef
feat: set the initial completion query based on the cursor position 2025-10-01 21:55:12 +02:00
74b011cf7e
feat: add support for setting the initial query value in palettes 2025-10-01 21:54:46 +02:00
42b7ae46a0
fix: open competion palette after all completions are received 2025-10-01 21:29:05 +02:00
03c82999b8
feat: select replacement range during completion 2025-10-01 21:28:32 +02:00
3901d0cce5
feat: add support for state values in palettes 2025-10-01 20:50:32 +02:00
2783120aef
fix: update terminal style when switching color scheme 2025-10-01 20:20:34 +02:00
80fc3b7bc5
refactor: explicitly pass theme to tui.set_terminal_style 2025-10-01 20:20:08 +02:00
f29eac4f6f
fix: update win32 gui build for zig-0.15 2025-10-01 17:00:10 +02:00
6da6af22c8
fix: update win32 tui build for zig-0.15 2025-10-01 16:59:55 +02:00
30ad3aea60
feat: minor tweaks to version info 2025-09-30 15:50:17 +02:00
1d509282f7
feat: add cli options to select color scheme 2025-09-30 15:29:19 +02:00
8e4c428421
feat: make manually set color scheme override terminal selected color scheme 2025-09-30 15:28:54 +02:00
2fe12a050e
feat: report color scheme changes from terminal and add command set_color_scheme 2025-09-30 15:13:18 +02:00
cb389888e5
feat: add command toggle_color_scheme and flow mode keybind (alt+f11) 2025-09-30 14:23:30 +02:00
92ca066dd1
refactor: drop useless comment 2025-09-29 22:46:09 +02:00
8aee0f3a4f
refactor: use Selection.is_reversed 2025-09-29 22:30:36 +02:00
32c70f0e47
fix: minor leak in editor format command 2025-09-29 22:30:18 +02:00
2f89dcba8d
fix: improve Buffer writer impl 2025-09-29 22:29:45 +02:00
d6843c4fb9
Merge branch 'master' into zig-0.15 2025-09-29 21:04:55 +02:00
0cbf966b1e
feat: highlight markdown titles 2025-09-29 21:03:50 +02:00
27c01b940a
feat: render ast nodes in inspector view even when there are no highlights 2025-09-29 21:03:42 +02:00
2992b0f520
Merge branch 'master' into zig-0.15 2025-09-29 18:19:38 +02:00
Igor Támara
d695d69383 feat: closing and saving including multiple in helix mode
Review of devlogs to use internal functions to also:

* select next and prev word
* select to start en of doc
* delete to end of line
* Add Cursor to next line
* Show diagnostics
* Show references
2025-09-28 00:06:48 +02:00
b8d2679cbc
Merge branch 'master' into zig-0.15 2025-09-27 23:29:42 +02:00