QScintilla/Lexers/LexerBash.py

changeset 945
8cd4d08fa9f6
parent 791
9ec2ac20e54e
child 1131
7781e396c903
--- a/QScintilla/Lexers/LexerBash.py	Fri Mar 11 08:55:14 2011 +0100
+++ b/QScintilla/Lexers/LexerBash.py	Fri Mar 11 16:51:57 2011 +0100
@@ -12,11 +12,12 @@
 from .Lexer import Lexer
 import Preferences
 
+
 class LexerBash(QsciLexerBash, Lexer):
-    """ 
+    """
     Subclass to implement some additional lexer dependant methods.
     """
-    def __init__(self, parent = None):
+    def __init__(self, parent=None):
         """
         Constructor
         
@@ -48,15 +49,15 @@
         
         @return flag indicating a string style (boolean)
         """
-        return style in [QsciLexerBash.DoubleQuotedString, 
-                         QsciLexerBash.SingleQuotedString, 
+        return style in [QsciLexerBash.DoubleQuotedString,
+                         QsciLexerBash.SingleQuotedString,
                          QsciLexerBash.SingleQuotedHereDocument]
     
     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 QsciLexerBash.keywords(self, kwSet)

eric ide

mercurial