Text_Buffer module

line_count

procedure · 1 overloadsince 0.31.0Source

Number of lines: one more than the newlines, so an empty buffer has one empty line.

line_count :: (buffer: *Text_Buffer) -> int

Number of lines: one more than the newlines, so an empty buffer has one empty line.

Parameters

buffer: *Text_Buffer

Returns

int

See also