QScintilla/Editor.py

changeset 6498
674ac2051e8a
parent 6493
b64d6d0b4175
child 6518
926d65bd23b8
child 6571
feb72cfc7807
diff -r 07ce17c54eae -r 674ac2051e8a QScintilla/Editor.py
--- 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