Skip to content

Commit e500063

Browse files
author
atomi
committed
Regression bug #102 allows inserting periods on multiple selection
1 parent 787c131 commit e500063

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ondotcompletions.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ def run(self, edit):
5757
sel = self.view.sel()[0]
5858

5959
# insert the actual . character
60-
self.view.insert(edit, sel.end(), ".")
60+
for region in self.view.sel():
61+
self.view.insert(edit, region.end(), ".")
6162

6263
if self.view.settings().get("auto_complete") == False:
6364
return

0 commit comments

Comments
 (0)