eric7/QScintilla/Shell.py

branch
eric7
changeset 8481
02865597d820
parent 8358
144a6b854f70
child 8521
4794215f9a3c
--- a/eric7/QScintilla/Shell.py	Wed Jul 28 17:01:12 2021 +0200
+++ b/eric7/QScintilla/Shell.py	Wed Jul 28 17:02:19 2021 +0200
@@ -571,8 +571,10 @@
         
         self.racEnabled = Preferences.getShell("AutoCompletionEnabled")
         
-        self.maxLines = Preferences.getEditor("AutoCompletionMaxLines")
-        self.maxChars = Preferences.getEditor("AutoCompletionMaxChars")
+        self.setAutoCompletionWidgetSize(
+            Preferences.getEditor("AutoCompletionMaxChars"),
+            Preferences.getEditor("AutoCompletionMaxLines")
+        )
         
     def __setCallTips(self, language='Python'):
         """

eric ide

mercurial