Пример #1
0
 public void Update(VarTag newTag)
 {
     Tag = newTag;
     
     var point = newTag.Line.Snapshot.CreateTrackingPoint(newTag.Line.Start + newTag.Info.Groups["var"].Index, Microsoft.VisualStudio.Text.PointTrackingMode.Positive);
     var session = QuickInfo.CreateQuickInfoSession(View, point, false);
     session.PresenterChanged += Session_PresenterChanged;
     session.QuickInfoContent.CollectionChanged += QuickInfoContent_CollectionChanged;
     session.Start();
 }
Пример #2
0
 public VarAdorner(IWpfTextView view, VarTag tag, IQuickInfoBroker quickInfo)
 {
     tag = Tag;
     View = view;
     QuickInfo = quickInfo;
 }