Is there a way to get a reference to a previous edit?
I need it to use on my plugin (https://github.com/elomarns/auto-encoding-for-ruby), where I add content to the buffer when user types a non-ASCII character. However, I want to add the insertion of the content in the same undo group as the insertion of the non-ASCII character that triggers the on_modified callback.
Thanks in avance.