wrapper change events of the codemirror