[Overview][Types][Classes][Index] Reference for unit 'TextStrings' (#lazutils)

TTextStrings.GetLineEnd

Gets the ordinal position where the specified line ends in the Text property.

Declaration

Source position: textstrings.pas line 76

protected function TTextStrings.GetLineEnd(

  Index: Integer;

  IncludeNewLineChars: Boolean

):Integer;

Arguments

Index

  

Ordinal position for the line examined in the method.

IncludeNewLineChars

  

True to include end-of-line character(s) in the return value.

Function result

Offset in Text where the end of the specified line is located.

Description

Calls BuildArrays if the internal validity flag is not set.


Version 4.0 Generated 2025-05-03 Home