QScintilla/Editor.py

changeset 5907
c928af9fce32
parent 5905
f31960634997
child 5909
21d90a3abc7c
diff -r fef02b3fdc32 -r c928af9fce32 QScintilla/Editor.py
--- a/QScintilla/Editor.py	Mon Oct 16 19:10:00 2017 +0200
+++ b/QScintilla/Editor.py	Mon Oct 16 19:10:53 2017 +0200
@@ -770,6 +770,8 @@
             self.menu.addMenu(self.autocompletionMenu)
             self.menuActs["calltip"] = self.menu.addAction(
                 self.tr('Calltip'), self.callTip)
+            self.menuActs["codeInfo"] = self.menu.addAction(
+                self.tr('Code Info'), self.__showCodeInfo)
         self.menu.addSeparator()
         if self.isResourcesFile:
             self.menu.addMenu(self.resourcesMenu)
@@ -4995,6 +4997,12 @@
         if char == "(" and Preferences.getEditor("ShowInfoOnOpenParenthesis"):
             self.vm.showEditorInfo(self)
     
+    def __showCodeInfo(self):
+        """
+        Private slot to handle the context menu action to show code info.
+        """
+        self.vm.showEditorInfo(self)
+    
     #################################################################
     ## Methods needed by the context menu
     #################################################################

eric ide

mercurial