eliminate dead code

This commit is contained in:
Ryan Fleury
2024-08-26 14:27:51 -07:00
parent 1de57557b5
commit c16e21db71
5 changed files with 0 additions and 284 deletions
-8
View File
@@ -276,14 +276,6 @@ ui_single_line_txt_op_from_event(Arena *arena, UI_Event *event, String8 string,
next_cursor = next_mark = txt_pt(range.min.line, range.min.column + event->string.size);
}
//- rjf: replace & commit -> replace entire range
#if 0
if(event->flags & UI_EventFlag_ReplaceAndCommit)
{
range = txt_rng(txt_pt(cursor.line, 1), txt_pt(cursor.line, line.size+1));
}
#endif
//- 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)