FMX.Memo.Types.TFragmentDeleted.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(const AStartPos: Integer; const AFragment: string; const ASelected, ACaretMoved: Boolean);

Properties

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

Description

Creates a new instance of TFragmentDeleted.

The Create method takes the following parameters.

Parameter Description
StartPos The position in the text where the fragment of text was deleted. On the TFragmentDeleted creation, the value of StartPos is assigned to the StartPos field.
Fragment Fragment of text deleted. On the TFragmentDeleted creation, the value of Fragment is assigned to the Fragment field.
Selected Indicates whether the selected text was removed. On the TFragmentDeleted creation, the value of Selected is assigned to the Selected field.
CaretMoved Indicates if the caret moved after the text was removed. On the TFragmentDeleted creation, the value of CaretMoved is assigned to the CaretMoved field.

See Also