Home Download Buy Blog Forum Support

Reference to previous edit

Reference to previous edit

Postby elomarns on Fri Aug 17, 2012 7:51 pm

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.
Posts: 9
Joined: Fri Jun 01, 2012 1:01 am

Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 5 guests