eric6/QScintilla/Editor.py

changeset 7746
12d5e1e6abd1
parent 7730
20b05e846148
child 7749
285855999b4e
equal deleted inserted replaced
7745:43888e12e481 7746:12d5e1e6abd1
25 25
26 from E5Gui.E5Application import e5App 26 from E5Gui.E5Application import e5App
27 from E5Gui import E5FileDialog, E5MessageBox 27 from E5Gui import E5FileDialog, E5MessageBox
28 from E5Utilities.E5Cache import E5Cache 28 from E5Utilities.E5Cache import E5Cache
29 29
30 from .QsciScintillaCompat import QsciScintillaCompat, QSCINTILLA_VERSION 30 from .QsciScintillaCompat import QsciScintillaCompat
31 from .EditorMarkerMap import EditorMarkerMap 31 from .EditorMarkerMap import EditorMarkerMap
32 from .SpellChecker import SpellChecker 32 from .SpellChecker import SpellChecker
33 33
34 import Preferences 34 import Preferences
35 import Utilities 35 import Utilities
4591 self.setCaretLineAlwaysVisible( 4591 self.setCaretLineAlwaysVisible(
4592 Preferences.getEditor("CaretLineAlwaysVisible")) 4592 Preferences.getEditor("CaretLineAlwaysVisible"))
4593 self.caretWidth = Preferences.getEditor("CaretWidth") 4593 self.caretWidth = Preferences.getEditor("CaretWidth")
4594 self.setCaretWidth(self.caretWidth) 4594 self.setCaretWidth(self.caretWidth)
4595 self.caretLineFrameWidth = Preferences.getEditor("CaretLineFrameWidth") 4595 self.caretLineFrameWidth = Preferences.getEditor("CaretLineFrameWidth")
4596 if QSCINTILLA_VERSION() >= 0x020B00: 4596 self.setCaretLineFrameWidth(self.caretLineFrameWidth)
4597 self.setCaretLineFrameWidth(self.caretLineFrameWidth)
4598 self.useMonospaced = Preferences.getEditor("UseMonospacedFont") 4597 self.useMonospaced = Preferences.getEditor("UseMonospacedFont")
4599 self.setMonospaced(self.useMonospaced) 4598 self.setMonospaced(self.useMonospaced)
4600 edgeMode = Preferences.getEditor("EdgeMode") 4599 edgeMode = Preferences.getEditor("EdgeMode")
4601 edge = QsciScintilla.EdgeMode(edgeMode) 4600 edge = QsciScintilla.EdgeMode(edgeMode)
4602 self.setEdgeMode(edge) 4601 self.setEdgeMode(edge)

eric ide

mercurial