UndoHelper

Needs ubyte[] observableArray; in insertion context to work.

Members

Aliases

PositionType
alias PositionType = ubyte
Undocumented in source.
PositionType
alias PositionType = ushort
Undocumented in source.
PositionType
alias PositionType = uint
Undocumented in source.

Functions

addEmptyUndoFrame
void addEmptyUndoFrame()
Undocumented in source. Be warned that the author may not have intended to support it.
commitEmptyFrame
void commitEmptyFrame()
Undocumented in source. Be warned that the author may not have intended to support it.
commitFrame
void commitFrame(ulong frameNumber)
Undocumented in source. Be warned that the author may not have intended to support it.
discardFrame
void discardFrame()
Undocumented in source. Be warned that the author may not have intended to support it.
discardUndoStack
void discardUndoStack()
Undocumented in source. Be warned that the author may not have intended to support it.
hasUncommitedChanges
bool hasUncommitedChanges()
Undocumented in source. Be warned that the author may not have intended to support it.
undoFrames
void undoFrames(ulong numFrames)
Undocumented in source. Be warned that the author may not have intended to support it.
undoStackSize
size_t undoStackSize()
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

emptyFrameMarker
enum emptyFrameMarker;
Undocumented in source.
maxUndoSeqLength
enum maxUndoSeqLength;
Undocumented in source.

Variables

frameUndoMap
ubyte[size_t] frameUndoMap;
Undocumented in source.
numUndoFrames
ulong numUndoFrames;
Undocumented in source.
undoStack
Appender!(ubyte[]) undoStack;
Undocumented in source.

Meta