QScintilla/Lexers/LexerPerl.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1131
7781e396c903
diff -r 1b59c4ba121e -r 8cd4d08fa9f6 QScintilla/Lexers/LexerPerl.py
--- a/QScintilla/Lexers/LexerPerl.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/QScintilla/Lexers/LexerPerl.py	Fri Mar 11 16:51:57 2011 +0100
@@ -12,8 +12,9 @@
 from .Lexer import Lexer
 import Preferences
 
+
 class LexerPerl(QsciLexerPerl, Lexer):
-    """ 
+    """
     Subclass to implement some additional lexer dependant methods.
     """
     def __init__(self, parent=None):
@@ -61,21 +62,21 @@
         
         @return flag indicating a string style (boolean)
         """
-        return style in [QsciLexerPerl.DoubleQuotedHereDocument, 
-                         QsciLexerPerl.DoubleQuotedString, 
-                         QsciLexerPerl.QuotedStringQ, 
-                         QsciLexerPerl.QuotedStringQQ, 
-                         QsciLexerPerl.QuotedStringQR, 
-                         QsciLexerPerl.QuotedStringQW, 
-                         QsciLexerPerl.QuotedStringQX, 
-                         QsciLexerPerl.SingleQuotedHereDocument, 
+        return style in [QsciLexerPerl.DoubleQuotedHereDocument,
+                         QsciLexerPerl.DoubleQuotedString,
+                         QsciLexerPerl.QuotedStringQ,
+                         QsciLexerPerl.QuotedStringQQ,
+                         QsciLexerPerl.QuotedStringQR,
+                         QsciLexerPerl.QuotedStringQW,
+                         QsciLexerPerl.QuotedStringQX,
+                         QsciLexerPerl.SingleQuotedHereDocument,
                          QsciLexerPerl.SingleQuotedString]
     
     def defaultKeywords(self, kwSet):
         """
         Public method to get the default keywords.
         
-        @param kwSet number of the keyword set (integer) 
+        @param kwSet number of the keyword set (integer)
         @return string giving the keywords (string) or None
         """
         return QsciLexerPerl.keywords(self, kwSet)

eric ide

mercurial