find.addCurrentToHistory();
		public void actionPerformed(ActionEvent evt)		{			Object source = evt.getSource();			if(evt.getSource() == find)			{				String text = find.getText();				if(text.length() == 0)				{					jEdit.setBooleanProperty("search.hypersearch.toggle",						hyperSearch.isSelected());					SearchAndReplace.showSearchDialog(view,null);				}				else if(hyperSearch.isSelected())				{					find.setText(null);					SearchAndReplace.setSearchString(text);					SearchAndReplace.setSearchFileSet(new CurrentBufferSet());					SearchAndReplace.hyperSearch(view);				}				else				{					// on enter, start search from end					// of current match to find next one					if(!incrementalSearch(view.getTextArea()						.getSelectionEnd()))					{						// not found. start from						// beginning						if(!incrementalSearch(0))						{							// not found at all. beep.							getToolkit().beep();						}					}				}			}			else if(evt.getSource() == hyperSearch)			{				jEdit.setBooleanProperty("search.hypersearch.toggle",					hyperSearch.isSelected());				update();			}			else if(evt.getSource() == ignoreCase)			{				SearchAndReplace.setIgnoreCase(ignoreCase					.isSelected());			}			else if(evt.getSource() == regexp)			{				SearchAndReplace.setRegexp(regexp					.isSelected());			}		}