area.shiftIndentRight();
if(!line.endsWith("end")) { area.shiftIndentRight(); }
    private void handleInsertEnd(boolean matchesDo, String line) {        String indent = getIndent(matchesDo, line);        area.insertEnterAndIndent();        area.selectLine();        area.setSelectedText(indent + "end");        if (endsNotBalanced()) {            area.deleteLine();        }        area.goToPrevLine(false);        area.goToEndOfWhiteSpace(false);        area.insertEnterAndIndent();        area.selectLine();        String text = area.getSelectedText() != null ? area.getSelectedText().trim() : "";        area.setSelectedText(indent + text);        area.shiftIndentRight();    }