​
​Hi Paul
Good to know I am not bugging you with this. :)
Just to be completely clear, the GetHotKey method gets the ID, for example...
Ctrl+r id: 6048
Ctrl+v id: 5033
... but...
ide:SetHotKey(ID, shortcut)
... using the retrieved ID doesn't restore the previous functionality after
changing the shortcut to a custom one with a previous call to SetHotKey.
Cheers
Paul
​
From: Paul K
Received: 24/10/2017 00:06:51 +01:00
To: Paul Reilly
CC: zerobrane@xxxxxxxxxxxxx
Hi Paul,
Thanks for this. It appears to run through the program, stopping at any
breakpoints and it starts a 2nd instance of ZBS, but breakpoints are no
longer triggered and the program can't be paused.. It's not very important,
but if there's something I am missing it would be good to know.
I have also tried to implement the new GetHotKey, but trying to reset the
hot key using the ID from GetHotKey is not working. You can see it here...
https://github.com/paul-reilly/zbs-vim/blob/master/vim-mode.lua#L103
Anyway I won't annoy you any/much more with this... thanks for all the good
work!