public void RunWhenLoaded(Action action)
 {
     if (action == null)
     {
         throw new ArgumentNullException(nameof(action));
     }
     textEditorImpl.RunWhenLoaded(action);
 }