Home Download Buy Blog Forum Support

How to detect the context when sidebar is focused?

How to detect the context when sidebar is focused?

Postby yangchenyun on Mon Oct 08, 2012 6:42 pm

I want to do some key bindings especially when sidebar is focused. The keybind syntax support the `context` keywords, but what's the key to detect the focus of sidebar.
Code: Select all
    { "keys": ["H"], "command": "..." ,
        "context":
        [
            {"key": "side_bar_has_focuse"} // do not work now.
        ]
    },

I know there is a `panel_has_focus` and I am wondering is there something like `side_bar_has_focus` or `window_has_focus`? I read the docs but do not find something similar.
yangchenyun
 
Posts: 1
Joined: Mon Oct 08, 2012 6:38 pm

Return to Technical Support

Who is online

Users browsing this forum: Vohm, Yahoo [Bot] and 36 guests