internal void AddOverlay(Control messageOverlayContent, Func <int> sizeFunc)
 {
     textEditorImpl.AddOverlay(messageOverlayContent, sizeFunc);
 }