35 """ |
35 """ |
36 try: |
36 try: |
37 self.setFoldCompact(Preferences.getEditor("AllFoldCompact")) |
37 self.setFoldCompact(Preferences.getEditor("AllFoldCompact")) |
38 except AttributeError: |
38 except AttributeError: |
39 pass |
39 pass |
|
40 try: |
|
41 self.setFoldComments(Preferences.getEditor("TclFoldComment")) |
|
42 except AttributeError: |
|
43 pass |
40 |
44 |
41 def isCommentStyle(self, style): |
45 def isCommentStyle(self, style): |
42 """ |
46 """ |
43 Public method to check, if a style is a comment style. |
47 Public method to check, if a style is a comment style. |
44 |
48 |