Skip to content
This repository was archived by the owner on Jan 27, 2023. It is now read-only.

Commit e57a2bf

Browse files
committed
ignore case when highlighting results
1 parent 6ef98c7 commit e57a2bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

search_in_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def goto_result(self, file_no):
8383
else:
8484
file_name = self.common_path.replace('\"', '') + self.results[file_no][0]
8585
view = self.window.open_file(file_name, sublime.ENCODED_POSITION)
86-
regions = view.find_all(self.last_search_string)
86+
regions = view.find_all(self.last_search_string, sublime.IGNORECASE)
8787
view.add_regions("search_in_project", regions, "entity.name.filename.find-in-files", "circle", sublime.DRAW_OUTLINED)
8888

8989
def list_in_view(self):

0 commit comments

Comments
 (0)