[Lazarus] IDE multi-carets issue
Martin Frb
lazarus at mfriebe.de
Sun May 20 10:43:00 CEST 2018
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.
More information about the Lazarus
mailing list