Bug 91048 - Using add/remove quote characters creates multiple Undos
Summary: Using add/remove quote characters creates multiple Undos
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: composer (show other bugs)
Version: 1.7.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-10 11:21 UTC by Kde
Modified: 2009-01-18 17:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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