--- a/eric6/QScintilla/Editor.py Mon Sep 02 18:50:38 2019 +0200 +++ b/eric6/QScintilla/Editor.py Mon Sep 02 18:51:38 2019 +0200 @@ -24,7 +24,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 import Preferences @@ -4403,8 +4403,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")