Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: post_window_command does not work #226

Closed
jisaacks opened this issue Jan 26, 2014 · 1 comment
Closed

API: post_window_command does not work #226

jisaacks opened this issue Jan 26, 2014 · 1 comment

Comments

@jisaacks
Copy link

The API lists this as an event:

post_window_command(window, command_name, args) None Called after a window command has been executed.

This never runs/captures the event. There is some discussion about it here.

I have tried using both post_window_command and on_post_window_command. I created an event listener like so:

class MyEvents(sublime_plugin.EventListener):

    # Never runs
    def on_post_window_command(self, window, command_name, args):
        print("RAN: " + command_name)

    # Never runs
    def post_window_command(self, window, command_name, args):
        print("RAN: " + command_name)

    # Does run
    def on_window_command(self, window, command_name, args):
        print("RUNNING: " + command_name)
        return None

I have been trying to use this feature since it was added to the API. I believe it has never worked. I am currently running in OSX 10.9, sublime build 3061

@FichteFoll
Copy link
Collaborator

Duplicate: #141.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants