This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If you select a block of text and then hit delete, the block is deleted, if you press undo (cmd-z), the block returns but it no longer highlighted. Other editors would keep the original highlighting..
Could you please give a specific example where this happens to you? Seems to work for me, or I am not understanding the problem correctly.
select (highlight) a couple of words in a line of code, if you hit delete the selected items disappear... If you hit Ctrl Z to reverse your delete they return ok.. But the selection (highlight) is no longer on the original words you selected so you must select the block again as you may of meant to do something else... Does that make more sense ?
Sorry for the delay - I see what you meant now. This is a general editor issue, so reassigning for evaluation.
*** This bug has been marked as a duplicate of bug 183695 ***