src/eric7/QScintilla/Editor.py

branch
eric7-maintenance
changeset 10272
7ae72d1df070
parent 10222
1146cc8fbf5d
parent 10257
904c71a0e37f
child 10349
df7edc29cbfb
--- a/src/eric7/QScintilla/Editor.py	Thu Oct 05 10:06:49 2023 +0200
+++ b/src/eric7/QScintilla/Editor.py	Tue Oct 31 09:22:17 2023 +0100
@@ -4976,9 +4976,15 @@
                 QsciScintilla.SCI_SETMOUSEDWELLTIME, QsciScintilla.SC_TIME_FOREVER
             )
 
+        self.setRectangularSelectionModifier(
+            Preferences.getEditor("RectangularSelectionModifier")
+        )
+
         # to avoid errors due to line endings by pasting
         self.SendScintilla(QsciScintilla.SCI_SETPASTECONVERTENDINGS, True)
 
+        self.setPrintColorMode(Preferences.getEditor("PrintColorMode"))
+
         self.__markerMap.setEnabled(True)
 
     def __setEolMode(self):

eric ide

mercurial