예제 #1
0
			public Helper(SmartIndentationService smartIndentationService, ITextView textView) {
				this.textView = textView;

				textView.Closed += TextView_Closed;
				textView.Options.OptionChanged += Options_OptionChanged;
				textView.TextDataModel.ContentTypeChanged += TextDataModel_ContentTypeChanged;
				SmartIndent = smartIndentationService.CreateSmartIndent(textView);
			}
            public Helper(SmartIndentationService smartIndentationService, ITextView textView)
            {
                this.textView = textView;

                textView.Closed += TextView_Closed;
                textView.Options.OptionChanged            += Options_OptionChanged;
                textView.TextDataModel.ContentTypeChanged += TextDataModel_ContentTypeChanged;
                SmartIndent = smartIndentationService.CreateSmartIndent(textView);
            }