[Webkit-unassigned] [Bug 24789] Select all in an editable document and then delete should put editing back into the same state as a new message

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 24 16:19:34 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=24789





------- Comment #1 from adele at apple.com  2009-03-24 16:19 PDT -------
I did an experiment in DeleteSelectionCommand to detect if the selection to
delete was the whole body, and then to also delete everything in the document. 
It worked pretty well, but I think it might be better to reuse some of the code
that determined all that extra stuff needed to be copied, and then use the same
range that would be copied to decide what to delete.

I'll attach my experimental patch in case anyone's interested.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list