Commit graph

85 commits

Author SHA1 Message Date
ff0987c108
fix: unicode input in mini modes and palettes
closes: #81
2024-12-17 18:35:47 +01:00
f7ba83fd83
refactor: prefer Plane.fill for blanking with alpha 2024-12-12 19:25:44 +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
038ed4da2b
refactor: simplify getting the active editor and selection 2024-12-11 20:54:53 +01:00
d08737c0fe
refactor: run zig fmt 2024-12-11 12:56:32 +01:00
9fba9eba3c
feat: add palette for changing the current file type 2024-12-10 20:10:36 +01:00
b3bd6d19b5
refactor: move hints out of generic palette 2024-12-10 20:08:43 +01:00
cd2fec9be3
feat: pre-select current theme when opening theme panel 2024-12-05 22:12:13 +01:00
745c4db0fe
refactor: remove obsolete command overlay_release_control 2024-12-05 22:07:07 +01:00
3b8982ac26
feat: move all keybind mode related options to keybind config 2024-12-03 23:04:10 +01:00
94fb5119ef
feat: make mode/namespace loading more dynamic and add fallback handling 2024-12-01 00:10:59 +01:00
a9e5c5b262
fix: editor paste 2024-11-22 13:43:15 +01:00
279789d4fa
fix: paste in mini and overlay modes 2024-11-22 12:39:22 +01:00
73b7031693
feat: add insert_command_name command 2024-11-21 18:04:49 +01:00
6372beb762
refactor: rename command.get_id and add command.get_name 2024-11-21 17:55:03 +01:00
150374afae
feat: add argument metadata to (most) commands that take parameters 2024-11-21 17:34:11 +01:00
3af2b09891
feat: generate hints for dynamic keybindings 2024-11-19 18:08:14 +01:00
b7985baffb
fix: add missing palette_menu_activate_quick command in open_recent 2024-11-18 23:00:58 +01:00
932409d6b7
feat: add support for key release dynamic bindings 2024-11-18 21:33:12 +01:00
27a54a6091
fix: palette insert handlers 2024-11-17 23:54:31 +01:00
18f321bf41
refactor: move input types to new module and use directly use libvaxis types 2024-11-15 21:16:31 +01:00
ae3d21ad08
refactor: use the same create interface for all modes 2024-11-13 19:04:35 +01:00
4e1796df27
fix: alpha rendering of buttons and palettes 2024-11-04 23:04:05 +01:00
cfb9f8cf11
refactor: remove unused parameter in set_base_style 2024-11-04 22:20:06 +01:00
e2da264133
refactor: move open_recent overlay mode to use common palette keybindings 2024-10-28 18:30:39 +01:00
67813fbb07
refactor: move palette keybindings to keybind module 2024-10-27 19:40:37 +01:00
525287c7ac
refactor: move mode.event_handler back to input mode 2024-10-27 18:53:24 +01:00
f67bfab5b7
refactor: move mini mode name and remove unused mode description field 2024-10-26 16:33:59 +02:00
16c5471126
refactor: move command and EventHandler out of the tui module 2024-10-25 22:39:04 +02:00
63734ef81b
feat: add ModalBackground and make all palettes modal 2024-10-19 18:29:10 +02:00
3ca4d06cc4
fix: palette scrollbar bounds 2024-10-09 21:02:02 +02:00
3bea19084c
fix: add missing selection_updated call to palette up/down commands 2024-10-09 20:48:50 +02:00
0542fdc680
refactor: use explicit error sets in MessageFilter and project_manager 2024-09-19 21:54:18 +02:00
d75dcd7b84
feat: add metadata to all commands 2024-09-17 23:00:53 +02:00
bdd16f43fb
feat: add support for command metadata 2024-09-17 23:00:48 +02:00
bf3fe5f2ba
refactor: run zigimports
closes: #38
2024-09-10 22:25:54 +02:00
7b812d73ea
refactor: change a -> allocator 2024-09-02 14:31:49 +02:00
7b877de6d7
feat: use palatte instance specific name and icon 2024-08-31 21:13:55 +02:00
9b80687373
fix: sort by length (shortest first) for equal fuzzy matching scores in palette 2024-08-29 19:09:25 +02:00
c01576412a
refactor: prefer orelse to if(pred) |x| x else y 2024-08-29 13:13:45 +02:00
3fe1e1ea26
fix: always sort results command_palette.restore_state 2024-08-27 21:19:23 +02:00
e83d9ea74d refactor: simplify load_entries in command and theme palette 2024-08-19 22:53:38 +02:00
67ffff4caa fix: allocate and free entry.name in open_recent_project palette 2024-08-19 22:52:19 +02:00
e6db0ce970 feat: add repeat keys for all palettes 2024-08-19 20:36:09 +02:00
231e4ccb88 feat: add open_recent_project and change_project commands 2024-08-19 20:35:05 +02:00
2a735cee5c fix: sprinkle @intCast to fix 32 bit arm builds 2024-08-16 22:02:53 +02:00
4b6c08154b feat: add theme selection palette
Also, refactor to share palette code and make palettes scroll properly
with the mouse wheel.
2024-08-14 21:27:32 +02:00
49b701c9af fix(command_palette): let pageup move all the way to the top 2024-08-11 22:41:04 +02:00
221bc5741d feat: improve styling of command palette scrollbar 2024-08-11 21:59:05 +02:00
8abeea6c98 refactor: minor formatting clean-up in open_recent 2024-08-11 21:37:25 +02:00