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(); }
public HistorySearchTask(uint dwCookie, IRHistoryFiltering historyFiltering, IVsSearchQuery pSearchQuery, IVsSearchCallback pSearchCallback) : base(dwCookie, pSearchQuery, pSearchCallback) { _historyFiltering = historyFiltering; }
public HistorySearchTask(uint dwCookie, IRHistoryFiltering historyFiltering, IVsSearchQuery pSearchQuery, IVsSearchCallback pSearchCallback, IServiceContainer services) : base(dwCookie, pSearchQuery, pSearchCallback) { _historyFiltering = historyFiltering; _services = services; }