Community
Participate
Working Groups
Insert the following snippet inside any Java editor: public void setActiveEditor(IAction action, IEditorPart targetEditor) { if (targetEditor instanceof DUPEditor) editor = (DUPEditor) targetEditor; /*else editor = null; TODO think about this */ } ...and then add /* before the word public so that it becomes: /*public void setActiveEditor(IAction action, IEditorPart targetEditor) { if (targetEditor instanceof DUPEditor) editor = (DUPEditor) targetEditor; /*else editor = null; TODO think about this */ } Now the "editor" part of "editor = null" will be incorrectly highlighted.
please reopen specifying exactly the actual and expected results. Also see http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-text-home/development/bug-incomplete.htm
*** Bug 104984 has been marked as a duplicate of this bug. ***
Get rid of deprecated state.
.