checkpoint on text patches

This commit is contained in:
Ryan Fleury committed 2026-07-27 14:47:07 -07:00
1 parent 20cd955cc9
commit 62328cea3f
9 files changed
+579 -204

No files matched your search

+1 -1
View File
@@ -262,7 +262,7 @@ ui_single_line_txt_op_from_event(Arena *arena, UI_Event *event, String8 string,
//- rjf: determine if this event should be taken, based on bounds of cursor
{
if(next_cursor.column > string.size+1 || 1 > next_cursor.column || event->delta_2s32.y != 0)
if(next_cursor.column > string.size+replace.size+1 || 1 > next_cursor.column || event->delta_2s32.y != 0)
{
flags |= UI_TxtOpFlag_Invalid;
}