Share via


ProposedEdit Struct

Definition

public struct ProposedEdit
type ProposedEdit = struct
Public Structure ProposedEdit
Inheritance
ProposedEdit

Constructors

Name Description
ProposedEdit(SnapshotSpan, String, IReadOnlyList<Field>, Nullable<Int32>, Int32)

Create a new ProposedEdit.

ProposedEdit(SnapshotSpan, String, IReadOnlyList<Field>)

Create a new ProposedEdit.

ProposedEdit(SnapshotSpan, String)

Create a new ProposedEdit.span

Properties

Name Description
Fields

A spans that describe the "fields" in ReplacementText, indicating position where (after committing a prediction), the user can edit the fields in a "snippet-like" experience.

FinalCaretPosition

The final caret position in ReplacementText once the prediction has been committed and all field editing has finished.

FinalCaretVirtualOffset

The offset (in virtual space) when positioning the caret using FinalCaretPosition.

ReplacementText

The text used to replace Span.

Span

The span of text that will be replaced by ReplacementText.

Methods

Name Description
ToString()

Applies to