eric6/QScintilla/Editor.py

changeset 7746
12d5e1e6abd1
parent 7730
20b05e846148
child 7749
285855999b4e
diff -r 43888e12e481 -r 12d5e1e6abd1 eric6/QScintilla/Editor.py
--- a/eric6/QScintilla/Editor.py	Sat Oct 03 17:10:01 2020 +0200
+++ b/eric6/QScintilla/Editor.py	Sat Oct 03 17:25:26 2020 +0200
@@ -27,7 +27,7 @@
 from E5Gui import E5FileDialog, E5MessageBox
 from E5Utilities.E5Cache import E5Cache
 
-from .QsciScintillaCompat import QsciScintillaCompat, QSCINTILLA_VERSION
+from .QsciScintillaCompat import QsciScintillaCompat
 from .EditorMarkerMap import EditorMarkerMap
 from .SpellChecker import SpellChecker
 
@@ -4593,8 +4593,7 @@
         self.caretWidth = Preferences.getEditor("CaretWidth")
         self.setCaretWidth(self.caretWidth)
         self.caretLineFrameWidth = Preferences.getEditor("CaretLineFrameWidth")
-        if QSCINTILLA_VERSION() >= 0x020B00:
-            self.setCaretLineFrameWidth(self.caretLineFrameWidth)
+        self.setCaretLineFrameWidth(self.caretLineFrameWidth)
         self.useMonospaced = Preferences.getEditor("UseMonospacedFont")
         self.setMonospaced(self.useMonospaced)
         edgeMode = Preferences.getEditor("EdgeMode")

eric ide

mercurial