String getTextWithoutLine() {
private String getTextWithoutLine() {
    String getTextWithoutLine() {        if(textWithoutLine == null) {            int caretPosition = textArea.getCaretPosition();            int line = textArea.getLineOfOffset(caretPosition);            int start = textArea.getLineStartOffset(line);            int end = textArea.getLineEndOffset(line);            StringBuffer text = new StringBuffer();            text.append(buffer.getText(0, start));            if(buffer.getLength() > end) {                text.append(buffer.getText(end, buffer.getLength() - end));            }            textWithoutLine = text.toString();        }        return textWithoutLine;    }