if(!textArea.isEditable()) { view.getToolkit().beep(); return; }
	public void actionPerformed(ActionEvent evt)	{		View view = getView(evt);		JEditTextArea textArea = view.getTextArea();		int start = textArea.getSelectionStart();		if(start != textArea.getSelectionEnd())		{			textArea.setSelectedText("");			return;		}		int line = textArea.getCaretLine();		int lineStart = textArea.getLineStartOffset(line);		int caret = start - lineStart;		String lineText = textArea.getLineText(textArea			.getCaretLine());		if(caret == 0)		{			if(lineStart == 0)			{				view.getToolkit().beep();				return;			}			caret--;		}		else		{			String noWordSep = (String)view.getBuffer()				.getProperty("noWordSep");			caret = TextUtilities.findWordStart(lineText,				caret-1,noWordSep);		}		try		{			view.getBuffer().remove(caret + lineStart,					start - (caret + lineStart));		}		catch(BadLocationException bl)		{			Log.log(Log.ERROR,this,bl);		}	}