QScintilla/Lexers/LexerHTML.py

branch
Py2 comp.
changeset 3057
10516539f238
parent 2525
8b507a9a2d40
parent 3011
18292228c724
child 3145
a9de05d4a22f
--- a/QScintilla/Lexers/LexerHTML.py	Tue Oct 15 22:03:54 2013 +0200
+++ b/QScintilla/Lexers/LexerHTML.py	Fri Oct 18 23:00:41 2013 +0200
@@ -42,12 +42,15 @@
             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"))
         except AttributeError:
             pass
         try:
-            self.setDjangoTemplates(Preferences.getEditor("HtmlDjangoTemplates"))
+            self.setDjangoTemplates(
+                Preferences.getEditor("HtmlDjangoTemplates"))
             self.setMakoTemplates(Preferences.getEditor("HtmlMakoTemplates"))
         except AttributeError:
             pass
@@ -56,6 +59,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 [QsciLexerHTML.HTMLComment,
@@ -78,6 +82,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 [QsciLexerHTML.HTMLDoubleQuotedString,

eric ide

mercurial