Little fix for the editor completion list handling.

Mon, 11 Dec 2017 19:17:20 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 11 Dec 2017 19:17:20 +0100
changeset 6025
9dfb5a421a56
parent 6024
e5a2b8b613dd
child 6026
4773c9469880

Little fix for the editor completion list handling.

QScintilla/Editor.py file | annotate | diff | comparison | revisions
diff -r e5a2b8b613dd -r 9dfb5a421a56 QScintilla/Editor.py
--- a/QScintilla/Editor.py	Mon Dec 11 18:29:04 2017 +0100
+++ b/QScintilla/Editor.py	Mon Dec 11 19:17:20 2017 +0100
@@ -4660,6 +4660,9 @@
             # auto-completion is disabled
             return
         
+        if self.isListActive():
+            self.cancelList()
+        
         if self.__completionListHookFunctions or \
            self.__completionListAsyncHookFunctions:
             if auto and Preferences.getEditor("AutoCompletionTimeout"):

eric ide

mercurial