I'm adding some text to ACE using document.insert(). I would like those
changes to be ignored by the UndoManager. Right now what I'm doing is to
set session.$fromUndo to true, which prevents those changes from being
sent to the UndoManager, but depends on the internal implementation of
editor session.
I would like to avoid that and do it in a cleaner way. I saw that deltas
are also ignored in undo if they have an 'ignore' property, but I don't
know how to add this property before the delta reaches session.onChange().
Any suggestions?
Thanks,
--
Juliusz Gonera
http://juliuszgonera.com/