mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-22 13:52:23 -08:00
eliminate dead code
This commit is contained in:
1 parent
1de57557b5
commit
c16e21db71
5 files changed
-284
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user