Adapted LexerTCL to the QScintilla 2.5 interface.

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 12 Mar 2011 13:47:25 +0100
changeset 946
daf90a162be4
parent 945
8cd4d08fa9f6
child 948
fe7b94ed01ec

Adapted LexerTCL to the QScintilla 2.5 interface.

QScintilla/Lexers/LexerTCL.py file | annotate | diff | comparison | revisions
--- a/QScintilla/Lexers/LexerTCL.py	Fri Mar 11 16:51:57 2011 +0100
+++ b/QScintilla/Lexers/LexerTCL.py	Sat Mar 12 13:47:25 2011 +0100
@@ -33,7 +33,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