src/eric7/QScintilla/Editor.py

branch
eric7
changeset 10244
1b67aa43ec93
parent 10188
0f873791d67e
child 10257
904c71a0e37f
diff -r 6a3b0acda958 -r 1b67aa43ec93 src/eric7/QScintilla/Editor.py
--- a/src/eric7/QScintilla/Editor.py	Fri Oct 13 08:30:15 2023 +0200
+++ b/src/eric7/QScintilla/Editor.py	Fri Oct 13 09:10:05 2023 +0200
@@ -4979,6 +4979,8 @@
         # 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