We could also check ``_codeMirror.doc.isClean()`` or ``_codeMirror.doc.historySize()`` to make sure no no-op edits exist.