public RainbowKeyProcessor(ITextView textView, IRainbowSettings settings) { this.theView = textView; this.theView.LostAggregateFocus += OnLostFocus; this.theView.Closed += OnViewClosed; this.settings = settings; this.pressTime = TimeSpan.FromMilliseconds(settings.RainbowCtrlTimer); }
public RainbowKeyProcessor(ITextView textView, IRainbowSettings settings) { this.theView = textView; this.theView.LostAggregateFocus += OnLostFocus; this.theView.Closed += OnViewClosed; this.settings = settings; pressTime = TimeSpan.FromMilliseconds(settings.RainbowCtrlTimer); }