コード例 #1
0
ファイル: AnkhColorizer.cs プロジェクト: necora/ank_git
        public AnkhColorizer(AnkhLanguage language, IVsTextLines lines)
            : base(language)
        {
            if (lines == null)
                throw new ArgumentNullException("lines");

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

            _manager = manager;
        }
コード例 #3
0
ファイル: AnkhColorizer.cs プロジェクト: windygu/AnkhSVN
        public AnkhColorizer(AnkhLanguage language, IVsTextLines lines)
            : base(language)
        {
            if (lines == null)
            {
                throw new ArgumentNullException("lines");
            }

            _lines = lines;
        }
コード例 #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;
        }
コード例 #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;
            }
        }