findLabel.setText(EditorMessages.FindReplace_Find_label);
setGridData(findLabel, SWT.LEFT, false, SWT.CENTER, false);
// Create the find content assist field
ComboContentAdapter contentAdapter= new ComboContentAdapter();
FindReplaceDocumentAdapterContentProposalProvider findProposer= new FindReplaceDocumentAdapterContentProposalProvider(true);
fFindField= new Combo(panel, SWT.DROP_DOWN | SWT.BORDER);
fContentAssistFindField= new ContentAssistCommandAdapter(
fFindField,
contentAdapter,
findProposer,
ITextEditorActionDefinitionIds.CONTENT_ASSIST_PROPOSALS,
new char[0],
true);
setGridData(fFindField, SWT.FILL, true, SWT.CENTER, false);
addDecorationMargin(fFindField);
fFindField.addModifyListener(fFindModifyListener);
fReplaceLabel= new Label(panel, SWT.LEFT);
fReplaceLabel.setText(EditorMessages.FindReplace_Replace_label);
setGridData(fReplaceLabel, SWT.LEFT, false, SWT.CENTER, false);
// Create the replace content assist field
FindReplaceDocumentAdapterContentProposalProvider replaceProposer= new FindReplaceDocumentAdapterContentProposalProvider(false);
fReplaceField= new Combo(panel, SWT.DROP_DOWN | SWT.BORDER);
fContentAssistReplaceField= new ContentAssistCommandAdapter(
fReplaceField,
contentAdapter, replaceProposer,
ITextEditorActionDefinitionIds.CONTENT_ASSIST_PROPOSALS,