Share via


SpanEditHandler.UpdateSpan(Span, TextChange) Method

Definition

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code. Updates the span using the normalized change.

protected virtual System.Web.Razor.Parser.SyntaxTree.SpanBuilder UpdateSpan (System.Web.Razor.Parser.SyntaxTree.Span target, System.Web.Razor.Text.TextChange normalizedChange);
abstract member UpdateSpan : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Text.TextChange -> System.Web.Razor.Parser.SyntaxTree.SpanBuilder
override this.UpdateSpan : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Text.TextChange -> System.Web.Razor.Parser.SyntaxTree.SpanBuilder
Protected Overridable Function UpdateSpan (target As Span, normalizedChange As TextChange) As SpanBuilder

Parameters

target
Span

The span to update.

normalizedChange
TextChange

The normalized change.

Returns

The new span builder for the specified target.

Applies to