src/eric7/QScintilla/DocstringGenerator/BaseDocstringGenerator.py

branch
eric7
changeset 10078
9ebe2183cf49
parent 10069
435cc5875135
child 10431
64157aeb0312
--- a/src/eric7/QScintilla/DocstringGenerator/BaseDocstringGenerator.py	Sat May 27 18:30:13 2023 +0200
+++ b/src/eric7/QScintilla/DocstringGenerator/BaseDocstringGenerator.py	Sat May 27 18:57:32 2023 +0200
@@ -173,6 +173,8 @@
         self.funcionText = ""
         self.argumentsText = ""
 
+        self.functionName = ""
+        # name of the function
         self.functionIndent = ""
         # indentation fo function definition
         self.argumentsList = []
@@ -195,6 +197,8 @@
         # function visibility with allowed values:
         # public, protected, private or special (i.e. starting and
         # ending with '__'
+        self.eventHandler = False
+        # function is an event handler method
 
     def parseDefinition(self, text, quote, quoteReplace):
         """

eric ide

mercurial