Exemple #1
0
        public AnkhColorizer(AnkhLanguage language, IVsTextLines lines)
            : base(language)
        {
            if (lines == null)
                throw new ArgumentNullException("lines");

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

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

            _lines = lines;
        }
        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;
        }
Exemple #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;
            }
        }