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 205509

Summary: Toggling MarkOccurrencesHighlighter for CSL languages
Product: editor Reporter: emi <emi>
Component: CSL (API & infrastructure)Assignee: Milutin Kristofic <mkristofic>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description emi 2011-11-24 09:03:59 UTC
The IDE has in Options | Editor | Mark Occurrences a way to enable/disable mark occurrences for Java.

This doesn't seem to work for Javascript.

I wonder what would be the best way to programatically do this (via a 3rd party module, at least)?

Perhaps just removing/adding MarkOccurrencesHighlighterFactory from the MimeLookup is enough (assuming there will be a redraw as result of some lookup listeners).

Of course, having the IDE provide this as an option would be nice and consistent.
Comment 1 Martin Balin 2016-07-07 07:29:10 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss