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

From: Mitchell <m.att.foicica.com>
Date: Mon, 28 Dec 2015 23:10:44 -0500 (EST)

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.
Received on Mon 28 Dec 2015 - 23:10:44 EST

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