UI module

selection_range

procedure · 1 overloadsince 0.31.0Source

The selected range as (start, end) byte offsets.

selection_range :: (edit: *Text_Edit) -> (start: int, end: int)

The selected range as (start, end) byte offsets.

Parameters

edit: *Text_Edit
the text being edited.

Returns

start: int
end: int

See also