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

TTextStrings.ClearArrays

Clears the internal array of line ranges used in the component.

Declaration

Source position: textstrings.pas line 71

protected procedure TTextStrings.ClearArrays;

Description

ClearArrays is a method used to free resources allocated to the internal array with the line ranges for the component. ClearArrays frees memory allocated for the TTextLineRange instances in the array, and sets the references to Nil.

The internal validity flag and the line counter are both reset to indicate that the array has not not been allocated.

ClearArrays is called from the BuildArrays, Clear, and AddStrings methods.

See also

TTextStrings.BuildArrays

  

Clears and builds the array with the line ranges for the values in Text.

TTextStrings.Clear

  

Clears the text and internal line ranges for the component.

TTextStrings.AddStrings

  

Adds the lines of text in TheStrings to the current class instance.

TTextLineRange

  

TTextLineRange - record structure showing start and end of line in text, the line as a string, and any user data.


Version 4.0 Generated 2025-05-03 Home