We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 26bb7c5 + 8331a5f commit 5240174Copy full SHA for 5240174
typescript/commands/rename.py
@@ -63,7 +63,7 @@ def run(self, text, args_json=""):
63
rename_view.run_command('typescript_delayed_rename_file',
64
{"locs_name": {"locs": inner_locations, "name": new_name}})
65
else:
66
- for inner_location in inner_locations:
+ for inner_location in inner_locations[::-1]:
67
start_line, start_offset = extract_line_offset(inner_location["start"])
68
end_line, end_offset = extract_line_offset(inner_location["end"])
69
apply_edit(text, self.view, start_line, start_offset, end_line,
0 commit comments