public override CommandResult Invoke(Guid group, int id, object inputArg, ref object outputArg) { var textView = GetLastActiveRTextView(); if (textView != null) { _history.SendSelectedToTextView(textView); } return(CommandResult.Executed); }