public void NotifyMouseHover(IEditorView view, RoutedEventArgsEx e) { var state = GetState(view); var result = view.SyntaxEditor.HitTest(state.LastMousePosition); var context = tagInfoProvider.GetContext(result) as LinkTagContext; if (state.Session == null && context != null) { tagInfoProvider.RequestSession(view, context, canTrackMouse: false); state.Session = view.SyntaxEditor.IntelliPrompt.Sessions.OfType <IQuickInfoSession>() .FirstOrDefault(s => s.Context == context); if (state.Session != null) { state.Session.Closed += delegate { state.Session = null; }; } } }
public void NotifyMouseHover(IEditorView view, RoutedEventArgsEx e) { var state = GetState(view); var result = view.SyntaxEditor.HitTest(state.LastMousePosition); var context = tagInfoProvider.GetContext(result) as LinkTagContext; if (state.Session == null && context != null) { tagInfoProvider.RequestSession(view, context, canTrackMouse: false); state.Session = view.SyntaxEditor.IntelliPrompt.Sessions.OfType<IQuickInfoSession>() .FirstOrDefault(s => s.Context == context); if (state.Session != null) { state.Session.Closed += delegate { state.Session = null; }; } } }
public void NotifyMouseHover(IEditorView view, RoutedEventArgsEx e) { }