if(view.getBuffer().replaceAll(view, view.getTextArea().getSelectionStart(), view.getTextArea().getSelectionEnd()))
if(view.getBuffer().replaceAll(view,selStart,selEnd))
	public void actionPerformed(ActionEvent evt)	{		save();		Object source = evt.getSource();		if(source == cancel)			dispose();		else if(source == findBtn)		{			if(view.getBuffer().find(view,false))				dispose();		}		else if(source == replaceSelection)		{			if(view.getBuffer().replaceAll(view,				view.getTextArea().getSelectionStart(),				view.getTextArea().getSelectionEnd()))				dispose();			else				getToolkit().beep();		}		else if(source == replaceAll)		{			if(view.getBuffer().replaceAll(view,0,				view.getBuffer().getLength()))				dispose();			else				getToolkit().beep();		}	}