Adapted LexerTCL to the QScintilla 2.5 interface. 5_1_x

Sat, 12 Mar 2011 13:47:59 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 12 Mar 2011 13:47:59 +0100
branch
5_1_x
changeset 947
d3ba26384cf8
parent 941
a6860b732025
child 950
1138e347c653

Adapted LexerTCL to the QScintilla 2.5 interface.

QScintilla/Lexers/LexerTCL.py file | annotate | diff | comparison | revisions
--- a/QScintilla/Lexers/LexerTCL.py	Thu Mar 10 17:40:42 2011 +0100
+++ b/QScintilla/Lexers/LexerTCL.py	Sat Mar 12 13:47:59 2011 +0100
@@ -32,7 +32,10 @@
         """
         Public slot to initialize the properties.
         """
-        self.setFoldCompact(Preferences.getEditor("AllFoldCompact"))
+        try:
+            self.setFoldCompact(Preferences.getEditor("AllFoldCompact"))
+        except AttributeError:
+            pass
     
     def isCommentStyle(self, style):
         """

eric ide

mercurial