--- a/QScintilla/Lexers/LexerXML.py Tue Oct 15 22:03:54 2013 +0200 +++ b/QScintilla/Lexers/LexerXML.py Fri Oct 18 23:00:41 2013 +0200 @@ -42,8 +42,10 @@ Preferences.getEditor("HtmlCaseSensitiveTags")) self.setFoldCompact(Preferences.getEditor("AllFoldCompact")) try: - self.setFoldScriptComments(Preferences.getEditor("HtmlFoldScriptComments")) - self.setFoldScriptHeredocs(Preferences.getEditor("HtmlFoldScriptHeredocs")) + self.setFoldScriptComments( + Preferences.getEditor("HtmlFoldScriptComments")) + self.setFoldScriptHeredocs( + Preferences.getEditor("HtmlFoldScriptHeredocs")) self.setScriptsStyled(Preferences.getEditor("XMLStyleScripts")) except AttributeError: pass @@ -52,6 +54,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 [QsciLexerXML.HTMLComment, @@ -74,6 +77,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 [QsciLexerXML.HTMLDoubleQuotedString,