36 """ |
36 """ |
37 Public slot to initialize the properties. |
37 Public slot to initialize the properties. |
38 """ |
38 """ |
39 self.setFoldComments(Preferences.getEditor("CssFoldComment")) |
39 self.setFoldComments(Preferences.getEditor("CssFoldComment")) |
40 self.setFoldCompact(Preferences.getEditor("AllFoldCompact")) |
40 self.setFoldCompact(Preferences.getEditor("AllFoldCompact")) |
|
41 try: |
|
42 self.setHSSLanguage( |
|
43 Preferences.getEditor("CssHssSupport")) |
|
44 self.setLessLanguage( |
|
45 Preferences.getEditor("CssLessSupport")) |
|
46 self.setSCSSLanguage( |
|
47 Preferences.getEditor("CssSassySupport")) |
|
48 except AttributeError: |
|
49 pass |
41 |
50 |
42 def isCommentStyle(self, style): |
51 def isCommentStyle(self, style): |
43 """ |
52 """ |
44 Public method to check, if a style is a comment style. |
53 Public method to check, if a style is a comment style. |
45 |
54 |