예제 #1
0
        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;
            }
        }
예제 #2
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;
                }
            }
        }
예제 #3
0
 public UnifiedDiffColorizer(UnifiedDiffLanguage language, IVsTextLines lines)
     : base(language, lines)
 {
 }
예제 #4
0
 public UnifiedDiffColorizer(UnifiedDiffLanguage language, IVsTextLines lines)
     : base(language, lines)
 {
 }