changeset 265:be761c3dd66a

[fix] Bug ID 1815120 : Using Courier 10 as font for source code and line numbers now, if syntax highlighting is disabled. http://universalindent.sf.net/issue/1815120 git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@479 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Wed, 17 Oct 2007 13:34:18 +0000
parents 819b1c87fc36
children 58becc47e878
files src/highlighter.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/highlighter.cpp	Wed Oct 17 13:09:32 2007 +0000
+++ b/src/highlighter.cpp	Wed Oct 17 13:34:18 2007 +0000
@@ -119,6 +119,8 @@
 void Highlighter::turnHighlightOff() {
     highlightningIsOn = false;
 	parent->setLexer();
+    parent->setFont( QFont("Courier", 10, QFont::Normal) );
+    parent->setMarginsFont( QFont("Courier", 10, QFont::Normal) );
 }