public RainbowCommandHandler(
     RainbowCommandHandlerProvider provider,
     IVsTextView viewAdapter,
     ITextView textView)
 {
     this.provider = provider;
       this.textView = textView;
       //add the command to the command chain
       viewAdapter.AddCommandFilter(this, out nextCommandHandler);
 }
示例#2
0
 public RainbowCommandHandler(
     RainbowCommandHandlerProvider provider,
     IVsTextView viewAdapter,
     ITextView textView)
 {
     this.provider = provider;
     this.textView = textView;
     //add the command to the command chain
     viewAdapter.AddCommandFilter(this, out nextCommandHandler);
 }