FMX.Memo.Types.TFragmentInserted.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(const AStartPos: Integer; const AFragment: string; const APairedWithPrev, ATyped: Boolean);

Properties

Type Visibility Source Unit Parent
constructor public FMX.Text.UndoManager.pas FMX.Memo.Types TFragmentInserted

Description

Creates a new instance of TFragmentInserted.

The Create method takes the following parameters.

Parameter Description
StartPos Position in the text where the fragment of text was inserted. On TFragmentInserted creation, the value of StartPos is assigned to the StartPos field.
FragmentLength Length of the text that was inserted. On the TFragmentInserted creation, the value of FragmentLength is assigned to the FragmentLength field.
PairedWithPrev Indicates if a change was made right after and in a similar way as the previous one. On the TFragmentInserted creation, the value of PairedWithPrev is assigned to the PairedWithPrev field.
Typed Indicates if the text was inserted typing the keyboard. On the TFragmentInserted creation, the value of Typed is assigned to the Typed field.

See Also