Bug 61383 [preferences] Syntax highlighting list not updated on Restore Defaults
- enable advanced highlighting -> advanced highightings appear in list - Restore Defaults -> advanced highlighting becomes disabled but the highlightings are not removed from the list
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorPreferencePage.java
addCheckBox(group, label, PreferenceConstants.EDITOR_CLOSE_BRACKETS, 1);
		label= PreferencesMessages.getString("JavaEditorPreferencePage.closeBraces"); 
		addCheckBox(group, label, PreferenceConstants.EDITOR_CLOSE_BRACES, 1);
		label= PreferencesMessages.getString("JavaEditorPreferencePage.closeJavaDocs"); 
		master= addCheckBox(group, label, PreferenceConstants.EDITOR_CLOSE_JAVADOCS, 1);
		label= PreferencesMessages.getString("JavaEditorPreferencePage.addJavaDocTags"); 
		slave= addCheckBox(group, label, PreferenceConstants.EDITOR_ADD_JAVADOC_TAGS, 1);
		createDependency(master, PreferenceConstants.EDITOR_CLOSE_JAVADOCS, slave);
		label= PreferencesMessages.getString("JavaEditorPreferencePage.typing.smartSemicolon"); 
		addCheckBox(group, label, PreferenceConstants.EDITOR_SMART_SEMICOLON, 1);
		
		label= PreferencesMessages.getString("JavaEditorPreferencePage.typing.smartOpeningBrace"); 
		addCheckBox(group, label, PreferenceConstants.EDITOR_SMART_OPENING_BRACE, 1);
		
		label= PreferencesMessages.getString("JavaEditorPreferencePage.typing.smartTab"); 
		addCheckBox(group, label, PreferenceConstants.EDITOR_SMART_TAB, 1);
		return composite;
	}
	
	private void addFiller(Composite composite) {
		Label filler= new Label(composite, SWT.LEFT );
		GridData gd= new GridData(GridData.HORIZONTAL_ALIGN_FILL);
		gd.horizontalSpan= 2;
		gd.heightHint= convertHeightInCharsToPixels(1) / 2;
		filler.setLayoutData(gd);
	}
	
	private static void indent(Control control) {
		GridData gridData= new GridData();
		gridData.horizontalIndent= 20;