SpanEditHandler.UpdateSpan(Span, TextChange) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.