Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-04

IDE: how navigation in block works?

5 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin
to Lubos Pintes
Lubos Pintes wrote
Hi, How and when Ctrl+Q, K works? It seems to me that it does nothing. Contrary to Ctrl+Q, B.

If you have a selection it goes to the end of that selection.

Of course in order for that to do something you need to go away from the end of the selection first.

So you need to set "persistent blocks" on. then you can go away from the selection, while keeping the selection.

Or you can do "cursor skips selection", select some text, use the cursor left (or right, if you selected backwards) xey to go to the begin of the selection, and the use ctrl-k b

Reply by email

Martin
to Martin
Martin wrote 16 lines
On 11/04/2013 17:03, Lubos Pintes wrote: > Hi, > How and when Ctrl+Q, K works? > It seems to me that it does nothing. Contrary to Ctrl+Q, B. If you have a selection it goes to the end of that selection. Of course in order for that to do something you need to go away from the end of the selection first. So you need to set "persistent blocks" on. then you can go away from the selection, while keeping the selection. Or you can do "cursor skips selection", select some text, use the cursor left (or right, if you selected backwards) xey to go to the begin of the selection, and the use ctrl-k b

ups sorry, that was ctrl-k, ctrl-b

Reply by email

Martin
to Lubos Pintes: How and when Ctrl+Q, K works? It seems to me that it does nothing. Contrary to Ctrl+Q, B.
Lubos Pintes wrote
Hi, How and when Ctrl+Q, K works? It seems to me that it does nothing. Contrary to Ctrl+Q, B.

Note that in 1.1 (trunk) this key combo is broken: http://bugs.freepascal.org/view.php?id=24008
But the feature can be used by changing either of the conflicting settings (or once the bug is fixed)

Ctrl+Q, K works, if the caret is on an "begin" keyword (or other block opening keyword). In that case it jumps to the "end"

Ctrl+Q, B. works anywhere inside the block
Ctrl+Q, K only on the opening

Reply by email

Lubos Pintes
to Martin

Thank you for clarifying this. One of my ideas was that it could be a bug.

D?a 11. 4. 2013 19:01 Martin wrote / nap?sal(a):

Show quoted text 23 lines
On 11/04/2013 17:03, Lubos Pintes wrote: > Hi, > How and when Ctrl+Q, K works? > It seems to me that it does nothing. Contrary to Ctrl+Q, B. Note that in 1.1 (trunk) this key combo is broken: http://bugs.freepascal.org/view.php?id=24008 But the feature can be used by changing either of the conflicting settings (or once the bug is fixed) Ctrl+Q, K works, if the caret is on an "begin" keyword (or other block opening keyword). In that case it jumps to the "end" Ctrl+Q, B. works anywhere inside the block Ctrl+Q, K only on the opening -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email