FMX.Memo.Style.TEditActionStack.RollBackAction

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function RollBackAction: Boolean;

C++

bool __fastcall RollBackAction();

Properties

Type Visibility Source Unit Parent
function public
FMX.Memo.Style.pas
FMX.Memo.Style.hpp
FMX.Memo.Style TEditActionStack

Description

Backs down the operation specified by the top of the action stack.

RollBackAction extracts and backs down the operation specified by the last Style.TEditAction object inserted into the action stack.

If the extracted Style.TEditAction object denotes an insert operation, RollBackAction will remove the text that has been inserted. Otherwise, if the Style.TEditAction object denotes a delete operation, RollBackAction will insert the text that has been deleted into the text on the memo control, at the correct position.

Note: RollBackAction will continue backing down operations until the PairedWithPrev field of the currently extracted Style.TEditAction object is False or the action stack is empty.

See Also