コード例 #1
0
        protected override void OnCreate()
        {
            Component = new RHistoryWindowVisualComponent(_historyTextBuffer, _historyProvider, _textEditorFactory, this);

            _history = _historyProvider.GetAssociatedRHistory(Component.TextView);
            _history.HistoryChanged += OnHistoryChanged;
            _historyFiltering        = _historyProvider.CreateFiltering(Component);
            _commandTarget           = new CommandTargetToOleShim(Component.TextView, ServiceManager.GetService <ICommandTarget>(Component.TextView));

            base.OnCreate();
        }
コード例 #2
0
 public HistorySearchTask(uint dwCookie, IRHistoryFiltering historyFiltering, IVsSearchQuery pSearchQuery, IVsSearchCallback pSearchCallback)
     : base(dwCookie, pSearchQuery, pSearchCallback)
 {
     _historyFiltering = historyFiltering;
 }
コード例 #3
0
ファイル: HistoryWindowPane.cs プロジェクト: skrutsick/RTVS
 public HistorySearchTask(uint dwCookie, IRHistoryFiltering historyFiltering, IVsSearchQuery pSearchQuery, IVsSearchCallback pSearchCallback, IServiceContainer services)
     : base(dwCookie, pSearchQuery, pSearchCallback)
 {
     _historyFiltering = historyFiltering;
     _services         = services;
 }