Bug 61060

Summary: QtEditor is recording replace as two undo steps instead of one
Product: [Applications] kdevelop Reporter: Jon Smirl <jonsmirl>
Component: QEditorAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED INTENTIONAL    
Severity: normal    
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jon Smirl 2003-07-10 18:40:08 UTC
Version:           CVS (using KDE KDE 3.1)
Installed from:    RedHat RPMs

Select some text and copy it. Select some other text and hit replace.
This will undo in two steps instead of one. Two steps instead of one will probably mess up macro recordings.
Comment 1 Casey Allen Shobe 2003-07-11 04:33:15 UTC
One step for the copy action, and another for the replace action?  Sounds normal to me... 
Comment 2 Casey Allen Shobe 2003-07-11 04:34:38 UTC
Err wait. on second thought, the copy action should be handled by kde, so it shouldn't actually 
be an undo step... 
Comment 3 Jon Smirl 2003-07-11 05:48:24 UTC
The replace is being split into two pieces - delete and insert. 

Try it, it is very easy to reproduce.
Comment 4 Matt Rogers 2006-03-16 21:35:26 UTC
QEditor has been removed for KDevelop 4 and none of these bugs will be fixed 
between now and then.