[Lazarus] IDE multi-carets issue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] IDE multi-carets issue

Free Pascal - Lazarus mailing list
I have 4 carets on lines

         c.SetValue('/dialog/fl_btm/posx', FFormFloatBottom.Left);
         c.SetValue('/dialog/fl_btm/posy',  FFormFloatBottom.Top);
         c.SetValue('/dialog/fl_btm/sizex', FFormFloatBottom.Width);
         c.SetValue('/dialog/fl_btm/sizey', FFormFloatBottom.Height);

at start of str. Now i press Right key to move carets to right==> they
disappear.

--
Regards,
Alexey

--
_______________________________________________
Lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] IDE multi-carets issue

Free Pascal - Lazarus mailing list
On 20/05/2018 09:16, AlexeyT via Lazarus wrote:

> I have 4 carets on lines
>
>         c.SetValue('/dialog/fl_btm/posx', FFormFloatBottom.Left);
>         c.SetValue('/dialog/fl_btm/posy',  FFormFloatBottom.Top);
>         c.SetValue('/dialog/fl_btm/sizex', FFormFloatBottom.Width);
>         c.SetValue('/dialog/fl_btm/sizey', FFormFloatBottom.Height);
>
> at start of str. Now i press Right key to move carets to right==> they
> disappear.
>

There is an option (Tools > Option > Editor > General): "Multi Caret
Move with cursor"

Actually 2 options:
- The "(column select)" is when you used alt-shift-(mouse or cursor
keys) to get your carets.
- The other is for all other multi carets (set by mouse: Shift Ctrl
Left, or keys: Shift Ctrl Insert)

Currently this option includes vertical AND horizontal moves. So you
need to set a shortcut to clear all extra carets. (keymap options)

To have an option for only horizontal moves is on the Todo.
Equally TODO, if you press del at the end of the line (especially if
only some carets are at the end of line), currently the line breaks are
deleted and lines are joined.
--
_______________________________________________
Lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus