예제 #1
0
        public XamlColorizer(ITextEditor editor, TextView textView)
        {
            this.Editor   = editor;
            this.TextView = textView;

            this.weakLineTracker = WeakLineTracker.Register(this.Editor.Document.GetService(typeof(TextDocument)) as TextDocument, this);

            ParserService.LoadSolutionProjectsThreadEnded += ParserServiceLoadSolutionProjectsThreadEnded;

            colorizers.Add(this);
        }
예제 #2
0
		public XamlColorizer(ITextEditor editor, TextView textView)
		{
			this.Editor = editor;
			this.TextView = textView;
			
			this.weakLineTracker = WeakLineTracker.Register(this.Editor.Document.GetService(typeof(TextDocument)) as TextDocument, this);
			
			ParserService.LoadSolutionProjectsThreadEnded += ParserServiceLoadSolutionProjectsThreadEnded;
			
			colorizers.Add(this);
		}