Re: [code] Save wrap mode into session

From: Mitchell <>
Date: Fri, 31 Jul 2020 13:35:51 -0400 (EDT)

Hi Lukas,

On Fri, 31 Jul 2020, Procházka Lukáš Ing. wrote:

> Hello,
> would it be possible TA to save also "Toggle Wrap Mode" for each buffer
> (view) to the session file, so that the wrap mode should be restored on
> open/restore session?

Starting in Textadept 11 (and in the current alpha builds) this is possible by connecting to the `events.SESSION_SAVE` and `events.SESSION_LOAD` events. In the meantime, you could manually edit Textadept's *modules/textadept/sessions.lua* code to add that field.


You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Fri 31 Jul 2020 - 13:35:51 EDT

This archive was generated by hypermail 2.2.0 : Sat 01 Aug 2020 - 06:33:25 EDT