void GotFocus(object sender, EventArgs e) { Log("GotFocus, IsInUpdate=" + textArea.MotherTextEditorControl.IsInUpdate); hidden = false; if (!textArea.MotherTextEditorControl.IsInUpdate) { CreateCaret(); UpdateCaretPosition(); } }