Commit graph

64 commits

Author SHA1 Message Date
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
032982c1e8 refactor: rework error handling to simplifiy command implementation and provide better back traces 2024-06-26 23:29:39 +02:00
692e04b6a8 refactor: re-work how projects are opened
Prep for opening directories on the command line.
2024-06-23 21:37:37 +02:00
3ea039f41c fix(tui): reset drag context when invalidating the widget tree
This prevents a segfault if dragging and navigating at the same time.
2024-06-20 22:21:49 +02:00
acd65d0157 fix: menu and open_recent resize handling 2024-06-14 20:41:01 +02:00
ee6582b469 fix: resize handling corrections 2024-06-08 20:10:17 +02:00
b15fa47f30 refactor: add renderer abstraction layer 2024-05-09 11:48:33 +02:00
b541fd42de fix: don't prevent same file navigation if buffer is dirty 2024-04-19 22:11:04 +02:00
e41c2d34f7 feat: render diagnostics (part 1) 2024-04-17 23:26:19 +02:00
939a70b249 feat: add file_stack and return to previous file on file close 2024-04-17 19:02:32 +02:00
49d6ee94fc refactor: simplify and clean-up navgate command
This should also prevent get_mru_position and location_jump from stomping
on each other.
2024-04-15 19:50:11 +02:00
9aea1f54f5 feat: allow runtime changing of the gutter mode 2024-04-10 22:12:19 +02:00