We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91915c5 commit 42dedaeCopy full SHA for 42dedae
advanced_new_file/commands/cut_to_file.py
@@ -13,7 +13,10 @@ def __init__(self, window):
13
def run(self, is_python=False):
14
self.is_python = is_python
15
self.run_setup()
16
- self.view.add_regions(REGION_KEY, self.view.sel(), flags=sublime.HIDDEN)
+ cursors = []
17
+ for cursor in self.view.sel():
18
+ cursors.append(cursor)
19
+ self.view.add_regions(REGION_KEY, cursors, "")
20
21
path = self.settings.get(CUT_TO_FILE_DEFAULT_SETTING, "")
22
path = self._expand_default_path(path)
0 commit comments