record

fun <T> record(name: String, key: Any?, old: T, new: T, apply: (T) -> Unit)(source)

Records the change of a value from old to new that apply sets, merged with the previous edit of the same key in the same gesture, or within half a second for keys


fun record(edit: Edit)(source)

records edit