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

on_post_window_command never called #141

Closed
albertosantini opened this issue Aug 30, 2013 · 4 comments
Closed

on_post_window_command never called #141

albertosantini opened this issue Aug 30, 2013 · 4 comments

Comments

@albertosantini
Copy link

It seems on_post_window_command is not called (ST3 3047 - Windows 7 64).

See also http://www.sublimetext.com/forum/viewtopic.php?f=6&t=13780

Snippet reproducing the issue:

import sublime_plugin

class My(sublime_plugin.EventListener):
    def on_post_window_command(self, window, command_name, args):
            print(command_name, args)

    def on_post_text_command(self, window, command_name, args):
            print(command_name, args)

on_post_text_command is ok.

@albertosantini
Copy link
Author

I found a workaround for my use case overriding the ExecCommand class:

alexnj/SublimeOnSaveBuild#8

@jisaacks
Copy link

+1

@gerardroche
Copy link

👍

@albertosantini
Copy link
Author

In ST3 3070 the issue is fixed.
Tested on Windows 7 64bit.

From the changelog:

  • API: Fixed on_post_window_command() not getting called

@FichteFoll FichteFoll added this to the Build 3070 milestone Feb 17, 2015
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

5 participants