コード例 #1
0
 // 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");
 }
コード例 #2
0
ファイル: NSCompletion.cs プロジェクト: jianboqi/NimStudio
 // 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");
 }