QScintilla/SpellChecker.py

changeset 6711
a3aec8edaef5
parent 6645
ad476851d7e0
equal deleted inserted replaced
6710:b796805c733f 6711:a3aec8edaef5
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)

eric ide

mercurial