SpellChecker: implemented a compatibility fix for upcoming PyQt 5.12.

Sat, 09 Feb 2019 14:40:32 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 09 Feb 2019 14:40:32 +0100
changeset 6711
a3aec8edaef5
parent 6710
b796805c733f
child 6716
1c9d3b369ea8

SpellChecker: implemented a compatibility fix for upcoming PyQt 5.12.

QScintilla/SpellChecker.py file | annotate | diff | comparison | revisions
diff -r b796805c733f -r a3aec8edaef5 QScintilla/SpellChecker.py
--- 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