Home Download Buy Blog Forum Support

ST3 on_window_command fires for keyboard shortcut, not menu

ST3 on_window_command fires for keyboard shortcut, not menu

Postby spyder on Thu Mar 07, 2013 10:57 pm

I'm using the new on_window_command listener in the SyncedSideBar plugin to track sidebar visibility. In the absence of a proper sidebar API, it works fairly well:

https://github.com/sobstel/SyncedSideBa ... 6dfb92c0f3

However the toggle_side_bar command only appears when using the keyboard shortcut to hide and show the sidebar, not when the view -> side bar -> hide/show is used. In fact on_window_command doesn't appear to fire at all when using menu items?
spyder
 
Posts: 6
Joined: Wed Jan 18, 2012 10:45 pm

Re: ST3 on_window_command fires for keyboard shortcut, not menu

Postby bizoo on Fri Mar 08, 2013 8:12 am

Same here.
startup, version: 3017 windows x64 channel: dev
bizoo
 
Posts: 889
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland


Return to General Discussion

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 17 guests