--- a/src/eric7/QScintilla/Lexers/LexerContainer.py Wed Dec 20 19:28:22 2023 +0100 +++ b/src/eric7/QScintilla/Lexers/LexerContainer.py Thu Dec 21 12:03:40 2023 +0100 @@ -22,6 +22,7 @@ Constructor @param parent parent widget of this lexer + @type QWidget """ QsciLexer.__init__(self, parent) Lexer.__init__(self) @@ -32,7 +33,8 @@ """ Public method returning the language of the lexer. - @return language of the lexer (string) + @return language of the lexer + @rtype str """ return "Container" @@ -40,7 +42,8 @@ """ Public method returning the type of the lexer. - @return type of the lexer (string) + @return type of the lexer + @rtype str """ if hasattr(self, "lexerId"): return None @@ -54,8 +57,10 @@ <b>Note</b>: This methods needs to be overridden by the lexer class. - @param style style number (integer) - @return description for the given style (string) + @param style style number + @type int + @return description for the given style + @rtype str """ return "" @@ -63,8 +68,10 @@ """ Public method to perform the styling. - @param start position of first character to be styled (integer) - @param end position of last character to be styled (integer) + @param start position of first character to be styled + @type int + @param end position of last character to be styled + @type int """ self.editor.startStyling(start, 0x1F) self.editor.setStyling(end - start + 1, 0) @@ -73,7 +80,9 @@ """ Public method to get the 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 Lexer.keywords(self, kwSet)