src/eric7/QScintilla/Lexers/LexerCPP.py

branch
eric7
changeset 10431
64157aeb0312
parent 10069
435cc5875135
child 10439
21c28b0f9e41
diff -r e440aaf179ce -r 64157aeb0312 src/eric7/QScintilla/Lexers/LexerCPP.py
--- a/src/eric7/QScintilla/Lexers/LexerCPP.py	Wed Dec 20 19:28:22 2023 +0100
+++ b/src/eric7/QScintilla/Lexers/LexerCPP.py	Thu Dec 21 12:03:40 2023 +0100
@@ -26,7 +26,7 @@
         Constructor
 
         @param parent parent widget of this lexer
-        @type QObject
+        @type QWidget
         """
         QsciLexerCPP.__init__(
             self, parent, Preferences.getEditor("CppCaseInsensitiveKeywords")
@@ -140,7 +140,8 @@
         """
         Public method to return the list of separators for autocompletion.
 
-        @return list of separators (list of strings)
+        @return list of separators
+        @rtype list of str
         """
         return ["::", "->", "."]
 
@@ -148,8 +149,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 [
             QsciLexerCPP.Comment,
@@ -162,8 +165,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 [
             QsciLexerCPP.DoubleQuotedString,
@@ -176,8 +181,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 QsciLexerCPP.keywords(self, kwSet)
 
@@ -185,7 +192,8 @@
         """
         Public method to get the maximum keyword set.
 
-        @return maximum keyword set (integer)
+        @return maximum keyword set
+        @rtype int
         """
         return 4
 

eric ide

mercurial