Home Download Buy Blog Forum Support

[API] get status of side bar

[API] get status of side bar

Postby tjmcewan on Sun Mar 04, 2012 4:03 am

I'm attempting to modify the SyncedSideBar plugin. It always follows file changes, even if the side bar is/was closed. I want to have it check the status of the side bar before it attempts to run the command.

I've looked through the API reference, scoured some other side bar related plugins, and even attempted to hack something together using viewport_extent() & visible_region() (but they aren't affected by a toggle_side_bar call). Anyone know how I can achieve my desire?

On a side note, how I get a list of attributes from window()? Tried print, show, inspect, etc. :-(

Thanks!
tjmcewan
 
Posts: 6
Joined: Sat Mar 03, 2012 1:20 pm

Re: [API] get status of side bar

Postby tjmcewan on Mon Mar 05, 2012 11:23 pm

Hey guys, what's the general tech support turn around time? I haven't purchased a license yet (does this make a difference to support times?), but am trying to help the community.

Cheers,
Tim
tjmcewan
 
Posts: 6
Joined: Sat Mar 03, 2012 1:20 pm

Re: [API] get status of side bar

Postby C0D312 on Mon Mar 05, 2012 11:27 pm

I'm usually more helpful... But I don't think this is possible. Sorry.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: [API] get status of side bar

Postby tjmcewan on Mon Mar 05, 2012 11:32 pm

Ok thanks. I'm guessing you're not Jon; are you another ST dev? I'm also asking about official support - considering the tech support link on the site leads here...
tjmcewan
 
Posts: 6
Joined: Sat Mar 03, 2012 1:20 pm

Re: [API] get status of side bar

Postby C0D312 on Mon Mar 05, 2012 11:56 pm

Jon ( JPS ) usually lurks around the forum correcting all my mistakes :)

And no, I'm not a ST2 dev. I'm just a friendly advocate, evangelist, plugin developer, and active contributor to the Sublime Text community.
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: [API] get status of side bar

Postby tjmcewan on Tue Mar 06, 2012 5:08 am

Okie doke. Thanks for the help. So when I register there'll be another support channel?
tjmcewan
 
Posts: 6
Joined: Sat Mar 03, 2012 1:20 pm

Re: [API] get status of side bar

Postby jps on Tue Mar 06, 2012 10:22 pm

As COD312 mentioned, there's no API support for this
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: [API] get status of side bar

Postby tjmcewan on Wed Mar 07, 2012 9:29 am

Ok; thanks for the reply.
tjmcewan
 
Posts: 6
Joined: Sat Mar 03, 2012 1:20 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 17 guests