QScintilla/Editor.py

changeset 5967
da72832f7c22
parent 5935
1fac1b80b440
child 5969
584c21b6587a
--- a/QScintilla/Editor.py	Sat Nov 11 18:44:04 2017 +0100
+++ b/QScintilla/Editor.py	Sat Nov 11 18:47:09 2017 +0100
@@ -4727,7 +4727,7 @@
         """
         # process the list only, if not already obsolete ...
         if acText != self.__acText:
-           return
+            return
         
         self.__acCompletions.update(set(completions))
         
@@ -4738,8 +4738,8 @@
             self.__acWatchdog.stop()
             
             # Autocomplete with QScintilla if no results present
-            if (Preferences.getEditor("AutoCompletionScintillaOnFail")
-                    and not self.__acCompletions):
+            if Preferences.getEditor("AutoCompletionScintillaOnFail") and \
+               not self.__acCompletions:
                 self.autoCompleteQScintilla()
                 return
         

eric ide

mercurial