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 101333 - Tools|Options|JavaCode|Mark Occurences requires file reopen
Summary: Tools|Options|JavaCode|Mark Occurences requires file reopen
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jan Lahoda
URL:
Keywords:
: 101728 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-17 12:58 UTC by Max Sauer
Modified: 2009-11-02 11:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2007-04-17 12:58:27 UTC
Tools|Options|JavaCode|Mark Occurences requires reopening of file to take effect.

Steps to reproduce:
-------------------
1) Open/create a j2se project
2) Open a java file from it
3) Invoke Tools|Options|JavaCode|Mark Occurences and turn whole section off
4) Confirm OD
=> Mark Occurences still active

---
NetBeans IDE Dev (Build 200704161800)
1.6.0_01; Java HotSpot(TM) Client VM 1.6.0_01-b04
SunOS version 5.10 running on sparc
en (nb); ISO646-US
Comment 1 Jan Lahoda 2007-04-17 16:22:58 UTC
Oops. Should be much better now. It is however necessary to move the caret
before the changes are noticed -> P4/future.

Checking in MarkOccurencesHighlighter.java;
/cvs/java/editor/src/org/netbeans/modules/java/editor/semantic/MarkOccurencesHighlighter.java,v
 <--  MarkOccurencesHighlighter.java
new revision: 1.7; previous revision: 1.6
done
Comment 2 Jan Lahoda 2007-04-20 09:46:21 UTC
*** Issue 101728 has been marked as a duplicate of this issue. ***
Comment 3 Jiri Prox 2007-04-20 10:10:21 UTC
Moving caret has no effect. The highlighted areas are always in the state as
they were when the mark occurrences was disabled
Comment 4 Jan Lahoda 2007-04-20 10:23:16 UTC
Well, back to the drawing board...
Comment 5 Jiri Prox 2007-10-17 14:34:29 UTC
Moving cursor now helps  -> P4

Comment 6 Jiri Prox 2008-04-11 00:53:01 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 7 Jan Lahoda 2008-11-18 16:24:46 UTC
later.
Comment 8 Quality Engineering 2009-11-02 11:03:41 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX