329 if atEnd: |
329 if atEnd: |
330 pos = self.editor.positionBefore(pos) |
330 pos = self.editor.positionBefore(pos) |
331 |
331 |
332 if pos >= 0 and self.__checkRegion(pos): |
332 if pos >= 0 and self.__checkRegion(pos): |
333 pos0 = pos |
333 pos0 = pos |
334 pos1 = -1 |
334 pos1 = sys.maxsize |
335 if not self.editor.charAt(pos).isalnum(): |
335 if not self.editor.charAt(pos).isalnum(): |
336 line, index = self.editor.lineIndexFromPosition(pos) |
336 line, index = self.editor.lineIndexFromPosition(pos) |
337 self.editor.clearIndicator( |
337 self.editor.clearIndicator( |
338 self.indicator, line, index, line, index + 1) |
338 self.indicator, line, index, line, index + 1) |
339 pos1 = self.editor.positionAfter(pos) |
339 pos1 = self.editor.positionAfter(pos) |