--- a/QScintilla/Lexers/LexerCPP.py Tue Oct 15 22:03:54 2013 +0200 +++ b/QScintilla/Lexers/LexerCPP.py Fri Oct 18 23:00:41 2013 +0200 @@ -24,6 +24,8 @@ Constructor @param parent parent widget of this lexer + @param caseInsensitiveKeywords flag indicating keywords are case + insensitive (boolean) """ super(LexerCPP, self).__init__(parent, caseInsensitiveKeywords) Lexer.__init__(self) @@ -58,7 +60,8 @@ except AttributeError: pass try: - self.setStylePreprocessor(Preferences.getEditor("CppStylePreprocessor")) + self.setStylePreprocessor( + Preferences.getEditor("CppStylePreprocessor")) except AttributeError: pass try: @@ -84,6 +87,7 @@ """ Public method to check, if a style is a comment style. + @param style style to check (integer) @return flag indicating a comment style (boolean) """ return style in [QsciLexerCPP.Comment, @@ -95,6 +99,7 @@ """ Public method to check, if a style is a string style. + @param style style to check (integer) @return flag indicating a string style (boolean) """ return style in [QsciLexerCPP.DoubleQuotedString,