Esempio n. 1
0
 public HlslKeyProcessor(ITextView textView, IIntellisenseSessionStackMapService intellisenseSessionStackMapService, CompletionModelManager completionModelManager, SignatureHelpManager signatureHelpManager)
 {
     _textView = textView;
     _intellisenseSessionStackMapService = intellisenseSessionStackMapService;
     _completionModelManager = completionModelManager;
     _signatureHelpManager = signatureHelpManager;
 }
 public HlslCompletionSet(ICompletionSession session, CompletionModelManager completionModelManager, DispatcherGlyphService glyphService)
 {
     _session = session;
     _completionModelManager = completionModelManager;
     _glyphService = glyphService;
     _completionModelManager.ModelChanged += CompletionModelManagerOnModelChanged;
     _session.Dismissed += SessionOnDismissed;
     Refresh();
 }
Esempio n. 3
0
 public HlslCompletionSet(ICompletionSession session, CompletionModelManager completionModelManager, DispatcherGlyphService glyphService)
 {
     _session = session;
     _completionModelManager = completionModelManager;
     _glyphService           = glyphService;
     _completionModelManager.ModelChanged += CompletionModelManagerOnModelChanged;
     _session.Dismissed += SessionOnDismissed;
     Refresh();
 }
 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;
 }
Esempio n. 5
0
 public CompletionCommandHandlerTriggers(IVsTextView adapter, IWpfTextView textView, CompletionModelManager completionModelManager)
     : base(adapter, textView, VSConstants.VSStd2KCmdID.SHOWMEMBERLIST, VSConstants.VSStd2KCmdID.COMPLETEWORD)
 {
     _completionModelManager = completionModelManager;
 }