QScintilla/Lexers/LexerXML.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 3011
18292228c724
child 3145
a9de05d4a22f
--- 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,

eric ide

mercurial