QScintilla/SpellChecker.py

changeset 6711
a3aec8edaef5
parent 6645
ad476851d7e0
--- a/QScintilla/SpellChecker.py	Fri Feb 08 19:35:26 2019 +0100
+++ b/QScintilla/SpellChecker.py	Sat Feb 09 14:40:32 2019 +0100
@@ -331,7 +331,7 @@
         
         if pos >= 0 and self.__checkRegion(pos):
             pos0 = pos
-            pos1 = -1
+            pos1 = sys.maxsize
             if not self.editor.charAt(pos).isalnum():
                 line, index = self.editor.lineIndexFromPosition(pos)
                 self.editor.clearIndicator(

eric ide

mercurial