{"action":"created","issue":{"url":"https://api.github.com/repos/Alexey-T/CudaText/issues/277","repository_url":"https://api.github.com/repos/Alexey-T/CudaText","labels_url":"https://api.github.com/repos/Alexey-T/CudaText/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/Alexey-T/CudaText/issues/277/comments","events_url":"https://api.github.com/repos/Alexey-T/CudaText/issues/277/events","html_url":"https://github.com/Alexey-T/CudaText/issues/277","id":128579759,"number":277,"title":"(wish, API) Order of on_key calls  ","user":{"login":"kvichans","id":7419630,"avatar_url":"https://avatars.githubusercontent.com/u/7419630?v=3","gravatar_id":"","url":"https://api.github.com/users/kvichans","html_url":"https://github.com/kvichans","followers_url":"https://api.github.com/users/kvichans/followers","following_url":"https://api.github.com/users/kvichans/following{/other_user}","gists_url":"https://api.github.com/users/kvichans/gists{/gist_id}","starred_url":"https://api.github.com/users/kvichans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kvichans/subscriptions","organizations_url":"https://api.github.com/users/kvichans/orgs","repos_url":"https://api.github.com/users/kvichans/repos","events_url":"https://api.github.com/users/kvichans/events{/privacy}","received_events_url":"https://api.github.com/users/kvichans/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Alexey-T/CudaText/labels/talk","name":"talk","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-01-25T16:35:30Z","updated_at":"2016-07-26T19:56:34Z","closed_at":null,"body":"Появилась задача: использовать особым образом Ctrl+Up/Dn в плагине \"Py-Notebook\".\r\n\r\nЕсли бы назначение клавиш было привязано к лексерам (см. #241), то задача уже имела бы решение. А пока пробую перехватывать on_key, выделять свои случаи и обрывать событие. Не получается.\r\n\r\nОпять поднимаю тему #176:\r\n**Нужен способ явно определять в каком порядке будут раздаваться события.**\r\nОпираясь на этот способ, надеюсь получать событие первым.\r\n\r\n=\r\n1. Можно ли как-то по-другому добиться, чтобы на Ctrl+Up/Dn не отрабатывали команды, назначенные через диалог Keys?\r\n2. Если ли сейчас способ узнать в каком порядке будет раздаваться событие on_key?\r\n3. Верно ли, что та часть ядра, которая ищет назначенные сочетания, получает on_key первым?"},"comment":{"url":"https://api.github.com/repos/Alexey-T/CudaText/issues/comments/235385621","html_url":"https://github.com/Alexey-T/CudaText/issues/277#issuecomment-235385621","issue_url":"https://api.github.com/repos/Alexey-T/CudaText/issues/277","id":235385621,"user":{"login":"Alexey-T","id":4154978,"avatar_url":"https://avatars.githubusercontent.com/u/4154978?v=3","gravatar_id":"","url":"https://api.github.com/users/Alexey-T","html_url":"https://github.com/Alexey-T","followers_url":"https://api.github.com/users/Alexey-T/followers","following_url":"https://api.github.com/users/Alexey-T/following{/other_user}","gists_url":"https://api.github.com/users/Alexey-T/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexey-T/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexey-T/subscriptions","organizations_url":"https://api.github.com/users/Alexey-T/orgs","repos_url":"https://api.github.com/users/Alexey-T/repos","events_url":"https://api.github.com/users/Alexey-T/events{/privacy}","received_events_url":"https://api.github.com/users/Alexey-T/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T19:56:33Z","updated_at":"2016-07-26T19:56:33Z","body":">>назначение клавиш было привязано к лексерам (см. #241), то задача уже имела бы решение.\r\n\r\nУже есть :)"}}
{"actor":{"display_login":"Alexey-T"}}