Fixed an issue in the new code where two names overlapped each other.

Thu, 06 Jan 2011 18:59:49 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 06 Jan 2011 18:59:49 +0100
changeset 815
093b3b8204d1
parent 814
7f85737ef732
child 816
53e282890577

Fixed an issue in the new code where two names overlapped each other.

QScintilla/Lexers/LexerPygments.py file | annotate | diff | comparison | revisions
--- a/QScintilla/Lexers/LexerPygments.py	Thu Jan 06 12:12:34 2011 +0100
+++ b/QScintilla/Lexers/LexerPygments.py	Thu Jan 06 18:59:49 2011 +0100
@@ -246,7 +246,7 @@
             PYGMENTS_HEREDOC            : QColor("#DDD0DD"),
         }
         
-        self.defaultEolFill = {
+        self.defaultEolFills = {
             PYGMENTS_ERROR              : True, 
             PYGMENTS_MULTILINECOMMENT   : True,
             PYGMENTS_HEREDOC            : True, 
@@ -343,7 +343,7 @@
         @return fill to eol flag (boolean)
         """
         try:
-            return self.defaultEolFill[style]
+            return self.defaultEolFills[style]
         except KeyError:
             return LexerContainer.defaultEolFill(self, style)
         

eric ide

mercurial