int line = content.getLineAtOffset(caretOffset); int lineOffset = content.getOffsetAtLine(line); if (caretOffset > lineOffset && line == caretLine) {
int caretLine = getCaretLine(); int lineOffset = content.getOffsetAtLine(caretLine);  if (caretOffset > lineOffset) {
void doLineStart() {	int line = content.getLineAtOffset(caretOffset);	int lineOffset = content.getOffsetAtLine(line);		if (caretOffset > lineOffset && line == caretLine) {		caretOffset = lineOffset;		showCaret();	}}