public CommandTargetToOleShim(ITextView textView, ICommandTarget commandTarget) { _commandTarget = commandTarget; if (textView != null) { _variantStacks = CommandTargetToOleShimVariantStacks.EnsureConnected(textView); } }