Пример #1
0
 public SignatureHelpManager(ITextView textView, ISignatureHelpBroker signatureHelpBroker, SignatureHelpModelProviderService signatureHelpModelProviderService)
 {
     _textView = textView;
     _textView.Caret.PositionChanged += CaretOnPositionChanged;
     _textView.TextBuffer.PostChanged += TextBufferOnPostChanged;
     _signatureHelpBroker = signatureHelpBroker;
     _signatureHelpModelProviderService = signatureHelpModelProviderService;
 }
 public SignatureHelpManager(ITextView textView, ISignatureHelpBroker signatureHelpBroker, SignatureHelpModelProviderService signatureHelpModelProviderService, VisualStudioSourceTextFactory sourceTextFactory)
 {
     _textView = textView;
     _textView.Caret.PositionChanged += CaretOnPositionChanged;
     _textView.TextBuffer.PostChanged += TextBufferOnPostChanged;
     _signatureHelpBroker = signatureHelpBroker;
     _signatureHelpModelProviderService = signatureHelpModelProviderService;
     _sourceTextFactory = sourceTextFactory;
 }