find.addCurrentToHistory(); SearchAndReplace.setSearchString(find.getText()); replace.addCurrentToHistory(); SearchAndReplace.setReplaceString(replace.getText());
if(find.getText().length() != 0) { find.addCurrentToHistory(); SearchAndReplace.setSearchString(find.getText()); replace.addCurrentToHistory(); SearchAndReplace.setReplaceString(replace.getText()); }
	private void save()	{		find.addCurrentToHistory();		SearchAndReplace.setSearchString(find.getText());		replace.addCurrentToHistory();		SearchAndReplace.setReplaceString(replace.getText());		jEdit.setBooleanProperty("search.keepDialog.toggle",keepDialog			.isSelected());		SearchAndReplace.setIgnoreCase(ignoreCase.isSelected());		SearchAndReplace.setRegexp(regexp.isSelected());		SearchAndReplace.setSearchFileSet(fileset);	}