Stop shifting nest lists - they are re-created each frame
This commit is contained in:
parent
1507f414b1
commit
507f4a9d04
|
@ -387,8 +387,6 @@ code_index_shift_list(Code_Index_Note_List *list, Range_i64 old_range, u64 new_s
|
|||
function void
|
||||
code_index_shift(Code_Index_File *file, Range_i64 old_range, u64 new_size)
|
||||
{
|
||||
// TODO(PS): @DontShiftNestList - This is unnecessary now that nest_list just gets fully rebuilt each edit
|
||||
code_index_shift_list(&file->nest_list, old_range, new_size);
|
||||
code_index_shift_list(&file->scope_delim_list, old_range, new_size);
|
||||
code_index_shift_list(&file->note_list, old_range, new_size);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue