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;
                }
            }
        }
Beispiel #2
0
 public override AnkhLanguageDropDownBar CreateDropDownBar(AnkhCodeWindowManager manager)
 {
     return(new UnifiedDiffDropDownBar(this, manager));
 }