Sublime Forum

Post command event listener

#1

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

0 Likes

#2

It’s simply a typo here: sublimetext.com/docs/3/api_ … ntListener

it’s on_post_text_command and on_post_window_command

0 Likes

#3

Or not… it works for on_post_text_command but not for the window commands

0 Likes

#4

Agree, “on_post_window_command” not working on 3052!

0 Likes

#5

3065, on_post_window_command broken for me also. I dunno what I should do as a workaround unless it’s on_modified_async.

Is there a place to report this as a bug?

0 Likes