QScintilla/Lexers/LexerSQL.py

changeset 948
fe7b94ed01ec
parent 945
8cd4d08fa9f6
child 1131
7781e396c903
equal deleted inserted replaced
946:daf90a162be4 948:fe7b94ed01ec
33 Public slot to initialize the properties. 33 Public slot to initialize the properties.
34 """ 34 """
35 self.setFoldComments(Preferences.getEditor("SqlFoldComment")) 35 self.setFoldComments(Preferences.getEditor("SqlFoldComment"))
36 self.setBackslashEscapes(Preferences.getEditor("SqlBackslashEscapes")) 36 self.setBackslashEscapes(Preferences.getEditor("SqlBackslashEscapes"))
37 self.setFoldCompact(Preferences.getEditor("AllFoldCompact")) 37 self.setFoldCompact(Preferences.getEditor("AllFoldCompact"))
38 try:
39 self.setDottedWords(Preferences.getEditor("SqlDottedWords"))
40 self.setFoldAtElse(Preferences.getEditor("SqlFoldAtElse"))
41 self.setFoldOnlyBegin(Preferences.getEditor("SqlFoldOnlyBegin"))
42 self.setHashComments(Preferences.getEditor("SqlHashComments"))
43 self.setQuotedIdentifiers(Preferences.getEditor("SqlQuotedIdentifiers"))
44 except AttributeError:
45 pass
38 46
39 def isCommentStyle(self, style): 47 def isCommentStyle(self, style):
40 """ 48 """
41 Public method to check, if a style is a comment style. 49 Public method to check, if a style is a comment style.
42 50

eric ide

mercurial