public IQuickInfoSession CreateQuickInfoSession(ITextView textView, ITrackingPoint triggerPoint, bool trackMouse) { if (textView == null) throw new ArgumentNullException(nameof(textView)); if (triggerPoint == null) throw new ArgumentNullException(nameof(triggerPoint)); var stack = intellisenseSessionStackMapService.Value.GetStackForTextView(textView); var session = new QuickInfoSession(textView, triggerPoint, trackMouse, intellisensePresenterFactoryService.Value, quickInfoSourceProviders); stack.PushSession(session); return session; }
public IQuickInfoSession CreateQuickInfoSession(ITextView textView, ITrackingPoint triggerPoint, bool trackMouse) { if (textView is null) { throw new ArgumentNullException(nameof(textView)); } if (triggerPoint is null) { throw new ArgumentNullException(nameof(triggerPoint)); } var stack = intellisenseSessionStackMapService.Value.GetStackForTextView(textView); var session = new QuickInfoSession(textView, triggerPoint, trackMouse, intellisensePresenterFactoryService.Value, quickInfoSourceProviders); stack.PushSession(session); return(session); }