eric6/Preferences/ConfigurationPages/EditorPropertiesPage.py

branch
without_py2_and_pyqt4
changeset 7202
d2f2a1fe0129
parent 6942
2602857055c5
child 7229
53054eb5b15a
--- 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(

eric ide

mercurial