eric6/QScintilla/DocstringGenerator/BaseDocstringGenerator.py

changeset 8000
47b15df088e4
parent 7998
cd41c844862f
child 8143
2c730d5fd177
diff -r 159689297bc0 -r 47b15df088e4 eric6/QScintilla/DocstringGenerator/BaseDocstringGenerator.py
--- a/eric6/QScintilla/DocstringGenerator/BaseDocstringGenerator.py	Fri Jan 22 16:55:43 2021 +0100
+++ b/eric6/QScintilla/DocstringGenerator/BaseDocstringGenerator.py	Sat Jan 23 12:02:52 2021 +0100
@@ -98,7 +98,18 @@
         """
         # just do nothing in the base class
         return
-
+    
+    def insertDocstringFromShortcut(self, cursorPosition):
+        """
+        Public method to insert a docstring for the function at the cursor
+        position initiated via a keyboard shortcut.
+        
+        @param cursorPosition position of the cursor (line and index)
+        @type tuple of (int, int)
+        """
+        # just do nothing in the base class
+        return
+    
     def getDocstringType(self):
         """
         Public method to determine the docstring type to be generated.

eric ide

mercurial