AssistantEric/Assistant.py

changeset 54
89d28458ff40
parent 51
b70595b49b3e
child 65
71f50b4cc169
--- a/AssistantEric/Assistant.py	Sun Feb 05 16:31:50 2012 +0100
+++ b/AssistantEric/Assistant.py	Sat May 19 18:32:26 2012 +0200
@@ -419,11 +419,13 @@
                             if prefix == word:
                                 completions.extend(
                                     api.getCompletions(context=super,
-                                                       followHierarchy=True))
+                                        followHierarchy=self.__plugin.getPreferences(
+                                            "AutoCompletionFollowHierarchy")))
                             else:
                                 completions.extend(
                                     api.getCompletions(start=word, context=super,
-                                                       followHierarchy=True))
+                                        followHierarchy=self.__plugin.getPreferences(
+                                            "AutoCompletionFollowHierarchy")))
                         for completion in completions:
                             if not completion["context"]:
                                 entry = completion["completion"]
@@ -766,7 +768,8 @@
                     for super in cl.super:
                         calltips.extend(api.getCalltips(word, commas, super, None,
                             self.__plugin.getPreferences("CallTipsContextShown"),
-                            followHierarchy=True))
+                            followHierarchy=self.__plugin.getPreferences(
+                                "CallTipsFollowHierarchy")))
                     break
         else:
             calltips = api.getCalltips(word, commas, self.__lastContext,

eric ide

mercurial