// IVsTextView textViewAdapter // textView = adapterFactory.CreateVsTextViewAdapter(GetService(typeof(IOleServiceProvider)) as IOleServiceProvider); public NSCompletionSource(NSCompletionSourceProvider sourceProvider, ITextBuffer textBuffer, IGlyphService glyphService) { m_sourceProvider = sourceProvider; m_textBuffer = textBuffer; m_glyphservice = glyphService; GlyphAdd("int"); GlyphAdd("float"); GlyphAdd("string"); }