UI module

select_word_at

procedure · 1 overloadsince 0.31.0Source

Select the word around offset.

select_word_at :: (edit: *Text_Edit, offset: int)

Select the word around offset.

Parameters

edit: *Text_Edit
the text being edited.
offset: int
a byte offset in the word.

See also