Resets the editor's state to that of scheme.
If apply has been called, then reset resets to the state at the last invocation of apply.