* Fix diffAndPrepareChanges * Use setText instead of replacing editor state * Isolate editor.setText transaction