Text_Buffer module

line_text

procedure · 1 overloadsince 0.31.0Source

The text of line without its line break. It points into the buffer when the line lies within one piece, and is a copy in temporary storage otherwise; either way it is valid only until the next edit.

line_text :: (buffer: *Text_Buffer, line: int) -> string

The text of line without its line break. It points into the buffer when the line lies within one piece, and is a copy in temporary storage otherwise; either way it is valid only until the next edit.

Parameters

buffer: *Text_Buffer
line: int

Returns

string

See also