Data object SurroundingText
interface struct SurroundingText
Represents the contextual content in editor in the app.
Fields
text
string — Required
The surrounding string that contains the text around the cursor.
bytesSelStart
i32 — Required
The start index of selection within the surrounding string,
bytesSelEnd
i32 — Required
The end index of selection within the surrounding string.
