Bug 48412

Summary: recursive replacement if replacestring contanes findstring in replace all
Product: [Applications] kedit Reporter: Wolfgang Thiess <mail>
Component: generalAssignee: Bernd Wuebben <wuebben>
Status: RESOLVED FIXED    
Severity: grave    
Priority: NOR    
Version: 1.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Wolfgang Thiess 2002-09-28 13:54:03 UTC
Version:           1.3 (using KDE 3.0.3)
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:          Linux (i586) release 2.4.18-4GB

Open kedit.
Type "1 2 3 4"
Place Cursor at Top of File (left of "1")
Open Replace Dialog (Ctrl-R)
Find: 2
Replace with: 22
Replace All
Continue from the beginning?: No

Result is:
"1 2222 3 4"

I expect:
"1 22 3 4"

Regards
Wolfgang
Comment 1 Waldo Bastian 2003-04-20 22:19:36 UTC
Subject: kdelibs/kdeui

CVS commit by waba: 

CCMAIL: 48412-done@bugs.kde.org
Fix find&replace. It's quite crappy indeed.


  M +47 -51    keditcl2.cpp   1.50