[Lazarus] Block indent config
Jürgen Hestermann
juergen.hestermann at gmx.de
Wed Aug 8 13:31:24 CEST 2012
Am 2012-08-07 20:03, schrieb Martin:
>> If none is clearly showing that it has to do with Ctrl+I/U then I don't know it.
>> And it's especially confusing when I see that Ctrl+I/U indents by 2 columns
> It would be nice to show the key combo, yes. But it needs to be done dynamically as it may change. There could also be a link to set the combo....
Yes, showing the key sequence would be best (if it can be retrieved dynamically when building the config window).
But what confused me was that the settings only talked about TAB doing the indent.
It looked as if the whole settings only apply to the TAB key and if unchecked, they are irrelevant.
What I missed was some information that these settings are for all "Block indent functions".
>> but none of the setting is set to 2.
> Maybe worth showing the tabs including the translated width? But that may be confusing too.
> 1 (equals 2 spaces)
> 2 (equals 4 spaces)
> 3 (equals 6 spaces)
Is it realy necessary to have two options (spaces and tabs) here?
This is completely unexpected at this point.
I think nobody would want to add spaces *and* tabs (as it happened for me unintentionally).
Wouldn't it be better to have only one number and an addional selector for the unit (space or tab)?
Example:
--------------------------------------------
Space added by each call of the block indent function:
[3] [space(s)/tab(s)]
[x] The TAB-key indents text block too
--------------------------------------------
There would be only one number and this could be configured to be spaces or tabs.
Also, the word "too" in the last line would clarify that these settings are not for the TAB key only.
> I'll need to see how much space there is. Moving them to a new page would irritate even more people (because eweryone who knows them, expects them there)
There is plenty of space available and with my suggestion from above only one additional line would be needed.
>> Having the second config so far to the right looks as if has nothing to do with the left side.
>> It looks more as if all settings are put in two columns.
> Yes, there are 2 columns.
> And the space must be there, because translations may need it
Other settings that have the same 2 column format are different in that the settings on the right have no (direct) relation to what is on the left.
It's more a 2 column presentation of what would have been in one column otherwise (like a newspaper and not like a spreadsheet).
More information about the Lazarus
mailing list