sorry for late reply

the way it works in opera and probably other applications is:

eg, lets say you select some words, then you click delete (you delete them all at once)
if you click ctrl+z/undo it will restore the deleted words, but it wont restore the highlighting, the words wont be selected/highlighted, but the cursor will be at the end of the previous selection