Commit graph

1151 commits

Author SHA1 Message Date
5e6fc6a932
feat(buffers): use buffer_manager to select most recent files
And remove obsolete file_stack.
2025-01-24 23:22:31 +01:00
195bad87ab
feat(buffers): allow deleting more than one buffer while the palette is open 2025-01-24 11:04:20 +01:00
d7b48b40f1
feat(tabs): start work on a tabbar widget 2025-01-23 22:32:08 +01:00
1d947ab499
refactor: improve capsulation and safety of tui module public api 2025-01-23 16:45:04 +01:00
4145460012
refactor: simplify Plane/Widget usage 2025-01-23 16:12:56 +01:00
62cd53c0f3
docs(readme): add a note about binary download locations 2025-01-22 22:36:50 +01:00
8a89c888eb
fix: keybind testcases 2025-01-22 22:31:55 +01:00
bb887b5789
fix(buffers): remove conflicting palette keybinding 2025-01-22 22:24:33 +01:00
0a632416a4
feat(buffers): add delete_buffer command and keybinding for buffer_palette 2025-01-22 22:23:56 +01:00
a4ac3a42fd
feat(keybind): special case disable_selection in delete_selection 2025-01-22 15:29:01 +01:00
0368bb15a6
feat(keybind): simplify and clean-up a little 2025-01-22 15:28:03 +01:00
Meredith Oleander
a0f8d33781 tui/editor.zig: add disable_selection, and make check_selection play nice with inclusive selections 2025-01-22 18:47:55 +11:00
Meredith Oleander
80c8795c3b
Merge branch 'master' into helix-mode-selections 2025-01-22 13:47:37 +11:00
84655c4ff8
feat(buffers): add dirty state indicator to buffer switcher 2025-01-21 22:53:09 +01:00
3f06f6b19c
feat(buffers): add buffer switcher 2025-01-21 22:32:43 +01:00
efb3ab42fd
feat(buffers): add tracking of last modified and last used times for buffers 2025-01-21 21:59:55 +01:00
4dddadb46d
feat(buffers): add home screen save all command 2025-01-21 21:44:05 +01:00
661808f316
feat(buffers): render buffer dirty state in open recent files palette 2025-01-21 21:43:35 +01:00
aa1e0674cc
feat(buffers): move buffer lifetime management to new Buffer.Manager module 2025-01-21 21:42:36 +01:00
fbeaefe7ff
feat(buffers): add reset_to_last_saved buffer function 2025-01-21 21:40:51 +01:00
e404c830c9
feat(buffers): define explicit errors for Buffer store functions 2025-01-21 21:40:27 +01:00
ba5f15dab8
feat(buffers): define explicit errors for Buffer load functions 2025-01-21 20:23:47 +01:00
672f85a58c
build: make contrib/make_release callable from a different destdir 2025-01-21 12:51:45 +01:00
Jonathan Marler
99aefc8d22 remove direct2d dependency and update zigwin32
Since we removed the direct2d renderer we no longer need to reference
the direct2d-zig repository.  Instead we now directly reference the
zigwin32 repository.  I've also updated that repository with a few fixes
and additions which allowed us to remove some code from flow.
2025-01-21 08:40:44 +01:00
142f6e51ae
feat(tui): show screen dimentions on resize 2025-01-20 20:30:24 +01:00
4842002136
fix(win32 gui): translate mouse wheel events from screen to window coordinates 2025-01-20 19:55:18 +01:00
91eba39019
fix(win32 gui): prevent index out of bounds in d3d11.paint 2025-01-20 19:46:22 +01:00
102a00098e
build: update thespian for minor performance improvements 2025-01-20 19:45:44 +01:00
feca5e8fd9
build: always optimize dependencies (again) 2025-01-20 16:40:46 +01:00
29f8b4680d
fix: disable mouse_idle_timer
It's not very important and it's too spammy which makes debug builds slow.
2025-01-20 15:49:16 +01:00
51e8e9c1ab
build: update zig-tracy to support win32 2025-01-20 15:33:52 +01:00
5b5fd26bdf
feat(win32 gui): add tracy zones to win32 gui renderer 2025-01-20 15:07:42 +01:00
Jonathan Marler
620e44ef02 win32 gui: fix high cpu usage, validate window in WM_PAINT
Looks like I probably accidently removed the calls to BeginPaint and
EndPaint in WM_PAINT, which, would cause the OS to think that the
window contents are never validated and will continuously send us WM_PAINT
messages.  I've added these back in and now flow is back to low CPU usage
especially when idle.
2025-01-20 14:56:32 +01:00
4f5fa4a3ba
feat(keybind): move selection mode into keybind mode configuration 2025-01-19 19:21:44 +01:00
Meredith Oleander
70f0d8bea6
add helix selection internal tweaks 2025-01-19 17:37:36 +01:00
Meredith Oleander
3e65503902
develop helix cursor mode 2025-01-19 17:37:33 +01:00
386094001d
fix(vim-mode): prefer smart_move_begin of vim normal mode 'I' binding 2025-01-19 14:17:29 +01:00
e705d4ba01
fix(vim-mode): vim-mode bindings to enter insert mode 2025-01-19 14:15:44 +01:00
7dd61c4ba5
fix(keybind): provide fallback handling for legacy terminals the don not provide shifted key info 2025-01-19 14:05:36 +01:00
70c4c78138
feat(vim-mode): simplify vim mode bindings 2025-01-19 14:04:33 +01:00
42bc301426
fix(win32 gui): fix windows build broken by rename_symbol 2025-01-19 14:03:38 +01:00
9fc8e3edc3
fix(editor): send editor view and cursor position updates when number of document lines changes
closes #162
2025-01-19 12:10:59 +01:00
9f29853cd6
Merge pull request #149 from travisstaloch/lsp-rename
implement lsp rename
2025-01-18 23:33:25 +01:00
461726e10e
feat: add pause_undo and resume_undo commands
closes #91
2025-01-18 22:59:50 +01:00
4277f0f57b
feat(lsp): rename_symbol: add support for LSPs that do send document updates for renames 2025-01-18 20:34:14 +01:00
80cb31f75a
feat: copy current line if there is no selection
closes #160
2025-01-18 17:16:00 +01:00
edwloef
9ed9ec6360 add systemverilog lsp and formatter 2025-01-18 17:07:04 +01:00
f61c6c7f87
fix: cancel when clicking outside of a palette instead of activating the current item 2025-01-18 12:52:55 +01:00
0eec33c35e
fix: remove incomplete add_split bindings 2025-01-17 21:14:25 +01:00
48efa5536f
fix: use after free on fast project switching 2025-01-17 21:13:47 +01:00