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 |