eric6/QScintilla/Editor.py

changeset 7783
36f66ce496bd
parent 7775
4a1db75550bd
child 7785
9978016560ec
--- 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