[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdevelop/parts/qeditor
From:       Roberto Raggi <raggi () cli ! di ! unipi ! it>
Date:       2003-01-13 10:43:47
[Download RAW message or body]

CVS commit by raggi: 

fixed QEditor::updateStyles() patch by Milo Hoffman


  M +2 -2      qeditor.cpp   1.36


--- kdevelop/parts/qeditor/qeditor.cpp  #1.35:1.36
@@ -304,7 +304,7 @@ void QEditor::updateStyles()
     QSourceColorizer* colorizer = dynamic_cast<QSourceColorizer*>( document()->preProcessor() );
     if( colorizer ){
+        setFont( colorizer->format( 0 )->font() );
         setTabStopWidth( colorizer->format(0)->width('x') * tabwidth );
         document()->setTabStops( colorizer->format(0)->width('x') * tabwidth );
-        setFont( colorizer->format( 0 )->font() );
     }
     KTextEdit::updateStyles();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic