Re: [code] Line wrapping and indentation don't play nice together

From: Rena <hyperhacker.att.gmail.com>
Date: Mon, 28 Dec 2015 23:13:33 -0500

On Mon, Dec 28, 2015 at 11:10 PM, Mitchell <m.att.foicica.com> wrote:

> Hi,
>
> On Mon, 28 Dec 2015, Rena wrote:
>
> In Textadept 8.4, If I have a long line which is also indented, and I have
>> line wrapping on, the wrapped parts aren't indented to match the line,
>> which is pretty ugly. eg I get this:
>>
>> this is a long, indented
>> line, but this part isn't
>> indented.
>>
>> Whereas I want this:
>>
>> this is a long, indented
>> line, and this part is
>> also indented.
>>
>> Where both examples are one long line. How do I achieve this?
>>
>
> In your ~/.textadept/properties.lua:
>
> buffer.wrap_indent_mode = buffer.WRAPINDENT_SAME
>
> 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.
>
>
Nice, thanks! I knew there must be a setting for that I had overlooked.

-- 
Sent from my Game Boy.
-- 
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 Mon 28 Dec 2015 - 23:13:33 EST

This archive was generated by hypermail 2.2.0 : Tue 29 Dec 2015 - 06:53:25 EST