struct TextRange

Defined at line 1490 of file fidling/gen/sdk/fidl/fuchsia.ui.input/fuchsia.ui.input/cpp/fidl/fuchsia.ui.input/cpp/wire_types.h

A range of characters in a string of text. Although strings in FIDL's wire

format are UTF-8 encoded, these indices are measured in UTF-16 code units

for legacy reasons. These text input APIs will eventually be replaced by

fuchsia.ui.text, which uses code points instead.

Public Members

int64_t start
int64_t end