67 if QSCINTILLA_VERSION() >= 0x020600: |
67 if QSCINTILLA_VERSION() >= 0x020600: |
68 self.cppHighlightTripleQuotedCheckBox.setChecked( |
68 self.cppHighlightTripleQuotedCheckBox.setChecked( |
69 Preferences.getEditor("CppHighlightTripleQuotedStrings")) |
69 Preferences.getEditor("CppHighlightTripleQuotedStrings")) |
70 else: |
70 else: |
71 self.cppHighlightTripleQuotedCheckBox.setEnabled(False) |
71 self.cppHighlightTripleQuotedCheckBox.setEnabled(False) |
|
72 if QSCINTILLA_VERSION() >= 0x020700: |
|
73 self.cppHighlightHashQuotedCheckBox.setChecked( |
|
74 Preferences.getEditor("CppHighlightHashQuotedStrings")) |
|
75 else: |
|
76 self.cppHighlightHashQuotedCheckBox.setEnabled(False) |
72 |
77 |
73 # CSS |
78 # CSS |
74 self.foldCssCommentCheckBox.setChecked( |
79 self.foldCssCommentCheckBox.setChecked( |
75 Preferences.getEditor("CssFoldComment")) |
80 Preferences.getEditor("CssFoldComment")) |
|
81 if QSCINTILLA_VERSION() >= 0x020700: |
|
82 self.cssHssCheckBox.setChecked( |
|
83 Preferences.getEditor("CssHssSupport")) |
|
84 self.cssLessCheckBox.setChecked( |
|
85 Preferences.getEditor("CssLessSupport")) |
|
86 self.cssSassyCheckBox.setChecked( |
|
87 Preferences.getEditor("CssSassySupport")) |
|
88 else: |
|
89 self.cssHssCheckBox.setEnabled(False) |
|
90 self.cssLessCheckBox.setEnabled(False) |
|
91 self.cssSassyCheckBox.setEnabled(False) |
76 |
92 |
77 # D |
93 # D |
78 self.foldDCommentCheckBox.setChecked( |
94 self.foldDCommentCheckBox.setChecked( |
79 Preferences.getEditor("DFoldComment")) |
95 Preferences.getEditor("DFoldComment")) |
80 self.foldDAtElseCheckBox.setChecked( |
96 self.foldDAtElseCheckBox.setChecked( |
291 Preferences.setEditor("CppStylePreprocessor", |
307 Preferences.setEditor("CppStylePreprocessor", |
292 self.cppStylePreprocessorCheckBox.isChecked()) |
308 self.cppStylePreprocessorCheckBox.isChecked()) |
293 if QSCINTILLA_VERSION() >= 0x020600: |
309 if QSCINTILLA_VERSION() >= 0x020600: |
294 Preferences.setEditor("CppHighlightTripleQuotedStrings", |
310 Preferences.setEditor("CppHighlightTripleQuotedStrings", |
295 self.cppHighlightTripleQuotedCheckBox.isChecked()) |
311 self.cppHighlightTripleQuotedCheckBox.isChecked()) |
|
312 if QSCINTILLA_VERSION() >= 0x020700: |
|
313 Preferences.setEditor("CppHighlightHashQuotedStrings", |
|
314 self.cppHighlightHashQuotedCheckBox.isChecked()) |
296 |
315 |
297 # CSS |
316 # CSS |
298 Preferences.setEditor("CssFoldComment", |
317 Preferences.setEditor("CssFoldComment", |
299 self.foldCssCommentCheckBox.isChecked()) |
318 self.foldCssCommentCheckBox.isChecked()) |
|
319 if QSCINTILLA_VERSION() >= 0x020700: |
|
320 Preferences.setEditor("CssHssSupport", |
|
321 self.cssHssCheckBox.isChecked()) |
|
322 Preferences.setEditor("CssLessSupport", |
|
323 self.cssLessCheckBox.isChecked()) |
|
324 Preferences.setEditor("CssSassySupport", |
|
325 self.cssSassyCheckBox.isChecked()) |
300 |
326 |
301 # D |
327 # D |
302 Preferences.setEditor("DFoldComment", |
328 Preferences.setEditor("DFoldComment", |
303 self.foldDCommentCheckBox.isChecked()) |
329 self.foldDCommentCheckBox.isChecked()) |
304 Preferences.setEditor("DFoldAtElse", |
330 Preferences.setEditor("DFoldAtElse", |