Skip to content

LineStart

Finds the start of a line in Buffer before BufPos.

Declaration

Source position: classesh.inc line 3130

function LineStart(Buffer: PAnsiChar; BufPos: PAnsiChar) : PAnsiChar;

Description

LineStart reversely scans Buffer starting at BufPos for a linefeed character. It returns a pointer at the linefeed character.