Re: [Lazarus] Two stage shortcuts question

2015-04-28 Thread Vojtěch Čihák

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.
__

Od: Martin Frb laza...@mfriebe.de
Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: 28.04.2015 18:01
Předmět: Re: [Lazarus] Two stage shortcuts question



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


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Two stage shortcuts question

2015-04-28 Thread Martin Frb

Can you report an issue on the bugtracker please?



On 28/04/2015 17:24, Vojtěch Čihák wrote:


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.

__
 Od: Martin Frb laza...@mfriebe.de
 Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
 Datum: 28.04.2015 18:01
 Předmět: Re: [Lazarus] Two stage shortcuts question



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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Two stage shortcuts question

2015-04-28 Thread Vojtěch Čihák

I opened issue 
 
http://bugs.freepascal.org/view.php?id=27992
__

Od: Martin Frb laza...@mfriebe.de
Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org
Datum: 28.04.2015 19:40
Předmět: Re: [Lazarus] Two stage shortcuts question


Can you report an issue on the bugtracker 
please? Od: Martin Frb 
laza...@mfriebe.de laza...@mfriebe.de
 Komu: Lazarus mailing list lazarus@lists.lazarus.freepascal.org 
lazarus@lists.lazarus.freepascal.org
 Datum: 28.04.2015 18:01
 Předmět: Re: [Lazarus] Two stage shortcuts question


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


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--___Lazarus mailing 
listlaza...@lists.lazarus.freepascal.org 
Lazarus@lists.lazarus.freepascal.orghttp://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


--

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus 
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Two stage shortcuts question

2015-04-28 Thread Martin Frb

On 28/04/2015 16:33, Vojtěch Čihák wrote:

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?
  


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


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus