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.

Bug 159016

Summary: Block highlight lost after undo
Product: editor Reporter: nigel_bris <nigel_bris>
Component: -- Other --Assignee: issues@editor <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: emononen
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description nigel_bris 2009-02-23 22:50:23 UTC
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..
Comment 1 Erno Mononen 2009-02-27 07:20:02 UTC
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.
Comment 2 nigel_bris 2009-02-27 09:25:33 UTC
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 ?
Comment 3 Erno Mononen 2010-04-19 14:18:31 UTC
Sorry for the delay - I see what you meant now. This is a general editor issue, so reassigning for evaluation.
Comment 4 Vitezslav Stejskal 2010-04-19 20:39:15 UTC

*** This bug has been marked as a duplicate of bug 183695 ***