QScintilla/Lexers/LexerPascal.py

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

eric ide

mercurial