--- a/eric6/Preferences/ConfigurationPages/EditorPropertiesPage.py Mon Sep 02 18:50:38 2019 +0200 +++ b/eric6/Preferences/ConfigurationPages/EditorPropertiesPage.py Mon Sep 02 18:51:38 2019 +0200 @@ -9,8 +9,6 @@ from __future__ import unicode_literals -from QScintilla.QsciScintillaCompat import QSCINTILLA_VERSION - from .ConfigurationPageBase import ConfigurationPageBase from .Ui_EditorPropertiesPage import Ui_EditorPropertiesPage @@ -304,16 +302,15 @@ 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()) + Preferences.setEditor( + "CppHighlightBackQuotedStrings", + self.cppHighlightBackQuotedCheckBox.isChecked()) + Preferences.setEditor( + "CppHighlightEscapeSequences", + self.cppHighlightEsacepSequencesCheckBox.isChecked()) + Preferences.setEditor( + "CppVerbatimStringEscapeSequencesAllowed", + self.cppVerbatimStringEscapeAllowedCheckBox.isChecked()) # CMake Preferences.setEditor(