UndoRedo.addDoReference

Register a reference for "do" that will be erased if the "do" history is lost. This is useful mostly for new nodes created for the "do" call. Do not use for resources.

struct UndoRedo
@nogc nothrow
void
addDoReference

Meta