On Wed, Oct 26, 2011 at 4:03 PM, Ehsan Akhgari <eh...@mozilla.com> wrote: >> Say you had "hello world" and "world" is deleted by an user. When the >> user undoes the deletion, WebKit selects "world" whereas Firefox and >> Internet Explorer do not select "world". WebKit's behavior matches >> Mac's NSTextView and we probably would like to keep the current >> behavior. > > This confuses me. I think that WebKit's behavior doesn't make a lot of sense > (at least in every case). For example, when Ctrl+Backspacing after a word. > But moreover, why is this relevant to the question of whether/how we should > restore a selection after undoing an operation?
I was assuming that Ryosuke meant that the word "world" was selected, and the user hit delete, then undo. So it was selected before the delete, and undoing should re-select it.