Re: [code] [textadept] Feature Request

From: Robert <>
Date: Wed, 18 Jul 2012 17:38:30 +0200

This has come up before I think - if I remember correctly the reason
not to include it was that dealing with multiple unsaved buffers could
make the possible options quite complex (save all unsaved buffers,
review all, etc.)

You could possibly write a wrapper for the close-short cut or menu
entry that behaves the way you want.

keys[not OSX and 'cw' or 'mw'] = function()
if buffer.dirty then


On Tue, Jul 17, 2012 at 8:23 PM, Bill Meahan <> wrote:
> Currently, when you attempt to close a view with unsaved changes in the
> buffer, you get a dialog which presents the choice of closing without
> saving OR canceling the view-close operation.
> It would be a Really Nice Thing if there were a third option to save the
> buffer then close the view without having to go through a
> Cancel -> Save -> Close cycle manually.
> Not a big deal but other editors do this and it would be nice if Textadept
> did, too.
> --
> Bill Meahan, Westland, Michigan USA
> “Writing is a combination of intangible
> creative fantasy and appallingly
> hard work.”
> —Anthony Powell
> This message is digitally signed with an X.509 certificate
> to prove it is from me and has not been altered since it was sent.

You are subscribed to
To change subscription settings, send an e-mail to
To unsubscribe, send an e-mail to
Received on Wed 18 Jul 2012 - 11:38:30 EDT

This archive was generated by hypermail 2.2.0 : Thu 19 Jul 2012 - 06:43:01 EDT