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

List:       kde-commits
Subject:    KDE/kdelibs/kate/utils
From:       Sebastian Pipping <webmaster () hartwork ! org>
Date:       2007-08-31 19:42:09
Message-ID: 1188589329.020212.19043.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 707017 by sping:

Highlight bug fixed, credits go to rodda


 M  +1 -0      katesearchbar.cpp  


--- trunk/KDE/kdelibs/kate/utils/katesearchbar.cpp #707016:707017
@@ -135,6 +135,7 @@
 
 void KateSearchBar::highlight(const Range & range, const QString & color) {
     SmartRange * const highlight = m_view->doc()->newSmartRange(range, m_topRange);
+    highlight->setInsertBehavior(SmartRange::ExpandRight);
     Attribute::Ptr attribute(new Attribute());
     attribute->setBackground(QColor(color)); // TODO make this part of the color scheme
     highlight->setAttribute(attribute);
[prev in list] [next in list] [prev in thread] [next in thread] 

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