[Geany] SVN custom tab width/soft tabs

Walery Studennikov despairr at xxxxx
Tue Sep 16 11:24:35 UTC 2008


2008/9/9 Nick Treleaven <nick.treleaven at btinternet.com>:
> On Thu, 4 Sep 2008 16:44:11 +0500
> "Walery Studennikov" <despairr at gmail.com> wrote:
>
>> > In the Edit->Preferences dialog, on the Editor tab:
>> > Under Indentation first set Width for "indent-width". Then set
>> > Type to 'Tabs and Spaces', and below that set 'Hard tab width'
>> > for "display-tab-width".
>>
>> Well, I set:
>>  'Width' -> 4,
>>  'Type' -> 'Tabs and Spaces',
>>  ''Hard tab width' -> 8,
>>
>> But when I press 'Tab' key, cursor indents to 8 characters.
>> If I press 'Backspace' after that, it removes 4 characters.
>>
>> So, I still can't set different display and indent tab widths :(
>
> Does the status bar say T/S for tabs & spaces, rather than TAB or SP?

Yes, there is "T/S" in the status bar.

> Also check the indent/unindent keyboard shortcuts - by default these
> are ctrl-i, ctrl-u. Only with the hidden pref use_tab_to_indent set can
> you also indent with Tab.

Yes, it works now!
Only with this hidden pref use_tab_to_indent set.

I would never guess this if you didn't said ;)

Can we make this preference not-so-hidden?

-- 
Walery Studennikov
http://www.reg.ru/



More information about the Users mailing list