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 |