buffer.indentLine(textArea,textArea.getCaretLine(),false);
buffer.indentLine(textArea,textArea.getCaretLine(),true,false);
        public void actionPerformed(ActionEvent evt)        {                View view = getView(evt);                Buffer buffer = view.getBuffer();                JEditTextArea textArea = view.getTextArea();		if(!textArea.isEditable())		{			view.getToolkit().beep();			return;		}		textArea.setSelectedText("\n");		int selStart = textArea.getSelectionStart();		int selEnd = textArea.getSelectionEnd();                if(selStart == selEnd			&& buffer.getBooleanProperty("indentOnEnter"))		{			buffer.indentLine(textArea,textArea.getCaretLine(),false);                }        }