FMX.Memo.Style.TEditActionStack.FragmentDeleted
Delphi
procedure FragmentDeleted(const StartPos: Integer; const Fragment: string; const Selected, CaretMoved: Boolean);
C++
void __fastcall FragmentDeleted(const int StartPos, const System::UnicodeString Fragment, const bool Selected, const bool CaretMoved);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Memo.Style.pas FMX.Memo.Style.hpp |
FMX.Memo.Style | TEditActionStack |
Description
Remembers the parameters of a delete operation.
Use FragmentDeleted to be able to back down a delete operation.
FragmentDeleted creates and adds to the action stack an initialized Style.TEditAction object that denotes a delete operation. StartPos
represents the position of the first character of the deleted text, and Fragment
represents the text that has been deleted from the memo control.