I have a scenario where two editors (ace and other one) edit the same document.
When the ace editor is reopened I set the updated document text by calling the session setValue
method and then the undo manager is reset.
I would like to be able to set the new content of the document and keep the undos (no redos of course).
Is there an option to do this in current APIs?
you can use session.doc.setValue
Most helpful comment
you can use
session.doc.setValue