Commit graph

216 commits

Author SHA1 Message Date
a639201807
fix: remove extra close_file call in mainview.extract_state 2025-11-26 19:21:23 +01:00
198ee29abe
refactor: remove verbose log messages in mainview 2025-11-26 19:20:46 +01:00
008950255b
fix: don't respond to editor events in mainview during project switch 2025-11-26 19:20:14 +01:00
4f68e692d1
refactor: add a lot of logging during change_project 2025-11-26 19:12:27 +01:00
741096cb43
fix: navigate to editor_file_path only if it's buffer was restored 2025-11-26 16:26:31 +01:00
c8840f0756
fix: make sure project state is freed with the correct allocator 2025-11-26 16:26:31 +01:00
20129ea773
feat: save and restore mainview state when switching projects 2025-11-26 16:26:31 +01:00
bbeba10fe5
refactor: split up mainview write_state and extract_state functions
For better reusuability. So we can store/restore state on project switch.
2025-11-26 16:26:31 +01:00
897d7e14da
refactor: add mainview.is_view_centered 2025-11-18 18:05:59 +01:00
ed7c0f0c46
feat: add centered_view_min_screen_width config option 2025-11-18 12:53:45 +01:00
54c68df967
fix: auto_find should always clear last_match_text 2025-11-17 19:52:26 +01:00
ce82e95c10
fix: don't quit when closing the final split unless it is the home screen 2025-11-17 18:22:52 +01:00
65fe2bc5c2
feat: add centered_view support 2025-11-17 18:20:23 +01:00
Igor Támara
6e9e00e142 feat: add symbol palette
The palette intentionally shows narrow to give more prevalence to file
contents and see the context.
2025-11-16 22:56:36 +01:00
Igor Támara
cfb208f3d8 feat: lsp symbols with parent in mainview 2025-11-16 22:56:36 +01:00
Igor Támara
cc4ef5da2c feat: store lsp symbols in mainview 2025-11-16 22:56:36 +01:00
407d5fa888
feat: quit when closing last open split 2025-11-10 19:04:37 +01:00
27bdd64f88
feat: add focus_split command 2025-11-10 19:01:12 +01:00
36c975dc20
fix: prevent different match types from cancelling each other out 2025-11-10 14:12:53 +01:00
491f40ed96
fix: don't auto find if there are already matches from some other operation 2025-11-10 14:12:53 +01:00
ca47d27b76
feat: add highlight_references command 2025-11-07 13:35:00 +01:00
e5d78c95a5
feat: split and navigate on shift+enter in find_file 2025-11-06 19:23:15 +01:00
ef991a8bee
refactor: add view focus support and close_split command to mainview 2025-11-06 19:23:14 +01:00
03f2821e5f
fix: post location updates to project_manager creating or navigating buffers
This fixes newly created files not showing in the find_files palette. It also
fixes MRU ordering not updating when switching tabs.

closes #331
2025-11-04 13:19:09 +01:00
n0n
1d28985568 feat: reopen closed tab 2025-11-04 12:40:33 +01:00
b116d10348
feat: allow open_previous_file to jump back to a closed tab 2025-11-04 12:27:34 +01:00
4d375d2d9b
feat: add support for groups in clipboard history
This introduces the concept of clipboard history groups. A group is created
for each high level clipboard operation. Cut, copy, etc. Single cursor
operations will create a group with just one entry. Multi-cursor operations
on the other hand will create groups with multiple clipboard history entries.
This makes for very powerful clipboard history integration with multi-cursor
support.

This commit also adds the ability to apply integer parmeters to the paste
command to select a clipboard group to paste.

Also, pasting from the system clipboard will detect if the system clipboard is
equivalent to the top most clipboard group, and if so use the group instead.
This allows much better multi-cursor support when using the system copy & paste
commands.
2025-10-31 22:53:50 +01:00
752a356d38
feat: place new tabs next to previously active tab 2025-10-24 12:25:23 +02:00
6678e0c1e3
feat: replace ephemeral buffers on save as even if they were dirty 2025-10-24 12:24:49 +02:00
2704c7be07
feat: add place_next_tab and swap_tabs commands 2025-10-24 12:21:48 +02:00
89e9fd7b83
feat: add move_tab_next/_previous commands 2025-10-24 12:19:03 +02:00
99c28b8102
refactor: move clipboard_history command to tui module 2025-10-13 20:00:09 +02:00
634a18cb56
feat: add clipboard history palette 2025-10-13 19:50:04 +02:00
a8fe2c30a9
feat: save/restore clipboard history to/from session metadata 2025-10-13 19:47:59 +02:00
cf806b23ab
feat: add save_buffer command 2025-10-09 21:09:31 +02:00
3c55ed876b
refactor: allow mocking of root module functions for easier unittesting 2025-10-08 14:18:03 +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
81a1c88847
fix: force refresh on add_completion_done events for slow language servers 2025-10-02 15:00:33 +02:00
42b7ae46a0
fix: open competion palette after all completions are received 2025-10-01 21:29:05 +02:00
30ad3aea60
feat: minor tweaks to version info 2025-09-30 15:50:17 +02:00
bf0d4402ea
refactor: lots more writergate fixes - first successful build 2025-09-25 22:01:29 +02:00
be758be087
feat: make delete_buffer command with no argument delete the current buffer 2025-09-23 15:51:27 +02:00
2461717f11
feat: add support for byte offsets in file links to navigate command 2025-09-17 22:47:50 +02:00
06a31ea5fd
fix: mark find in files results as byte positions 2025-08-17 22:33:24 +02:00
057a9d60cd
feat: add completion palette 2025-08-15 23:30:54 +02:00
5b852fdb3d
fix: prevent crash on invalid project directory 2025-08-13 12:09:06 +02:00
21fe6103bf
feat: add open_most_recent_file command 2025-08-12 13:04:35 +02:00
680c6f770e
refactor: use openFileAbsolute in mainview.read_restore_info 2025-08-09 18:06:12 +02:00