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

List:       kde-commits
Subject:    KDE/kdelibs/kate/part
From:       Anders Lund <anders () alweb ! dk>
Date:       2007-01-31 19:15:07
Message-ID: 1170270907.654579.23430.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 628866 by alund:

get the right position when inserting backreferences

BUG: 134101


 M  +1 -1      katesearch.cpp  


--- trunk/KDE/kdelibs/kate/part/katesearch.cpp #628865:628866
@@ -384,7 +384,7 @@
           kDebug()<<"KateSearch::replaceOne(): you don't have "<<ccap<<" \
backreferences in regexp '"<<m_re.pattern()<<"'"<<endl;  }
       }
-      pos = br.indexIn( replaceWith, pos + qMax(br.matchedLength(), \
(int)sc.length()) ); +      pos = br.indexIn( replaceWith, pos + (int)sc.length());
     }
   }
 


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

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