addCheckBox(group, PreferencesMessages.getString(PREFIX + "overwriteMode"), PreferenceConstants.EDITOR_DISABLE_OVERWRITE_MODE);
	protected Control createContents(Composite parent) {		initializeDialogUnits(parent);				Composite result= new Composite(parent, SWT.NONE);		GridLayout layout= new GridLayout();		layout.marginHeight= convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_MARGIN);		layout.marginWidth= 0;		layout.verticalSpacing= convertVerticalDLUsToPixels(10);		layout.horizontalSpacing= convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_SPACING);		result.setLayout(layout);				Group group= new Group(result, SWT.NONE);		group.setLayout(new GridLayout());		group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));		group.setText(PreferencesMessages.getString(PREFIX + "editor")); //$NON-NLS-1$		addCheckBox(group, PreferencesMessages.getString(PREFIX + "markOccurrences"), PreferenceConstants.EDITOR_MARK_OCCURRENCES); //$NON-NLS-1$				addCheckBox(group, PreferencesMessages.getString(PREFIX + "overwriteMode"), PreferenceConstants.EDITOR_DISABLE_OVERWRITE_MODE); //$NON-NLS-1$		createSpacer(group, 1);		Label label= new Label(group, SWT.NONE);		label.setText(PreferencesMessages.getString(PREFIX + "smartTyping.label")); //$NON-NLS-1$		Button button= addCheckBox(group, PreferencesMessages.getString(PREFIX + "smartTyping.smartSemicolon"), PreferenceConstants.EDITOR_SMART_SEMICOLON); //$NON-NLS-1$		fSmartTypingItems.add(button);				button= addCheckBox(group, PreferencesMessages.getString(PREFIX + "smartTyping.smartOpeningBrace"), PreferenceConstants.EDITOR_SMART_OPENING_BRACE); //$NON-NLS-1$		fSmartTypingItems.add(button);				button= addCheckBox(group, PreferencesMessages.getString(PREFIX + "smartTyping.smartTab"), PreferenceConstants.EDITOR_SMART_TAB); //$NON-NLS-1$		fSmartTypingItems.add(button);				/* line change bar */		group= new Group(result, SWT.NONE);		group.setLayout(new GridLayout());		group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));		group.setText(PreferencesMessages.getString(PREFIX + "quickdiff")); //$NON-NLS-1$				Label l= new Label(group, SWT.LEFT );		GridData gd= new GridData(GridData.HORIZONTAL_ALIGN_FILL);		gd.horizontalSpan= 2;		gd.heightHint= convertHeightInCharsToPixels(1) / 2;		l.setLayoutData(gd);			button= addCheckBox(group, PreferencesMessages.getString(PREFIX + "showQuickDiffPerDefault"), ExtendedTextEditorPreferenceConstants.QUICK_DIFF_ALWAYS_ON); //$NON-NLS-1$		button= addCheckBox(group, PreferencesMessages.getString(PREFIX + "quickdiff.characterMode"), ExtendedTextEditorPreferenceConstants.QUICK_DIFF_CHARACTER_MODE); //$NON-NLS-1$				l= new Label(group, SWT.LEFT );		gd= new GridData(GridData.HORIZONTAL_ALIGN_FILL);		gd.horizontalSpan= 2;		gd.heightHint= convertHeightInCharsToPixels(1) / 2;		l.setLayoutData(gd);			l= new Label(group, SWT.LEFT);		l.setText(PreferencesMessages.getString(PREFIX + "quickdiff.referenceprovidertitle")); //$NON-NLS-1$		gd= new GridData(GridData.HORIZONTAL_ALIGN_FILL);		gd.horizontalSpan= 2;		l.setLayoutData(gd);		Composite editorComposite= new Composite(group, SWT.NONE);		layout= new GridLayout();		layout.numColumns= 2;		layout.marginHeight= 0;		layout.marginWidth= 0;		editorComposite.setLayout(layout);		gd= new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.FILL_VERTICAL);		gd.horizontalSpan= 2;		editorComposite.setLayoutData(gd);				fQuickDiffProviderList= new org.eclipse.swt.widgets.List(editorComposite, SWT.SINGLE | SWT.V_SCROLL | SWT.BORDER);		gd= new GridData(GridData.VERTICAL_ALIGN_BEGINNING | GridData.FILL_HORIZONTAL);		gd.heightHint= convertHeightInCharsToPixels(4);		fQuickDiffProviderList.setLayoutData(gd);								Composite stylesComposite= new Composite(editorComposite, SWT.NONE);		layout= new GridLayout();		layout.marginHeight= 0;		layout.marginWidth= 0;		layout.numColumns= 2;		stylesComposite.setLayout(layout);		stylesComposite.setLayoutData(new GridData(GridData.FILL_BOTH));				fSetDefaultButton= new Button(stylesComposite, SWT.PUSH);		fSetDefaultButton.setText(PreferencesMessages.getString(PREFIX + "quickdiff.setDefault")); //$NON-NLS-1$		gd= new GridData(GridData.FILL_HORIZONTAL);		gd.horizontalAlignment= GridData.BEGINNING;		gd.horizontalSpan= 2;		fSetDefaultButton.setLayoutData(gd);				fQuickDiffProviderList.addSelectionListener(new SelectionListener() {			public void widgetDefaultSelected(SelectionEvent e) {				// do nothing			}						public void widgetSelected(SelectionEvent e) {				handleProviderListSelection();			}		});				fSetDefaultButton.addSelectionListener(new SelectionListener() {			public void widgetDefaultSelected(SelectionEvent e) {				// do nothing			}						public void widgetSelected(SelectionEvent e) {				int i= fQuickDiffProviderList.getSelectionIndex();				for (int j= 0; j < fQuickDiffProviderListModel.length; j++) {					if (getPreferenceStore().getString(ExtendedTextEditorPreferenceConstants.QUICK_DIFF_DEFAULT_PROVIDER).equals(fQuickDiffProviderListModel[j][0])) {						fQuickDiffProviderList.remove(j);						fQuickDiffProviderList.add(fQuickDiffProviderListModel[j][1], j);					}					if (i == j) {						fQuickDiffProviderList.remove(j);						fQuickDiffProviderList.add(fQuickDiffProviderListModel[j][1] + " " + PreferencesMessages.getString(PREFIX + "quickdiff.defaultlabel"), j);  //$NON-NLS-1$//$NON-NLS-2$					}				}				fSetDefaultButton.setEnabled(false);				fQuickDiffProviderList.setSelection(i);				fQuickDiffProviderList.redraw();								getPreferenceStore().setValue(ExtendedTextEditorPreferenceConstants.QUICK_DIFF_DEFAULT_PROVIDER, fQuickDiffProviderListModel[i][0]);			}		});				for (int i= 0; i < fQuickDiffProviderListModel.length; i++) {			String sLabel= fQuickDiffProviderListModel[i][1];			if (getPreferenceStore().getString(ExtendedTextEditorPreferenceConstants.QUICK_DIFF_DEFAULT_PROVIDER).equals(fQuickDiffProviderListModel[i][0]))				sLabel += " " + PreferencesMessages.getString(PREFIX + "quickdiff.defaultlabel"); //$NON-NLS-1$ //$NON-NLS-2$			fQuickDiffProviderList.add(sLabel);		}		fQuickDiffProviderList.getDisplay().asyncExec(new Runnable() {			public void run() {				if (fQuickDiffProviderList != null && !fQuickDiffProviderList.isDisposed()) {					fQuickDiffProviderList.select(0);					handleProviderListSelection();				}			}		});		group= new Group(result, SWT.NONE);		group.setLayout(new GridLayout());		group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));		group.setText(PreferencesMessages.getString(PREFIX + "quickassist.group")); //$NON-NLS-1$				button= addCheckBox(group, PreferencesMessages.getString(PREFIX + "quickassist.option"), PreferenceConstants.APPEARANCE_QUICKASSIST_LIGHTBULB); //$NON-NLS-1$ //$NON-NLS-2$		group= new Group(result, SWT.NONE);		group.setLayout(new GridLayout());		group.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));		group.setText(PreferencesMessages.getString(PREFIX + "formatter")); //$NON-NLS-1$				button= addCheckBox(group, PreferencesMessages.getString(PREFIX + "formatter.option"), PREF_FORMATTER); //$NON-NLS-1$				return result;	}