Home Download Buy Blog Forum Support

Any way to get last command?

Any way to get last command?

Postby demon386 on Wed Jun 27, 2012 3:32 am

Hi. I wonder is there any api to get the last executed command?
demon386
 
Posts: 13
Joined: Sun Jun 10, 2012 1:52 pm

Re: Any way to get last command?

Postby bizoo on Wed Jun 27, 2012 6:15 am

Search command_history on http://www.sublimetext.com/docs/2/api_reference.html.
However when I tried to use it some times ago I didn't found it very reliable and sometimes even crash ST2 when using True for the second parameter.
bizoo
 
Posts: 889
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Any way to get last command?

Postby demon386 on Wed Jun 27, 2012 11:30 am

Thanks for pointing it out.

bizoo wrote:Search command_history on http://www.sublimetext.com/docs/2/api_reference.html.
However when I tried to use it some times ago I didn't found it very reliable and sometimes even crash ST2 when using True for the second parameter.
demon386
 
Posts: 13
Joined: Sun Jun 10, 2012 1:52 pm


Return to Plugin Development

Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests