Commits the changes made in an editing session.
An editing session is started by calling start_editing.