Sign in Join
FPDoc Onlineexperiment

TTextStrings.GetCount function

Member of TTextStringsprotectedIn unit TextStrings

Gets the value for the Count property.

Declaration

pascal
function GetCount: Integer; override

Function result

Value for the property.

Description

GetCount is overridden in TTextStrings to re-implement the method. It ensures that the internal array of line ranges is valid, and calls BuildArrays when the validity flag has not been set.

The property value is set to the member value used to store the line count.

GetCount does not call the inherited method.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.