Home Download Buy Blog Forum Support

Dev Build 2093

Re: Dev Build 2093

Postby adzenith on Thu Aug 04, 2011 6:09 am

jps wrote:There's also a new API function, view.command_history(), which allows accessing elements on the undo/redo stack, to find out what commands have been run on a buffer - details are in the API reference.

Is there any way to find out what exactly has changed? For example, I can now tell if someone ran the "toggle_comment" command, but I can't really tell what that did to the buffer—I'd need to know the syntax, where the selections are, etc, and that's just for that one command. Is there some way to find out not just that the command modified the buffer (passing True as a second argument) but rather what that modification was?
Posts: 1403
Joined: Mon Oct 19, 2009 9:12 pm


Return to General Discussion

Who is online

Users browsing this forum: fevan, Google [Bot] and 19 guests