caretLine = line;
void doPageEnd() {	// go to end of line if in single line mode. fixes 5673	if (isSingleLine()) {		doLineEnd();	}	else {		int line = getBottomIndex();		int bottomCaretOffset = content.getOffsetAtLine(line) + content.getLine(line).length();				if (caretOffset < bottomCaretOffset) {			caretOffset = bottomCaretOffset;			caretLine = line;			showCaret();		}	}}