4753 |
4753 |
4754 self.__acCompletions.update(set(completions)) |
4754 self.__acCompletions.update(set(completions)) |
4755 |
4755 |
4756 self.__acCompletionsFinished += 1 |
4756 self.__acCompletionsFinished += 1 |
4757 # Got all results from auto completer? |
4757 # Got all results from auto completer? |
4758 if self.__acCompletionsFinished >= len( |
4758 if self.__acCompletionsFinished >= ( |
4759 self.__completionListAsyncHookFunctions): |
4759 len(self.__completionListAsyncHookFunctions) + |
|
4760 len(self.__completionListHookFunctions) |
|
4761 ): |
4760 self.__acWatchdog.stop() |
4762 self.__acWatchdog.stop() |
4761 |
4763 |
4762 # Autocomplete with QScintilla if no results present |
4764 # Autocomplete with QScintilla if no results present |
4763 if Preferences.getEditor("AutoCompletionScintillaOnFail") and \ |
4765 if Preferences.getEditor("AutoCompletionScintillaOnFail") and \ |
4764 not self.__acCompletions: |
4766 not self.__acCompletions: |