--- a/src/eric7/QScintilla/Lexers/Lexer.py Wed Dec 20 19:28:22 2023 +0100 +++ b/src/eric7/QScintilla/Lexers/Lexer.py Thu Dec 21 12:03:40 2023 +0100 @@ -108,7 +108,8 @@ """ Public method to check, if tab conversion is allowed. - @return flag indicating to keep tabs (boolean) + @return flag indicating to keep tabs + @rtype bool """ return self._alwaysKeepTabs @@ -117,7 +118,8 @@ Public method indicating whether lexer can do smart indentation. @return flag indicating availability of smartIndentLine and - smartIndentSelection methods (boolean) + smartIndentSelection methods + @rtype bool """ return hasattr(self, "getIndentationDifference") @@ -126,6 +128,7 @@ Public method to handle smart indentation for a line. @param editor reference to the QScintilla editor object + @type Editor """ cline, cindex = editor.getCursorPosition() @@ -149,6 +152,7 @@ indentation level. @param editor reference to the QScintilla editor object + @type Editor """ if not editor.hasSelectedText(): return @@ -183,7 +187,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 [] @@ -191,8 +196,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 True @@ -200,8 +207,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 True @@ -264,7 +273,8 @@ """ Public method to return the lexer name. - @return lexer name (string) + @return lexer name + @rtype str """ return self.lexer()