public virtual void PostUpdateUI() { lock (this) { // this attempts to cleanup the damage done by updateComponentTreeUI RequestFocus(); SetCaret(GetCaret()); Select(outputMark, outputMark); } }