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
c6d59c1472
fix: don't stop unindenting on blank or full unindented lines
...
closes #263
2025-07-03 09:39:03 +02:00
338d7f7bf3
feat: add follow_cursor_on_buffer_switch option (default false)
...
With this option disabled (the default) flow will not change the buffer
position at all when switching active buffers. Enable the option to
return to previous behaviour where the cursor is always scrolled into
view.
closes #271
2025-07-01 21:11:55 +02:00
717bef9c61
build: update to latest libvaxis and zg api
2025-06-04 22:22:52 +02:00
006e1ddb45
fix: remove multithreaded buffer access in project_manager
...
Until we have proper multithreaded buffer lifetime management we should avoid
accessing buffers that may have been deleted already.
2025-06-03 18:14:00 +02:00
947e55e0c6
fix: word/line wise dragging should keep the original word/line selected
...
Also, fix bad behaviour when double/triple clicking the last word or line in a
file.
closes #264
2025-06-02 14:44:25 +02:00
17be71042b
feat(completion): store received completions in a buffer
2025-05-27 21:56:30 +02:00
bb71a43233
refactor: default initialize editor list members with .empty
2025-05-27 21:55:23 +02:00
1258d76986
refactor: convert local ArrayList to ArrayListUnmanaged in editor
2025-05-27 21:43:57 +02:00
b1cb25d335
refactor: convert editor.find_history to an ArrayListUnmanaged
2025-05-27 20:51:54 +02:00
bbdb1c445f
refactor: convert editor.filter.whole_file to an ArrayListUnmanaged
2025-05-27 20:47:44 +02:00
9023109b21
refactor: convert Buffer.MetaWriter to an ArrayListUnmanaged
2025-05-27 20:47:13 +02:00
39a57e457d
refactor: convert CurSel.List to an ArrayListUnmanaged
2025-05-27 20:45:52 +02:00
12dd1e9c8a
refactor: convert editor.matches to an ArrayListUnmanaged
2025-05-27 20:25:18 +02:00
99c2e8da4e
refactor: convert editor.diagnostics to an ArrayListUnmanaged
2025-05-27 20:19:52 +02:00
8934bf5cd0
feat(completion): forward completion entries to current editor
2025-05-26 22:47:26 +02:00
6618a2d84d
fix: left an right movements jump to selection boundary
...
When there is an active selection, basic left and right movements should cancel
the selection and place the cursor on the left/right of where the selection was.
closes #244
2025-05-15 15:52:36 +02:00
Robert Burnett
fcbb377237
removed mark related code
2025-05-13 18:16:33 +02:00
Robert Burnett
acded15af8
added * command in vim mode
2025-05-13 18:16:33 +02:00
Robert Burnett
4765f47dd0
begin supporting global marks
2025-05-13 18:16:33 +02:00
Robert Burnett
d88b15ce04
began support vim mark system
2025-05-13 18:16:33 +02:00
Robert Burnett
28fdd95747
added cut_buffer_begin command and vim binding
2025-05-13 18:16:33 +02:00
Robert Burnett
54aa30602f
added dG vim binding
2025-05-13 18:16:33 +02:00
05a14ae95c
feat: do a full reparse if tree-sitter reports syntax errors
...
This change will scan for tree-sitter errors after a partial reparse and do a
full reparse if there are are more errors than the error threshold (currently 5).
This helps prevent the tree-sitter syntax tree getting out of sync during
multi-cursor edits.
2025-04-24 21:09:51 +02:00
07a2c19b9d
fix: side scrolling of highlight_columns
2025-04-18 21:41:01 +02:00
376ca8c9fc
feat: use solid alpha dimmed background color for highlight column
2025-04-18 20:51:04 +02:00
ebfb9f7184
feat: add copy_file_name command
2025-04-15 17:52:20 +02:00
ivel.santos
ccaeded0c8
Fix pasting line
2025-04-13 14:18:54 +02:00
ivel.santos
7778512c35
Correcting selection after paste
2025-04-10 06:42:58 +02:00
ivel.santos
e59cd32ed8
copy and paste improvs and inclusive selection correction
2025-04-10 06:42:58 +02:00
4aca7063f2
feat: add reload_file command
2025-04-09 19:14:02 +02:00
9892e693b0
fix: insert right char on move failure in smart_insert_pair_close
...
closes #228
2025-04-09 14:50:19 +02:00