FMX.Memo.Style.TEditAction
Delphi
TEditAction = record
ActionType: TActionType;
PairedWithPrev: Boolean;
StartPosition: Integer;
DeletedFragment: string;
Length: Integer;
Typed: Boolean;
WasSelected: Boolean;
CaretMoved: Boolean;
end;
C++
struct DECLSPEC_DRECORD TEditAction
{
public:
Fmx::Memo::Types::TActionType ActionType;
bool PairedWithPrev;
int StartPosition;
System::UnicodeString DeletedFragment;
int Length;
bool Typed;
bool WasSelected;
bool CaretMoved;
};
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
record struct |
public | FMX.Memo.Style.pas FMX.Memo.Style.hpp |
FMX.Memo.Style | FMX.Memo.Style |
説明
Style.TEditAction は、挿入または削除オペレーションを記述します。
Style.TEditAction を使用すると、挿入または削除オペレーションを記述することができます。
Style.TEditAction オブジェクトは ActionType や StartPosition のように情報を保持しており、それらはオペレーションを元に戻すために Style.TEditActionStack で必要となります。