Re: [code] [textadept] tab_width vs. indent

From: Robert <rob.g.att.web.de>
Date: Sun, 10 Mar 2013 20:44:45 +0100

On Sun, Mar 10, 2013 at 8:40 PM, Mitchell <m.att.foicica.com> wrote:
> On Sun, 10 Mar 2013, Robert wrote:
>
>> Hi Mitchell,
>>
>> the buffer fields tab_width and indent were changed a while ago (was
>> this in Scintilla?). Is the documentation correct here? It sounds as
>> if they should have the same value.
>>
>> tab_width (number)
>> The number of space characters represented by a tab character. The
>> default value is 8.
>>
>> indent (number)
>> The number of spaces used for one level of indentation. The default
>> value is 0, which matches the tab size.
>
>
> Scintilla did not change anything. I don't fully understand why there are
> two values so I wanted to use only tab_size and keep indent at its default
> value to minimize confusion. The documentation is correct.

Thanks for the explanation, this makes sense.
Still,
"The default value is 0, which matches the tab size."
sounded (to me at least) as it would match tab_width/size.

- Robert

>
> Cheers,
> Mitchell
> --
> You are subscribed to code.att.foicica.com.
> To change subscription settings, send an e-mail to code+help.att.foicica.com.
> To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
>

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Sun 10 Mar 2013 - 15:44:45 EDT

This archive was generated by hypermail 2.2.0 : Mon 11 Mar 2013 - 06:29:38 EDT