[Geany] [PATCH] Strip trailing spaces when editing

Nick Treleaven nick.treleaven at xxxxx
Wed Sep 26 17:06:30 UTC 2007


On 26/09/07 17:22:12, Enrico Tröger wrote:
> On Wed, 26 Sep 2007 15:49:25 +0100, "Catalin Marinas"
> <catalin.marinas at gmail.com> wrote:
> > My solution (this is actually the behaviour of emacs) is to strip
> the
> > trailing spaces of a single line when newline is inserted.

This would be great.

> The
> problem is, sometimes you edit files but don't insert a newline, so
> the
> trailing spaces still exist. If you think of this and add and remove
> the newline to manually invoke the function, all is fine. But I guess
> there are some people like me, who probably won't think of it ;-).

As suggested before, we could also add a 'Strip trailing spaces' 
command in the Document menu.

Regards,
Nick



More information about the Users mailing list