ViewManager/ViewManager.py

changeset 5900
cd90bfdc1247
parent 5742
dc9cd8059221
child 5905
f31960634997
diff -r 0516f6548ca6 -r cd90bfdc1247 ViewManager/ViewManager.py
--- a/ViewManager/ViewManager.py	Tue Oct 10 19:05:00 2017 +0200
+++ b/ViewManager/ViewManager.py	Sat Oct 14 20:07:08 2017 +0200
@@ -84,6 +84,7 @@
         super(QuickSearchLineEdit, self).focusInEvent(evt)   # pass it on
 
 
+# TODO: add an action to show code info for the object under the cursor (Ctrl-Alt-I)
 class ViewManager(QWidget):
     """
     Base class inherited by all specific viewmanager classes.
@@ -6782,6 +6783,16 @@
         if editor:
             editor.sortLines()
     
+    def showEditorInfo(self, editor):
+        """
+        Public method to show some information for a given editor.
+        
+        @param editor editor to show information text for
+        @type Editor
+        """
+        # TODO: implement CodeDocumentationViewer
+        self.ui.documentationViewer().showInfo(editor)
+    
     ##################################################################
     ## Below are protected utility methods
     ##################################################################

eric ide

mercurial