Exemplo n.º 1
0
        public AnkhColorizer(AnkhLanguage language, IVsTextLines lines)
            : base(language)
        {
            if (lines == null)
                throw new ArgumentNullException("lines");

            _lines = lines;
        }
Exemplo n.º 2
0
        public AnkhLanguageDropDownBar(AnkhLanguage language, AnkhCodeWindowManager manager)
            : base(language)
        {
            if (manager == null)
            {
                throw new ArgumentNullException("manager");
            }

            _manager = manager;
        }
Exemplo n.º 3
0
        public AnkhColorizer(AnkhLanguage language, IVsTextLines lines)
            : base(language)
        {
            if (lines == null)
            {
                throw new ArgumentNullException("lines");
            }

            _lines = lines;
        }
Exemplo n.º 4
0
        public AnkhCodeWindowManager(AnkhLanguage 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;
        }
Exemplo n.º 5
0
        public AnkhCodeWindowManager(AnkhLanguage 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;
            }
        }