Hi,
?
how are invented two-stage shortcuts?
?
I made a macro (project related, i.e. saved in project session) and I assigned shortcut CTRL+M, CTRL+J. It worked for a while. ?
Now when I try it, CTRL+M ?does nothing (OK), and CTRL+J does not write any text but Template Completion window is opened (since it has assigned CTRL+J). ?
Is it my mistake or a bug?
?
Thanks,
?
V.
?
Mailing lists / lazarus / 2015-04
Two stage shortcuts question
5 messages · 2 people ·
- VVojtěch Čihák 3
- MMartin Frb 2
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Vojt?ch ?ih?k wrote 10 lines
Check in the keyboard map (tools / options / editor / keymap), what is assigned to ctrl-m
Also there is an issue with the macr package. IF you start 2 IDE at the same time (the actual startup must be at the same time [1]), then they both access the same file, used to check that the pascalscript extensions works.
Since they block each other, one will fail and it will write to the config that macros do not work.
You can re enable them in tools options, but it looses all the assgined keys.
[1] if you start them with enough time in between, you can run 10 or more instances in parallel and all is fine
Thanks,
?
I checked CTRL+M, it is assigned to many macros, CTRL+M,L or CTRL+M, CTRL+L (i.e. some of them has CTRL in the second stage, others not). All those macros works. ?
I tried to restart Lazarus, no effect.
?
I tried to change the macro from CTRL+M,CTRL+J to CTRL+M,J. After this change, both CTRL+M,J and CTRL+M,CTRL+J triggers macro, while CTRL+J opens Template Completion. When I changed macro back to CTRL+M,CTRL+J it stopped working again. ?
V.
Can you report an issue on the bugtracker please?
Vojt?ch ?ih?k wrote 55 lines
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150428/66b42b85/attachment.html>
I opened issue?
?
http://bugs.freepascal.org/view.php?id=27992
