QScintilla/Editor.py

changeset 6498
674ac2051e8a
parent 6493
b64d6d0b4175
child 6518
926d65bd23b8
child 6571
feb72cfc7807
equal deleted inserted replaced
6497:07ce17c54eae 6498:674ac2051e8a
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:

eric ide

mercurial