Commit graph

437 commits

Author SHA1 Message Date
27c01b940a
feat: render ast nodes in inspector view even when there are no highlights 2025-09-29 21:03:42 +02:00
757096bfb3
fix: use std.heap.stackFallback more carefully 2025-09-26 15:35:14 +02:00
dfdb82ca20
refactor: move write_range to Buffer 2025-09-26 15:04:17 +02:00
720bb9515f
Merge branch 'master' into zig-0.15 2025-09-25 22:04:17 +02:00
bf0d4402ea
refactor: lots more writergate fixes - first successful build 2025-09-25 22:01:29 +02:00
203f05fef7
feat: make select_next_sibling select the node at the cursor if there is no selection 2025-09-25 10:56:16 +02:00
bfa3ea007c
feat: make shrink_selection select the node at the cursor if there is no selection 2025-09-25 10:55:33 +02:00
1ef77601e3
feat: allow next/previous sibling functions to work with no selection 2025-09-22 13:06:53 +02:00
8100e7d52b
refactor: improve const correctness in AST navigation functions 2025-09-22 12:58:10 +02:00
30af629a1a
refactor: expose CurSel.to_selection method 2025-09-22 12:55:31 +02:00
60016a3d03
feat: improve expand_selection by selecting top selection matching node 2025-09-22 12:26:43 +02:00
18cd62ba7e
feat: add editor goto_byte_offset command 2025-09-17 22:17:48 +02:00
5caab36297
feat: add basic POC support for kitty multi cursor protocol 2025-08-25 21:02:53 +02:00
5286975257
fix: move internal clipboard from buffer local to session wide
closes #287
2025-08-22 22:18:57 +02:00
9bc25620cb
fix: over eager whitespace collapsing in smart_insert_line 2025-08-18 21:07:49 +02:00
7207b0435e
feat: add support for specifying positions in bytes in goto_line_and_column 2025-08-17 22:31:15 +02:00
057a9d60cd
feat: add completion palette 2025-08-15 23:30:54 +02:00
80002e4d6b
feat: add set_buffer_tab_width and set_session_tab_width commands
Also, fold the tab_width and set_tab_width commands into one. The default
command (set_tab_width) now stores the tab_width in the persistent config.
2025-08-12 12:54:34 +02:00
4037d67fe9
feat: add support for session local tab_width setting 2025-08-12 12:53:45 +02:00
3e0e75c9c8
feat: add interactive and non-interactive commands to set the current buffer's tab_width 2025-08-11 14:29:23 +02:00
e886b7064a
fix: check that the second click in a double click is in the same cell 2025-08-10 21:53:36 +02:00
aee7c30c65
feat: display indent mode in status bar 2025-08-08 21:30:42 +02:00
68a5de5aa7
refactor: move lsp_version field to Buffer 2025-08-08 21:02:16 +02:00
991c47f3b3
feat: restore buffer manager state on restart 2025-08-07 18:02:55 +02:00
886a2582a3
fix: re-write save_as to work properly with multiple buffers 2025-08-05 15:07:08 +02:00
dc69e8a456
feat: make hover_time configurable 2025-08-04 10:55:33 +02:00
032eb30c45
fix: bump hover time to 500ms 2025-08-04 10:53:46 +02:00
d2c9c558f0
fix: don't call hover_at_abs unless we have a mouse event 2025-08-04 10:40:00 +02:00
8f089672da
feat: collapse whitespace to the right of the cursor in smart_insert_line 2025-08-01 23:29:30 +02:00
7f26b13196
feat: collapse trailing whitespace when leaving a line with smart_insert_line* 2025-08-01 16:30:02 +02:00
9793bcdd9a
feat: persist syntax_no_render in editor state 2025-07-31 10:11:53 +02:00
666d30df3b
fix: make unindent_cursor work correctly in indent_mode tabs 2025-07-30 20:04:26 +02:00
ed1fe30e74
feat: make indent_size always equal to tab_width in indent_mode tabs 2025-07-30 20:03:12 +02:00
4100585b03
feat: make smart_insert_line and friends follow indent_mode 2025-07-30 19:37:28 +02:00
3abfd6555e
feat: make indent_cursor follow indent_mode and insert tabs 2025-07-30 19:17:52 +02:00
a74c0ecf46
feat: add indent_mode detection (auto mode) 2025-07-30 19:16:27 +02:00
9774b513d4
fix: update buffer file type in set_type
This fixes the buffer file type getting lost when switching buffers
if the file type was set with set_type.
2025-07-30 18:50:42 +02:00
196f516724
feat: save and restore indent_mode to editor state 2025-07-30 18:28:04 +02:00
efdad96054
refactor: improve create pattern to avoid leaks 2025-07-19 00:03:30 +02:00
ada40b989c
feat: add limit_auto_save_file_types config option
closes #77
2025-07-16 19:41:35 +02:00
99664742c3
feat: save file if changed if auto save is enabled 2025-07-16 17:22:06 +02:00
35e36089a8
feat: save and restore enable_auto_save in editor state 2025-07-16 16:40:28 +02:00
c5fe992f75
feat: add toggle_auto_save command 2025-07-16 16:40:07 +02:00
c300c4f7f2
feat: add enable_auto_save configuration option 2025-07-16 16:35:03 +02:00
7bdbe60776
fix: restoring of last_find_query from editor state 2025-07-16 16:33:45 +02:00
f8d3bbf643
feat: save and restore enable_format_on_save in editor state 2025-07-16 16:32:37 +02:00
550834a626
feat: add toggle_format_on_save command 2025-07-16 15:38:31 +02:00
abd1e683a3
refactor: move default file type constants to file_types_config module 2025-07-14 18:02:24 +02:00
bffc56b618
feat: port editor to use configurable file types 2025-07-14 18:02:23 +02:00
43d6bc66f4
feat: smart delete leading whitespace to indent_size
Also and some commentary to the smart_delete_backwards code.

closes #245
2025-07-03 10:26:11 +02:00