Re: [textadept] File after save

From: Robert <ro....at.web.de>
Date: Tue, 30 Nov 2010 20:53:31 +0100

On Tue, Nov 30, 2010 at 3:50 PM, mitchell <c....at.caladbolg.net> wrote:
>> would it be possible do include a "File after save event"?
>
> Yeah it would. I'll add this later today in time for 3.5.
>
> mitchell
>

Thanks a lot!
Python-Snippet is here: https://gist.github.com/722253

As for the save_strips_ws. I found a solution using virtual space that
keeps the caret position and still removes whitespace on all lines
(which of course is useful to have all the time for version control).

https://github.com/rgieseke/textadept-common/blob/master/save_strips_ws.lua

Robert
Received on Tue 30 Nov 2010 - 14:53:31 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:54:28 EST