Exemple #1
0
 public HlslCompletionSet(ICompletionSession session, CompletionModelManager completionModelManager, DispatcherGlyphService glyphService)
 {
     _session = session;
     _completionModelManager = completionModelManager;
     _glyphService           = glyphService;
     _completionModelManager.ModelChanged += CompletionModelManagerOnModelChanged;
     _session.Dismissed += SessionOnDismissed;
     Refresh();
 }
Exemple #2
0
 public CompletionCommandHandler(IVsTextView adapter, IWpfTextView textView, CompletionModelManager completionModelManager)
     : base(adapter, textView,
            VSConstants.VSStd2KCmdID.TYPECHAR,
            VSConstants.VSStd2KCmdID.RETURN,
            VSConstants.VSStd2KCmdID.TAB,
            VSConstants.VSStd2KCmdID.BACKSPACE,
            VSConstants.VSStd2KCmdID.DELETE)
 {
     _completionModelManager = completionModelManager;
 }
Exemple #3
0
 public CompletionCommandHandlerTriggers(IVsTextView adapter, IWpfTextView textView, CompletionModelManager completionModelManager)
     : base(adapter, textView, VSConstants.VSStd2KCmdID.SHOWMEMBERLIST, VSConstants.VSStd2KCmdID.COMPLETEWORD)
 {
     _completionModelManager = completionModelManager;
 }