Home Download Buy Blog Forum Support

save the buffer

save the buffer

Postby brickattack on Mon Apr 25, 2011 1:26 pm

Working on making the plugin @n00ge and I made for Transmit a bit better. I need to save the buffer locally and also send to Transmit, but I can't find any view commands to save in the docs. Can anyone point me in the right direction?
@brickattack ST2 OS X
brickattack
 
Posts: 14
Joined: Fri Apr 22, 2011 5:19 pm

Re: save the buffer

Postby guillermooo on Mon Apr 25, 2011 4:46 pm

I seem to recall Jon saying saving from API/commands wasn't ready yet, but it looks like view.run_command("save") works.
guillermooo
 
Posts: 723
Joined: Thu Jul 23, 2009 9:06 am

Re: save the buffer

Postby brickattack on Mon Apr 25, 2011 5:12 pm

awesome, that worked. thanks!
@brickattack ST2 OS X
brickattack
 
Posts: 14
Joined: Fri Apr 22, 2011 5:19 pm


Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 8 guests