コード例 #1
0
 public ForwardFidelityCustomTrackingSpan(TextVersion version, Span span, object customState, CustomTrackToVersion behavior)
     : base(version, span, SpanTrackingMode.Custom)
 {
     if (behavior == null)
     {
         throw new ArgumentNullException(nameof(behavior));
     }
     this.behavior    = behavior;
     this.customState = customState;
 }
コード例 #2
0
 public ITrackingSpan CreateCustomTrackingSpan(Span span, TrackingFidelityMode trackingFidelity, object customState, CustomTrackToVersion behavior)
 {
     throw new NotImplementedException();
 }
コード例 #3
0
ファイル: TextVersionMock.cs プロジェクト: zachwieja/RTVS
 public ITrackingSpan CreateCustomTrackingSpan(Span span, TrackingFidelityMode trackingFidelity, object customState, CustomTrackToVersion behavior)
 {
     return(new TrackingSpanMock(TextBuffer, span, SpanTrackingMode.EdgePositive, trackingFidelity));
 }
コード例 #4
0
 public ITrackingSpan CreateCustomTrackingSpan(Span span, TrackingFidelityMode trackingFidelity, object customState, CustomTrackToVersion behavior) {
     throw new NotImplementedException();
 }
コード例 #5
0
ファイル: TextVersion.cs プロジェクト: zcf7822/monodevelop
 public ITrackingSpan CreateCustomTrackingSpan(Span span, TrackingFidelityMode trackingFidelity, object customState, CustomTrackToVersion behavior)
 {
     if (behavior == null)
     {
         throw new ArgumentNullException("behavior");
     }
     if (trackingFidelity != TrackingFidelityMode.Forward)
     {
         throw new NotImplementedException();
     }
     return(new ForwardFidelityCustomTrackingSpan(this, span, customState, behavior));
 }
コード例 #6
0
 public ITrackingSpan CreateCustomTrackingSpan(VisualStudio.Text.Span span, TrackingFidelityMode trackingFidelity, object customState, CustomTrackToVersion behavior) => throw new NotImplementedException();
コード例 #7
0
 public ITrackingSpan CreateCustomTrackingSpan(Span span, TrackingFidelityMode trackingFidelity, object customState, CustomTrackToVersion behavior)
 {
     return new TrackingSpanMock(TextBuffer, span, SpanTrackingMode.EdgePositive, trackingFidelity);
 }
コード例 #8
0
 public ITrackingSpan CreateCustomTrackingSpan(Span span, TrackingFidelityMode trackingFidelity, object customState, CustomTrackToVersion behavior)
 {
     if (behavior == null)
     {
         throw new ArgumentNullException(nameof(behavior));
     }
     throw new NotImplementedException();
 }