Search for needle from from; returns the offset of the first match or -1. Matches across
pieces are found.
find_text :: (buffer: *Text_Buffer, needle: string, from: int = 0) -> int
Search for needle from from; returns the offset of the first match or -1. Matches across
pieces are found.
Parameters
- buffer: *Text_Buffer
- needle: string
- from: int
Returns
- int