Commit graph

125 commits

Author SHA1 Message Date
233e881f95 feat: add support for pasting from the native windows clipboard
This give us OSC52 equivalent support on windows.

closes #95
2024-12-24 14:44:12 +01:00
69c2d06007
fix: hover should convert column to byte position in LSP response
closes: #85
2024-12-20 20:16:50 +01:00
69dda065c8
fix: don't leak loggers in mainview 2024-12-12 17:25:47 +01:00
a5849a7dab
refactor: eliminate generic InvalidArgument errors
InvalidArgument is too generic and makes tracking the source of the
error potentially difficult.
2024-12-12 17:02:11 +01:00
8dea591341
feat: add simple add_split command (wip) 2024-12-11 21:24:00 +01:00
d6ea615283
refactor: store mainview views in a WidgetList 2024-12-11 21:19:22 +01:00
038ed4da2b
refactor: simplify getting the active editor and selection 2024-12-11 20:54:53 +01:00
4b3904d5f2
feat: add find_in_files_query command 2024-12-11 20:50:05 +01:00
fac6e37d00
feat: reload home screen on keybind namespace changes 2024-12-05 20:13:41 +01:00
150374afae
feat: add argument metadata to (most) commands that take parameters 2024-11-21 17:34:11 +01:00
ed843a9baf
fix: move system_paste command to mainview so it can be used when on editor is open 2024-11-17 22:01:10 +01:00
18f321bf41
refactor: move input types to new module and use directly use libvaxis types 2024-11-15 21:16:31 +01:00
d0de867d91
fix: set project correctly on restart 2024-10-28 19:58:47 +01:00
16c5471126
refactor: move command and EventHandler out of the tui module 2024-10-25 22:39:04 +02:00
3b4c81c706
feat: add open_previous_file command
closes #56
2024-10-24 18:27:30 +02:00
d33d5dcac2
refactor: clean-up mainview.show_file_async_and_free usage 2024-10-24 18:25:46 +02:00
dc1d0146be
fix: don't show info view panel on empty hover response 2024-10-22 19:06:34 +02:00
55fb6d29a0
feat: allow closing the panel view by dragging down 2024-10-09 21:24:58 +02:00
d75dcd7b84
feat: add metadata to all commands 2024-09-17 23:00:53 +02:00
07e3df4cd9
fix: add missing need_render() call in add_info_content() 2024-09-11 17:14:02 +02:00
bf3fe5f2ba
refactor: run zigimports
closes: #38
2024-09-10 22:25:54 +02:00
97501c4ec7
feat: hightlight returned range in LSP hover responses 2024-09-10 21:47:13 +02:00
539b1fd37d
feat: add editor hover command 2024-09-10 20:23:34 +02:00
990c12797c
feat: add a very simple info view 2024-09-10 20:21:41 +02:00
7b812d73ea
refactor: change a -> allocator 2024-09-02 14:31:49 +02:00
c01576412a
refactor: prefer orelse to if(pred) |x| x else y 2024-08-29 13:13:45 +02:00
4df737e78f
feat: make status bars configurable 2024-08-25 21:18:35 +02:00
b656ebc49e
fix: clear file list view before showing new diagnostics 2024-08-20 16:09:02 +02:00
bd27db46d1 feat: open most recent file on project switch 2024-08-19 22:44:57 +02:00
53310cc2dd feat: update terminal working directory on project change 2024-08-19 21:53:30 +02:00
321128a22a fix: clear diagnostics when switching projects 2024-08-19 21:12:30 +02:00
231e4ccb88 feat: add open_recent_project and change_project commands 2024-08-19 20:35:05 +02:00
2d9e66b534 fix: disambiguate find and find_query commands 2024-08-18 22:03:17 +02:00
ea31e414ee refactor: clean-up command naming 2024-08-18 17:59:28 +02:00
f9c029f617 feat: add show_diagnostics command and bind it to C-S-m and diagstate.on_click 2024-08-18 17:29:59 +02:00
a71a8cfc6e fix: use +1 row offsets when adding diagnostics to file list 2024-08-18 16:39:20 +02:00
4127cf8bcf feat: show diagnostics in the file list view if they refer to another file 2024-08-18 16:21:38 +02:00
28640633be refactor: move add_diagnostics command from editor to mainview 2024-08-18 13:59:53 +02:00
5727f6a4da feat: toggle logview off before filelist_view 2024-08-18 13:58:09 +02:00
36a24d84e3 fix: logging of file matches 2024-08-17 23:49:35 +02:00
a65794f673 feat: add log messages to find in files command 2024-08-17 23:29:27 +02:00
2a735cee5c fix: sprinkle @intCast to fix 32 bit arm builds 2024-08-16 22:02:53 +02:00
50d47a73f2 feat: add mouse resizing of panel views 2024-08-13 19:38:35 +02:00
476baf768e fix: correct a couple of integer overflow errors 2024-08-07 20:32:25 +02:00
9a6c5baf8b feat: add keybindings for next/previous file in filelist_view (A-n/p) 2024-07-28 22:41:07 +02:00
5f22ce81bc feat: improve find in files performance 2024-07-28 00:13:18 +02:00
f535fc02bf feat: more work on new find in files results table 2024-07-27 23:57:56 +02:00
262aeb1608 fix(mainview): prevent recursive event handler call error 2024-07-27 21:12:26 +02:00
d22dcff571 feat: start work on file list view 2024-07-27 13:28:45 +02:00
054400ce3b refactor: remove unused member in mainview 2024-07-27 12:48:02 +02:00