Editor: fixed an issue introduced during the QRegExp change.

Tue, 13 Oct 2020 18:23:53 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 13 Oct 2020 18:23:53 +0200
changeset 7783
36f66ce496bd
parent 7782
976d3b19ba7f
child 7784
3257703e10c5

Editor: fixed an issue introduced during the QRegExp change.

eric6/QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- a/eric6/QScintilla/Editor.py	Mon Oct 12 19:54:03 2020 +0200
+++ b/eric6/QScintilla/Editor.py	Tue Oct 13 18:23:53 2020 +0200
@@ -3536,7 +3536,7 @@
             if start <= index <= end:
                 return (start, end)
         
-        return (0, len(text))
+        return (index, index)
     
     def getWord(self, line, index, direction=0, useWordChars=True):
         """

eric ide

mercurial