Beispiel #1
0
 public void AnchorPoint2()
 {
     Create(VisualKind.Character, "foo");
     _tracker.Stop();
     _textView.TextBuffer.Replace(new Span(0, 1), "h");
     Assert.True(_tracker._anchorPoint.IsNone());
 }
Beispiel #2
0
 public void AnchorPoint2()
 {
     Create(VisualKind.Character, "foo");
     _tracker.Stop();
     _view.TextBuffer.Replace(new Span(0, 1), "h");
     Assert.AreNotSame(_view.TextSnapshot, _tracker.AnchorPoint.Position.Snapshot);
 }