Bug#46171: replace within selected text

[email protected] 6 Aug 2002 06:53:38 -0000
Newsgroups gmane.comp.kde.devel.kate
Message-ID <[email protected]>
Package: kate
Version: KDE 3.0.2 
Severity: normal
Installed from:    NetBSD pkgsrc
Compiler:          Not Specified
OS:                NetBSD
OS/Compiler notes: Not Specified

The selected range is not changed as replacement is done; thus if the replace string is longer than the search string the last few replacements can be missed

eg -&-&-&-&- selected, replace & with xx, gives -xx-xx-xx-&- 

or, if replacement<search, it can overshoot:

eg have -xx-xx-xx|xx-xx- with up to | selected; replace xx with & and get -&-&-&|&-xx-


(Submitted via bugs.kde.org)


(Complete bug history is available at http://bugs.kde.org/db/46/46171.html)