SpanEditHandler.ApplyChange SpanEditHandler.ApplyChange SpanEditHandler.ApplyChange Method

Definition

Overloads

ApplyChange(Span, TextChange) ApplyChange(Span, TextChange) ApplyChange(Span, TextChange)

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

ApplyChange(Span, TextChange, Boolean) ApplyChange(Span, TextChange, Boolean) ApplyChange(Span, TextChange, Boolean)

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

ApplyChange(Span, TextChange) ApplyChange(Span, TextChange) ApplyChange(Span, TextChange)

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

public virtual System.Web.Razor.Editor.EditResult ApplyChange (System.Web.Razor.Parser.SyntaxTree.Span target, System.Web.Razor.Text.TextChange change);
abstract member ApplyChange : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Text.TextChange -> System.Web.Razor.Editor.EditResult
override this.ApplyChange : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Text.TextChange -> System.Web.Razor.Editor.EditResult
Public Overridable Function ApplyChange (target As Span, change As TextChange) As EditResult
Parameters
target
Span Span Span

The span to apply changes to.

change
TextChange TextChange TextChange

The change to apply.

Returns

The result of the apply operation.

ApplyChange(Span, TextChange, Boolean) ApplyChange(Span, TextChange, Boolean) ApplyChange(Span, TextChange, Boolean)

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

public virtual System.Web.Razor.Editor.EditResult ApplyChange (System.Web.Razor.Parser.SyntaxTree.Span target, System.Web.Razor.Text.TextChange change, bool force);
abstract member ApplyChange : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Text.TextChange * bool -> System.Web.Razor.Editor.EditResult
override this.ApplyChange : System.Web.Razor.Parser.SyntaxTree.Span * System.Web.Razor.Text.TextChange * bool -> System.Web.Razor.Editor.EditResult
Public Overridable Function ApplyChange (target As Span, change As TextChange, force As Boolean) As EditResult
Parameters
target
Span Span Span

The span to apply changes to.

change
TextChange TextChange TextChange

The change to apply.

force
Boolean Boolean Boolean

true to accept partial result; otherwise, false.

Returns

The result of the apply operation.

Applies to