--- a/src/eric7/QScintilla/Lexers/LexerQSS.py Wed Dec 20 19:28:22 2023 +0100 +++ b/src/eric7/QScintilla/Lexers/LexerQSS.py Thu Dec 21 12:03:40 2023 +0100 @@ -26,6 +26,7 @@ Constructor @param parent parent widget of this lexer + @type QWidget """ QsciLexerCSS.__init__(self, parent) Lexer.__init__(self) @@ -59,8 +60,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 [QsciLexerCSS.Comment] @@ -68,8 +71,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 [ QsciLexerCSS.DoubleQuotedString, @@ -80,8 +85,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 """ if kwSet == 1: return ( @@ -158,7 +165,8 @@ """ Public method to return the lexer language. - @return lexer language (string) + @return lexer language + @rtype str """ return "QSS" @@ -166,7 +174,8 @@ """ Public method to return the lexer name. - @return lexer name (string) + @return lexer name + @rtype str """ return "QSS"