public UnifiedDiffDropDownBar(UnifiedDiffLanguage language, AnkhCodeWindowManager manager) : base(language, manager) { IVsTextView view = EnumTools.GetFirst(manager.GetViews()); if (ErrorHandler.Succeeded(view.GetBuffer(out _buffer))) { if (!TryHookConnectionPoint<IVsTextLinesEvents>(_buffer, this, out _linesCookie)) _linesCookie = 0; } }
public UnifiedDiffDropDownBar(UnifiedDiffLanguage language, AnkhCodeWindowManager manager) : base(language, manager) { IVsTextView view = EnumTools.GetFirst(manager.GetViews()); if (VSErr.Succeeded(view.GetBuffer(out _buffer))) { if (!TryHookConnectionPoint <IVsTextLinesEvents>(_buffer, this, out _linesCookie)) { _linesCookie = 0; } } }
public UnifiedDiffColorizer(UnifiedDiffLanguage language, IVsTextLines lines) : base(language, lines) { }