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: |
36 try: |
37 self.setInitialSpaces(Preferences.getEditor("PropertiesInitialSpaces")) |
37 self.setInitialSpaces( |
|
38 Preferences.getEditor("PropertiesInitialSpaces")) |
38 except AttributeError: |
39 except AttributeError: |
39 pass |
40 pass |
40 |
41 |
41 def isCommentStyle(self, style): |
42 def isCommentStyle(self, style): |
42 """ |
43 """ |