From 507f4a9d0448bf6105832cf118f5b5d753c3de8a Mon Sep 17 00:00:00 2001 From: Peter Slattery Date: Tue, 5 Aug 2025 15:25:38 -0700 Subject: [PATCH] Stop shifting nest lists - they are re-created each frame --- code/custom/4coder_code_index.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/code/custom/4coder_code_index.cpp b/code/custom/4coder_code_index.cpp index 76952cb5..06466822 100644 --- a/code/custom/4coder_code_index.cpp +++ b/code/custom/4coder_code_index.cpp @@ -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); }