tag:blogger.com,1999:blog-581197352358126527.post1550101221176617371..comments2024-03-28T00:32:25.959-07:00Comments on japh(r) by Chris Strom: ACE UndoManager and setValue()Anonymoushttp://www.blogger.com/profile/00135361916531185929noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-581197352358126527.post-47906427498457910632014-06-20T06:24:08.364-07:002014-06-20T06:24:08.364-07:00Interestingly I tried reset as well and it didn...Interestingly I tried reset as well and it didn't work! Immediately after calling reset the undo manager reported no undo available, but later it would report and perform undo all the way back to an empty document.Duncan Meechhttps://www.blogger.com/profile/06304700247981345068noreply@blogger.comtag:blogger.com,1999:blog-581197352358126527.post-38599060635984778512012-10-17T05:47:07.040-07:002012-10-17T05:47:07.040-07:00Hello! Thank you for you post. It helped me to sol...Hello! Thank you for you post. It helped me to solve the same problem.<br /><br />But i found a much more easy solution:<br /><br />var undo_manager = ace.getSession().getUndoManager();<br />undo_manager.reset();<br />ace.getSession().setUndoManager(undo_manager);<br />sadhakhttps://www.blogger.com/profile/11310204144299228577noreply@blogger.com