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 124364

Summary: "Mark Occurrences" doesn't work if file has been opened before option was turned on
Product: cnd Reporter: dnikitin <dnikitin>
Component: -- Other --Assignee: Sergey Grinev <sergius>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description dnikitin 2007-12-21 14:50:19 UTC
Product Version: NetBeans IDE Dev (Build 200712200000)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Linux version 2.6.20-16-generic running on i386; UTF-8; en_US (nb)
-----------------------------------------------------
to reproduce:
1) open source file in editor
2) turn on option "Enable Mark Occurrences" (Tools->Options->C/C++->Semantic Highlighting)
3) try to use "mark occurrences"
==> "Mark occurrences" does not work

workaround:
   close and open source file again, then "mark occurrences" works as expected
Comment 1 Sergey Grinev 2008-01-31 14:16:56 UTC
fixed by next commit: http://hg.netbeans.org/main/rev/b5d8c1ffc3f9
Comment 2 dnikitin 2008-02-04 10:25:27 UTC
Verified in NetBeans IDE Dev (Build 200802040003)