QScintilla/Lexers/LexerTCL.py

branch
5_1_x
changeset 947
d3ba26384cf8
parent 791
9ec2ac20e54e
child 1510
e75ecf2bd9dd
equal deleted inserted replaced
941:a6860b732025 947:d3ba26384cf8
30 30
31 def initProperties(self): 31 def initProperties(self):
32 """ 32 """
33 Public slot to initialize the properties. 33 Public slot to initialize the properties.
34 """ 34 """
35 self.setFoldCompact(Preferences.getEditor("AllFoldCompact")) 35 try:
36 self.setFoldCompact(Preferences.getEditor("AllFoldCompact"))
37 except AttributeError:
38 pass
36 39
37 def isCommentStyle(self, style): 40 def isCommentStyle(self, style):
38 """ 41 """
39 Public method to check, if a style is a comment style. 42 Public method to check, if a style is a comment style.
40 43

eric ide

mercurial