further work on autocompletion system; more carefully preserve information about cursor / what is being replaced, do not apply autocompletion lister enabling setting to required listers (e.g. for settings/themes), and adjust navigation controls such that arrowkeys are consumed by the autocompletion lister (in principle this is 'stealing' functionality from the source ui, e.g. the watch window using up/down to go to different rows, but in practice when an autocompletion lister pops up, it feels way more natural to use arrowkeys)

This commit is contained in:
Ryan Fleury committed 2025-05-05 10:45:40 -07:00
1 parent e1ca449ccb
commit 573a6b0bb2
6 files changed
+234 -197

No files matched your search

+2 -2
View File
@@ -1244,7 +1244,7 @@ rd_watch_row_info_from_row(Arena *arena, EV_Row *row)
{
rd_watch_cell_list_push_new(arena, &info.cells, RD_WatchCellKind_Eval, e_eval_wrapf(row->eval, "enabled"),
.flags = RD_WatchCellFlag_Background,
.px = floor_f32(ui_top_font_size()*5.f));
.px = floor_f32(ui_top_font_size()*5.5f));
}
else if(cmd_kind != RD_CmdKind_Null)
{
@@ -1272,7 +1272,7 @@ rd_watch_row_info_from_row(Arena *arena, EV_Row *row)
entity->kind == CTRL_EntityKind_Thread)
{
rd_watch_cell_list_push_new(arena, &info.cells, RD_WatchCellKind_Eval, e_eval_wrapf(row->eval, "active"),
.px = floor_f32(ui_top_font_size()*5.f));
.px = floor_f32(ui_top_font_size()*5.5f));
}
if(entity->kind == CTRL_EntityKind_Thread)
{