codeeditor: bugfix for listenForDocumentChanges