mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-12-01 01:53:20 -08:00
top-level text editing mode state, so that textual keys can be used for hotkeys, but just become disabled when text editing is actually happening
This commit is contained in:
1 parent
084ef67583
commit
95dd544871
4 files changed
+20
-5
No files matched your search
@@ -3028,6 +3028,7 @@ rd_line_edit(RD_LineEditFlags flags, S32 depth, FuzzyMatchRangeList *matches, Tx
|
||||
if(!(flags & RD_LineEditFlag_DisableEdit) && (is_focus_active || focus_started))
|
||||
{
|
||||
Temp scratch = scratch_begin(0, 0);
|
||||
rd_state->text_edit_mode = 1;
|
||||
for(UI_Event *evt = 0; ui_next_event(&evt);)
|
||||
{
|
||||
String8 edit_string = str8(edit_buffer, edit_string_size_out[0]);
|
||||
|
||||
Reference in new issue
Block a user