void (FocusEvent e) { synchronized (ourCaretThread) { if (ourCaretThread.myEditor == EditorImpl.this) { ourCaretThread.myEditor = null; } } int caretLine = getCaretModel().getLogicalPosition().line; repaintLines(caretLine, caretLine); fireFocusLost(); }