internal BraceMatchingPresenter(IWpfTextView textView, ITextMarkerProviderFactory textMarkerProviderFactory) { this.textView = textView; this.braceMatcher = new PyBraceMatchProvider(); this.textView.Caret.PositionChanged += new EventHandler<CaretPositionChangedEventArgs>(Caret_PositionChanged); this.textMarkerProviderFactory = textMarkerProviderFactory; }
internal BraceMatchingPresenter(IWpfTextView textView, ITextMarkerProviderFactory textMarkerProviderFactory) { this.textView = textView; this.braceMatcher = new PyBraceMatchProvider(); this.textView.Caret.PositionChanged += new EventHandler <CaretPositionChangedEventArgs>(Caret_PositionChanged); this.textMarkerProviderFactory = textMarkerProviderFactory; }