Re: [code] Saving open files

From: Mitchell <m.att.foicica.com>
Date: Wed, 13 May 2020 15:31:06 -0400 (EDT)

Hi,

On Wed, 13 May 2020, BigGorillaG3 wrote:

> Textadept does not crash, but Ubuntu freezes. I wouldn't mind if textadept saved session every time I opened and closed a tab.

In your *~/.textadept/init.lua*, you can connect to the `events.FILE_OPENED` and `events.BUFFER_DELETED` events to call `textadept.session.save()`.

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 Wed 13 May 2020 - 15:31:06 EDT

This archive was generated by hypermail 2.2.0 : Thu 14 May 2020 - 06:51:33 EDT