Ejemplo n.º 1
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);
 }
Ejemplo n.º 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);
 }