Tue, 07 Jul 2020 17:20:23 +0200
SpellChecker: change to fix an overflow situation when spell checking.
eric6/QScintilla/SpellChecker.py | file | annotate | diff | comparison | revisions |
--- 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(