Text_Buffer module

previous_word

procedure · 1 overloadsince 0.31.0Source

The byte offset where the word to the left of index starts.

previous_word :: (text: string, index: int) -> int

The byte offset where the word to the left of index starts.

Parameters

text: string
index: int

Returns

int

See also