Stop shifting nest lists - they are re-created each frame

This commit is contained in:
Peter Slattery 2025-08-05 15:25:38 -07:00
parent 1507f414b1
commit 507f4a9d04
1 changed files with 0 additions and 2 deletions

View File

@ -387,8 +387,6 @@ code_index_shift_list(Code_Index_Note_List *list, Range_i64 old_range, u64 new_s
function void function void
code_index_shift(Code_Index_File *file, Range_i64 old_range, u64 new_size) 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->scope_delim_list, old_range, new_size);
code_index_shift_list(&file->note_list, old_range, new_size); code_index_shift_list(&file->note_list, old_range, new_size);
} }