Home Download Buy Blog Forum Support

Post command event listener

Post command event listener

Postby emartel on Fri Aug 16, 2013 2:01 am

Hi,

I'm trying to catch the "post" event of either text or window commands, but it doesn't seem to work. I can use "on", which works, but "post" never seems to be triggered even though it's in the API documentation for ST3... is there something specific in the method signature that's not documented that prevents me from catching the event?

Thank you

Eric
emartel
 
Posts: 23
Joined: Thu Feb 23, 2012 8:59 pm
Location: Montreal, Canada

Re: Post command event listener

Postby emartel on Fri Aug 16, 2013 2:44 am

It's simply a typo here: https://www.sublimetext.com/docs/3/api_ ... ntListener

it's on_post_text_command and on_post_window_command
emartel
 
Posts: 23
Joined: Thu Feb 23, 2012 8:59 pm
Location: Montreal, Canada

Re: Post command event listener

Postby emartel on Fri Aug 16, 2013 2:52 am

Or not... it works for on_post_text_command but not for the window commands
emartel
 
Posts: 23
Joined: Thu Feb 23, 2012 8:59 pm
Location: Montreal, Canada

Re: Post command event listener

Postby Chris--- on Thu Aug 29, 2013 4:55 pm

Agree, "on_post_window_command" not working on 3052!
LaTeXing: LaTeX Plugin for Sublime Text 2 and 3
http://www.latexing.com
Chris---
 
Posts: 25
Joined: Sat Apr 20, 2013 4:49 pm


Return to Plugin Development

Who is online

Users browsing this forum: Yahoo [Bot] and 4 guests