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 |