--- a/Preferences/ConfigurationPages/EditorPropertiesPage.py Tue Apr 07 13:56:03 2015 +0200 +++ b/Preferences/ConfigurationPages/EditorPropertiesPage.py Tue Apr 07 18:58:19 2015 +0200 @@ -72,6 +72,18 @@ Preferences.getEditor("CppHighlightHashQuotedStrings")) else: self.cppHighlightHashQuotedCheckBox.setEnabled(False) + if QSCINTILLA_VERSION() >= 0x020900: + self.cppHighlightBackQuotedCheckBox.setChecked( + Preferences.getEditor("CppHighlightBackQuotedStrings")) + self.cppHighlightEsacepSequencesCheckBox.setChecked( + Preferences.getEditor("CppHighlightEscapeSequences")) + self.cppVerbatimStringEscapeAllowedCheckBox.setChecked( + Preferences.getEditor( + "CppVerbatimStringEscapeSequencesAllowed")) + else: + self.cppHighlightBackQuotedCheckBox.setEnabled(False) + self.cppHighlightEsacepSequencesCheckBox.setEnabled(False) + self.cppVerbatimStringEscapeAllowedCheckBox.setEnabled(False) # CMake self.cmakeFoldAtElseCheckBox.setChecked( @@ -352,6 +364,16 @@ Preferences.setEditor( "CppHighlightHashQuotedStrings", self.cppHighlightHashQuotedCheckBox.isChecked()) + if QSCINTILLA_VERSION() >= 0x020900: + Preferences.setEditor( + "CppHighlightBackQuotedStrings", + self.cppHighlightBackQuotedCheckBox.isChecked()) + Preferences.setEditor( + "CppHighlightEscapeSequences", + self.cppHighlightEsacepSequencesCheckBox.isChecked()) + Preferences.setEditor( + "CppVerbatimStringEscapeSequencesAllowed", + self.cppVerbatimStringEscapeAllowedCheckBox.isChecked()) # CMake Preferences.setEditor(