single-press-to-activate in text right-click commands menu

This commit is contained in:
Ryan Fleury
2026-03-29 11:46:24 -07:00
parent a23375a070
commit a768f398cf
6 changed files with 27 additions and 5 deletions
+1
View File
@@ -2226,6 +2226,7 @@ rd_code_slice(RD_CodeSliceParams *params, TxtPt *cursor, TxtPt *mark, S64 *prefe
.expr = txt_pt_match(*cursor, *mark) ? str8_lit("query:text_pt_commands") : str8_lit("query:text_range_commands"),
.do_implicit_root = 1,
.do_lister = 1,
.activate_with_single_click = 1,
.ui_key = ui_get_selected_state()->root->key,
.off_px = ui_mouse(),
.cursor = *cursor,