QScintilla/Lexers/LexerCSS.py

changeset 2261
f4bb5648fc29
parent 1509
c0b5e693b0eb
child 2302
f29e9405c851
equal deleted inserted replaced
2260:e5146f38a03a 2261:f4bb5648fc29
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

eric ide

mercurial