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 |