Beispiel #1
0
 internal static void AugmentQuickInfoWorker(System.Collections.Generic.IList<object> quickInfoContent, QuickInfo quickInfo, out ITrackingSpan applicableToSpan) {
     if (quickInfo != null) {
         quickInfoContent.Add(quickInfo.Text);
         applicableToSpan = quickInfo.Span;
     } else {
         applicableToSpan = null;
     }
 }
Beispiel #2
0
 public static void AddQuickInfo(ITextView view, QuickInfo info)
 {
     view.Properties[typeof(QuickInfo)] = info;
 }
Beispiel #3
0
 internal static void AugmentQuickInfoWorker(System.Collections.Generic.IList <object> quickInfoContent, QuickInfo quickInfo, out ITrackingSpan applicableToSpan)
 {
     if (quickInfo != null)
     {
         quickInfoContent.Add(quickInfo.Text);
         applicableToSpan = quickInfo.Span;
     }
     else
     {
         applicableToSpan = null;
     }
 }
Beispiel #4
0
 public static void AddQuickInfo(ITextView view, QuickInfo info) {
     view.Properties[typeof(QuickInfo)] = info;
 }
 public static void AddQuickInfo(ITextBuffer buffer, QuickInfo info)
 {
     buffer.Properties[typeof(QuickInfo)] = info;
 }