Skip to content

Commit

Permalink
Merge pull request #75 from nikhilmitrax/master
Browse files Browse the repository at this point in the history
Fix Labelling Bug
  • Loading branch information
ice9js authored Jul 5, 2018
2 parents 90c4ab4 + a67f320 commit 99cae46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ace_jump.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ def find(self, regex, region_type, max_labels, case_sensitive):
while (next_search < last_search and last_index < max_labels):
word = self.view.find(regex, next_search, 0 if case_sensitive else sublime.IGNORECASE)

if not word or word.end() >= last_search:
if not word or word.end() > last_search:
break

last_index += 1
Expand Down

0 comments on commit 99cae46

Please sign in to comment.