Keep two editors synchronized using onChangeText and updateText.
onChangeText
updateText
This can be done too with onChangeJSON and update, which can only be used in modes tree, form (and view).
onChangeJSON
update
tree
form
view