Re: [code] Scratch buffer

From: Mitchell <m.att.foicica.com>
Date: Mon, 2 Dec 2019 13:08:43 -0500 (EST)

Hi Pedro,

On Mon, 2 Dec 2019, Pedro Andres Aranda Gutierrez wrote:

> Hi,
>
> I was just wondering if there is a scratch buffer à la Emacs in TextAdept.
> Having a well-known buffer where you can scribble around and that gets
> deleted without questions at the end of the session can be terribly handy.
> When you are editing, create a new buffer and then exit, you get this
> annoying 'do you want to save the buffer question' even if you don't want
> to sace it. Having a buffer that will not be saved avoids this.

Textadept does not have this feature built-in, but you could create a module that supplies it. The buffer would be continually marked as not dirty on `events.UPDATE_UI` or similar.

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 02 Dec 2019 - 13:08:43 EST

This archive was generated by hypermail 2.2.0 : Tue 03 Dec 2019 - 06:30:18 EST