4977 ) |
4977 ) |
4978 |
4978 |
4979 # to avoid errors due to line endings by pasting |
4979 # to avoid errors due to line endings by pasting |
4980 self.SendScintilla(QsciScintilla.SCI_SETPASTECONVERTENDINGS, True) |
4980 self.SendScintilla(QsciScintilla.SCI_SETPASTECONVERTENDINGS, True) |
4981 |
4981 |
|
4982 self.setPrintColorMode(Preferences.getEditor("PrintColorMode")) |
|
4983 |
4982 self.__markerMap.setEnabled(True) |
4984 self.__markerMap.setEnabled(True) |
4983 |
4985 |
4984 def __setEolMode(self): |
4986 def __setEolMode(self): |
4985 """ |
4987 """ |
4986 Private method to configure the eol mode of the editor. |
4988 Private method to configure the eol mode of the editor. |