Am 19.04.20 um 23:40 schrieb Martin Frb via lazarus:
On 19/04/2020 23:22, Florian Klämpfl via lazarus wrote:
When completing code, lazarus takes the Block indent value from the
editor options for indentions, so for proper indention one sets this
value to two spaces normally. However, this has the effect that
tab/shift+tab also un/indents by two spaces. This is often not useful
when reorganizing code. Is there any way to decouple these two
behaviors: so that code completion idents by 2, tab/shift+tab by 1? Or
do I need to adapt lazarus sources?
I don't think there is a 2nd setting for codetools.
Would be great to have :)
But instead of using tab to (un-)indent selected lines, you can use the
multi-caret feature.
Go to the left most column, on the first line. Then shift-alt-down until
you have a caret in front of each line you wish to change. Now either
delete spaces, or insert spaces.
Problem is, that backspace behaves really uncontrollable in this case:
lines get one char removes others more, I think it does some unindent
operation as well instead of just removing chars.
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus