QScintilla/Lexers/LexerProperties.py

changeset 948
fe7b94ed01ec
parent 945
8cd4d08fa9f6
child 1131
7781e396c903
equal deleted inserted replaced
946:daf90a162be4 948:fe7b94ed01ec
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 self.setFoldCompact(Preferences.getEditor("AllFoldCompact"))
36 try:
37 self.setInitialSpaces(Preferences.getEditor("PropertiesInitialSpaces"))
38 except AttributeError:
39 pass
36 40
37 def isCommentStyle(self, style): 41 def isCommentStyle(self, style):
38 """ 42 """
39 Public method to check, if a style is a comment style. 43 Public method to check, if a style is a comment style.
40 44

eric ide

mercurial