eric6/QScintilla/SpellChecker.py

changeset 7648
d71792be46cc
parent 7360
9190402e4505
child 7781
607a6098cb44
diff -r 94c5e1bbf09f -r d71792be46cc eric6/QScintilla/SpellChecker.py
--- a/eric6/QScintilla/SpellChecker.py	Sun Jul 05 16:19:39 2020 +0200
+++ b/eric6/QScintilla/SpellChecker.py	Tue Jul 07 17:20:23 2020 +0200
@@ -11,7 +11,6 @@
 
 
 import os
-import sys
 
 from PyQt5.QtCore import QTimer, QObject
 
@@ -330,7 +329,7 @@
         
         if pos >= 0 and self.__checkRegion(pos):
             pos0 = pos
-            pos1 = sys.maxsize
+            pos1 = 0xffffffff
             if not self.editor.charAt(pos).isalnum():
                 line, index = self.editor.lineIndexFromPosition(pos)
                 self.editor.clearIndicator(

eric ide

mercurial