Little performance improvement of the editor.

Tue, 06 Feb 2018 19:18:24 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 06 Feb 2018 19:18:24 +0100
changeset 6117
4cc6c171ecf6
parent 6116
f3d3c996c193
child 6118
da9e08920e7c

Little performance improvement of the editor.

QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- a/QScintilla/Editor.py	Mon Feb 05 19:59:18 2018 +0100
+++ b/QScintilla/Editor.py	Tue Feb 06 19:18:24 2018 +0100
@@ -273,8 +273,6 @@
         self.modificationChanged.connect(self.__modificationChanged)
         self.cursorPositionChanged.connect(self.__cursorPositionChanged)
         self.modificationAttempted.connect(self.__modificationReadOnly)
-        self.userListActivated.connect(self.__completionListSelected)
-        self.SCN_CHARADDED.connect(self.__charAddedPermanent)
         
         # margins layout
         if QSCINTILLA_VERSION() >= 0x020301:
@@ -418,6 +416,9 @@
             Preferences.getEditor("AutoCompletionWatchdogTime"))
         self.__acWatchdog.timeout.connect(self.autoCompleteQScintilla)
         
+        self.userListActivated.connect(self.__completionListSelected)
+        self.SCN_CHARADDED.connect(self.__charAddedPermanent)
+        
         self.__completionListHookFunctions = {}
         self.__completionListAsyncHookFunctions = {}
         self.__setAutoCompletion()

eric ide

mercurial