Bug 99812 [navigation] Outliner doesn't highlight the name of the package declaration for package-info
RC2. 1) Create a project P with src/bin as source/output folders 2) Create a package 'p' 3) Create a file in this package that contains: @java.lang.Deprecated package p; Click on the package declaration in the outliner and you get the position of the 'p' in Deprecated. It looks like the first 'p' is highlighted. This looks awkwards.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaEditor.java
* @see org.eclipse.ui.texteditor.AbstractDecoratedTextEditor#collectContextMenuPreferencePages()
	 * @since 3.1
	 */
	protected String[] collectContextMenuPreferencePages() {
		String[] ids= super.collectContextMenuPreferencePages();
		String[] more= new String[ids.length + 9];
		more[0]= "org.eclipse.jdt.ui.preferences.JavaEditorPreferencePage"; 
		more[1]= "org.eclipse.jdt.ui.preferences.JavaTemplatePreferencePage"; 
		more[2]= "org.eclipse.jdt.ui.preferences.CodeAssistPreferencePage"; 
		more[3]= "org.eclipse.jdt.ui.preferences.JavaEditorHoverPreferencePage"; 
		more[4]= "org.eclipse.jdt.ui.preferences.JavaEditorColoringPreferencePage"; 
		more[5]= "org.eclipse.jdt.ui.preferences.FoldingPreferencePage"; 
		more[6]= "org.eclipse.jdt.ui.preferences.MarkOccurrencesPreferencePage"; 
		more[7]= "org.eclipse.jdt.ui.preferences.SmartTypingPreferencePage"; 
		more[8]= "org.eclipse.jdt.ui.preferences.LinkedModePreferencePage"; 
		System.arraycopy(ids, 0, more, 9, ids.length);
		return more;
	}
	
	/*
	 * @see AbstractTextEditor#getUndoRedoOperationApprover(IUndoContext)
	 * @since 3.1
	 */
	protected IOperationApprover getUndoRedoOperationApprover(IUndoContext undoContext) {
		
		
		return new NonLocalUndoUserApprover(undoContext, this, new Object [] { getInputJavaElement() }, IResource.class);
	}
}