QScintilla/Lexers/LexerTCL.py

changeset 946
daf90a162be4
parent 945
8cd4d08fa9f6
child 948
fe7b94ed01ec
equal deleted inserted replaced
945:8cd4d08fa9f6 946:daf90a162be4
31 31
32 def initProperties(self): 32 def initProperties(self):
33 """ 33 """
34 Public slot to initialize the properties. 34 Public slot to initialize the properties.
35 """ 35 """
36 self.setFoldCompact(Preferences.getEditor("AllFoldCompact")) 36 try:
37 self.setFoldCompact(Preferences.getEditor("AllFoldCompact"))
38 except AttributeError:
39 pass
37 40
38 def isCommentStyle(self, style): 41 def isCommentStyle(self, style):
39 """ 42 """
40 Public method to check, if a style is a comment style. 43 Public method to check, if a style is a comment style.
41 44

eric ide

mercurial