Back to API Reference
Class

ClipboardCopyContext

sealed

Read-only selection payload handed to SerializeCopy.

public UniTextEditable Editable{ get }

The editable field that initiated the copy operation.

public string SelectedSource{ get }

Selection serialized in the source field's own markup syntax.

public string SelectedPlainText{ get }

Text written to the plain-text clipboard channel.

public int SelectionStart{ get }

Selection start in the active editing view, measured in codepoints.

public int SelectionLength{ get }

Selection length in the active editing view, measured in codepoints.

public string VisibleText{ get }

Canonical visible document text covered by the selection.

public ReadOnlyMemory<ClipboardSpan> Spans{ get }

Persistent formatting clipped to VisibleText.