reset

fun reset()(source)

Resets the editor's state to the last saved state.

Does nothing if and only if isModified return false.