Text_Buffer module

line_of_offset

procedure · 1 overloadsince 0.31.0Source

The line that contains offset (the last line for an offset at the end).

line_of_offset :: (buffer: *Text_Buffer, offset: int) -> int

The line that contains offset (the last line for an offset at the end).

Parameters

buffer: *Text_Buffer
offset: int

Returns

int

See also