Edit

class Edit(val name: String, val key: Any?, undo: () -> Unit, redo: () -> Unit)(source)

An edit in a History: name is what was done, undo and redo do it backward and forward again; edits of the same key that follow each other closely are merged, like the values of a drag

Constructors

Link copied to clipboard
constructor(name: String, key: Any?, undo: () -> Unit, redo: () -> Unit)

Properties

Link copied to clipboard
val key: Any?
Link copied to clipboard