--- a/QScintilla/MiniEditor.py Sat Nov 16 18:02:43 2013 +0100 +++ b/QScintilla/MiniEditor.py Sat Nov 16 18:37:27 2013 +0100 @@ -2460,8 +2460,9 @@ @param on flag to indicate usage of a monospace font (boolean) """ if on: - f = Preferences.getEditorOtherFonts("MonospacedFont") - self.__textEdit.monospacedStyles(f) + if not self.lexer_: + f = Preferences.getEditorOtherFonts("MonospacedFont") + self.__textEdit.monospacedStyles(f) else: if not self.lexer_: self.__textEdit.clearStyles()