buffer.remove(lineElement.getEndOffset()-1,1);
buffer.remove(end - 1,jEdit.getLeadingWhiteSpace( buffer.getText(nextStart,nextEnd - nextStart)) + 1);
	public void actionPerformed(ActionEvent evt)	{		View view = getView(evt);		if(!view.getTextArea().isEditable())		{			view.getToolkit().beep();			return;		}		Buffer buffer = view.getBuffer();		Element map = buffer.getDefaultRootElement();		Element lineElement = map.getElement(map.getElementIndex(			view.getTextArea().getCaretPosition()));		if(lineElement.getEndOffset() >= buffer.getLength())		{			view.getToolkit().beep();			return;		}		try		{			buffer.remove(lineElement.getEndOffset()-1,1);		}		catch(BadLocationException bl)		{			bl.printStackTrace();		}	}