UndoRedo

Inherits: Object

There is currently no description for this class. Please help us by contributing one!

Properties

int

max_steps

0

Methods

void

add_do_method ( Callable callable )

void

add_do_property ( Object object, StringName property, Variant value )

void

add_do_reference ( Object object )

void

add_undo_method ( Callable callable )

void

add_undo_property ( Object object, StringName property, Variant value )

void

add_undo_reference ( Object object )

void

clear_history ( bool increase_version=true )

void

commit_action ( bool execute=true )

void

create_action ( String name, MergeMode merge_mode=0, bool backward_undo_ops=false )

void

end_force_keep_in_merge_ends ( )

String

get_action_name ( int id )

int

get_current_action ( )

String

get_current_action_name ( ) const

int

get_history_count ( )

int

get_version ( ) const

bool

has_redo ( ) const

bool

has_undo ( ) const

bool

is_committing_action ( ) const

bool

redo ( )

void

start_force_keep_in_merge_ends ( )

bool

undo ( )


Signals

version_changed ( )

There is currently no description for this signal. Please help us by contributing one!


Enumerations

enum MergeMode:

MergeMode MERGE_DISABLE = 0

There is currently no description for this enum. Please help us by contributing one!

MergeMode MERGE_ENDS = 1

There is currently no description for this enum. Please help us by contributing one!

MergeMode MERGE_ALL = 2

There is currently no description for this enum. Please help us by contributing one!


Property Descriptions

int max_steps = 0

  • void set_max_steps ( int value )

  • int get_max_steps ( )

There is currently no description for this property. Please help us by contributing one!


Method Descriptions

void add_do_method ( Callable callable )

There is currently no description for this method. Please help us by contributing one!


void add_do_property ( Object object, StringName property, Variant value )

There is currently no description for this method. Please help us by contributing one!


void add_do_reference ( Object object )

There is currently no description for this method. Please help us by contributing one!


void add_undo_method ( Callable callable )

There is currently no description for this method. Please help us by contributing one!


void add_undo_property ( Object object, StringName property, Variant value )

There is currently no description for this method. Please help us by contributing one!


void add_undo_reference ( Object object )

There is currently no description for this method. Please help us by contributing one!


void clear_history ( bool increase_version=true )

There is currently no description for this method. Please help us by contributing one!


void commit_action ( bool execute=true )

There is currently no description for this method. Please help us by contributing one!


void create_action ( String name, MergeMode merge_mode=0, bool backward_undo_ops=false )

There is currently no description for this method. Please help us by contributing one!


void end_force_keep_in_merge_ends ( )

There is currently no description for this method. Please help us by contributing one!


String get_action_name ( int id )

There is currently no description for this method. Please help us by contributing one!


int get_current_action ( )

There is currently no description for this method. Please help us by contributing one!


String get_current_action_name ( ) const

There is currently no description for this method. Please help us by contributing one!


int get_history_count ( )

There is currently no description for this method. Please help us by contributing one!


int get_version ( ) const

There is currently no description for this method. Please help us by contributing one!


bool has_redo ( ) const

There is currently no description for this method. Please help us by contributing one!


bool has_undo ( ) const

There is currently no description for this method. Please help us by contributing one!


bool is_committing_action ( ) const

There is currently no description for this method. Please help us by contributing one!


bool redo ( )

There is currently no description for this method. Please help us by contributing one!


void start_force_keep_in_merge_ends ( )

There is currently no description for this method. Please help us by contributing one!


bool undo ( )

There is currently no description for this method. Please help us by contributing one!