Editor: fixed an issue related to auto completion.

Sat, 15 Sep 2018 16:05:36 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 15 Sep 2018 16:05:36 +0200
changeset 6498
674ac2051e8a
parent 6497
07ce17c54eae
child 6499
dcff57f91861

Editor: fixed an issue related to auto completion.

QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- a/QScintilla/Editor.py	Fri Sep 14 18:56:37 2018 +0200
+++ b/QScintilla/Editor.py	Sat Sep 15 16:05:36 2018 +0200
@@ -4755,8 +4755,10 @@
         
         self.__acCompletionsFinished += 1
         # Got all results from auto completer?
-        if self.__acCompletionsFinished >= len(
-                self.__completionListAsyncHookFunctions):
+        if self.__acCompletionsFinished >= (
+            len(self.__completionListAsyncHookFunctions) +
+            len(self.__completionListHookFunctions)
+        ):
             self.__acWatchdog.stop()
             
             # Autocomplete with QScintilla if no results present

eric ide

mercurial