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

List:       kde-commits
Subject:    kdelibs/kate/part
From:       Christoph Cullmann <crossfire () babylon2k ! de>
Date:       2003-11-23 22:08:45
[Download RAW message or body]

CVS commit by cullmann: 

trivial fix: change the fontsize not only in the view on update, but in the \
leftborder for the linenumbers, too, or you end up with wrong line numbers after \
hitting the increase/lower font size button


  M +6 -1      kateview.cpp   1.321


--- kdelibs/kate/part/kateview.cpp  #1.320:1.321
@@ -1198,6 +1198,11 @@ void KateView::updateRendererConfig()
   m_toggleWWMarker->setChecked( m_renderer->config()->wordWrapMarker()  );
 
+  // update the text area
   m_viewInternal->updateView (true);
   m_viewInternal->repaint ();
+  
+  // update the left border right, for example linenumbers
+  m_viewInternal->leftBorder->updateFont();
+  m_viewInternal->leftBorder->repaint ();
 }
 


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

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