public VisualGitColorizer(VisualGitLanguage language, IVsTextLines lines) : base(language) { if (lines == null) throw new ArgumentNullException("lines"); _lines = lines; }
public VisualGitCodeWindowManager(VisualGitLanguage language, IVsCodeWindow window) : base(language) { if (window == null) throw new ArgumentNullException("window"); _window = window; _views = new List<IVsTextView>(); if (!TryHookConnectionPoint<IVsCodeWindowEvents>(_window, this, out _cookie)) _cookie = 0; }