DraftSpan

data class DraftSpan(val startUtf16: UInt, val endUtf16: UInt, val kind: DraftSpanKind, val value: String = "")

One validated half-open UTF-16 range in a portable draft.

Constructors

Link copied to clipboard
constructor(startUtf16: UInt, endUtf16: UInt, kind: DraftSpanKind, value: String = "")

Properties

Link copied to clipboard

Exclusive UTF-16 code-unit offset.

Link copied to clipboard

Portable formatting or reference kind.

Link copied to clipboard

Inclusive UTF-16 code-unit offset.

Link copied to clipboard

Optional URL, public key, or shortcode required by the kind.