Re: [code] [textadept] How can you store in a session the line wrap mode for a buffer?

From: ardi <>
Date: Sun, 14 Oct 2018 12:40:40 +0200

On Sat, Oct 13, 2018 at 10:09 PM Mitchell <> wrote:
> > Is there any way for keeping each buffer with its better-suited wrapping mode?
> You'd have to replace Textadept's *modules/textadept/session.lua* with your own
> in *~/.textadept/modules/textadept/session.lua*. In your module you would want
> to save/restore a state that indicates whether or not a buffer is
> wrapped (`buffer.wrap_mode`[1]). This should be pretty easy to code up. Just start
> with a copy of Textadept's module and start tweaking from there.

Thanks a lot! It's really surprising the degree of customization that
one can achieve with TA!


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Sun 14 Oct 2018 - 06:40:40 EDT

This archive was generated by hypermail 2.2.0 : Mon 15 Oct 2018 - 06:32:17 EDT