diff -r 9986ec0e559a -r 10516539f238 QScintilla/Lexers/LexerPascal.py --- a/QScintilla/Lexers/LexerPascal.py Tue Oct 15 22:03:54 2013 +0200 +++ b/QScintilla/Lexers/LexerPascal.py Fri Oct 18 23:00:41 2013 +0200 @@ -39,10 +39,12 @@ Public slot to initialize the properties. """ self.setFoldComments(Preferences.getEditor("PascalFoldComment")) - self.setFoldPreprocessor(Preferences.getEditor("PascalFoldPreprocessor")) + self.setFoldPreprocessor( + Preferences.getEditor("PascalFoldPreprocessor")) self.setFoldCompact(Preferences.getEditor("AllFoldCompact")) try: - self.setSmartHighlighting(Preferences.getEditor("PascalSmartHighlighting")) + self.setSmartHighlighting( + Preferences.getEditor("PascalSmartHighlighting")) except AttributeError: pass @@ -58,6 +60,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) """ try: @@ -73,6 +76,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 [QsciLexerPascal.SingleQuotedString]