Bug 91048

Summary: Using add/remove quote characters creates multiple Undos
Product: [Applications] kmail Reporter: Kde <kde>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.7.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Kde 2004-10-10 11:21:01 UTC
Version:           1.7.1 (using KDE 3.3.0, SuSE)
Compiler:          gcc version 3.3.3 (SuSE Linux)
OS:                Linux (i686) release 2.6.8-20040930181146-smp

Using the 'Edit->Add quote characters' or 'Edit->Remove quote characters' functions in a message composition window creates three undo steps for each call. This is unexpected by the user.

What should be changed:
- make both commands create one (atomic) undo entry in the undo history
Comment 1 Thomas McGuire 2009-01-18 17:13:37 UTC
SVN commit 913001 by tmcguire:

Fix add and remove quote characters to not destroy HTML formatting, and make
the remove function work correctly on the selection.
Also, make undo/redo atomic.

In general, the whole quoting and line wrapping code could use a good rewrite.

BUG: 91048


 M  +29 -56    kmeditor.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=913001