src/eric7/QScintilla/Lexers/LexerMatlab.py

branch
eric7
changeset 10431
64157aeb0312
parent 10069
435cc5875135
child 10439
21c28b0f9e41
--- a/src/eric7/QScintilla/Lexers/LexerMatlab.py	Wed Dec 20 19:28:22 2023 +0100
+++ b/src/eric7/QScintilla/Lexers/LexerMatlab.py	Thu Dec 21 12:03:40 2023 +0100
@@ -22,6 +22,7 @@
         Constructor
 
         @param parent parent widget of this lexer
+        @type QWidget
         """
         QsciLexerMatlab.__init__(self, parent)
         Lexer.__init__(self)
@@ -36,8 +37,10 @@
         """
         Public method to check, if a style is a comment style.
 
-        @param style style to check (integer)
-        @return flag indicating a comment style (boolean)
+        @param style style to check
+        @type int
+        @return flag indicating a comment style
+        @rtype bool
         """
         return style in [QsciLexerMatlab.Comment]
 
@@ -45,8 +48,10 @@
         """
         Public method to check, if a style is a string style.
 
-        @param style style to check (integer)
-        @return flag indicating a string style (boolean)
+        @param style style to check
+        @type int
+        @return flag indicating a string style
+        @rtype bool
         """
         return style in [
             QsciLexerMatlab.DoubleQuotedString,
@@ -57,8 +62,10 @@
         """
         Public method to get the default keywords.
 
-        @param kwSet number of the keyword set (integer)
-        @return string giving the keywords (string) or None
+        @param kwSet number of the keyword set
+        @type int
+        @return string giving the keywords or None
+        @rtype str
         """
         return QsciLexerMatlab.keywords(self, kwSet)
 

eric ide

mercurial