[Geany-devel] More intelligent 'remove trailing spaces' - Re: Strip trailing blank lines (patch included)

Enrico Tröger enrico.troeger at xxxxx
Tue Sep 1 18:58:45 UTC 2009


On Mon, 31 Aug 2009 15:49:06 +0100, Nick wrote:

>On Wed, 26 Aug 2009 20:42:50 +0200
>Enrico Tröger <enrico.troeger at uvena.de> wrote:
>
>> >   for i in (@blah){
>> >   ...print "$i\n";
>> >   ...
>> >   ...print "BLAH!\n";
>> >   }
>> >
>> > Instead of this:
>> >
>> >   for i in (@blah){
>> >   ...print "$i\n";
>> >
>> >   ...print "BLAH!\n";
>> >   }
>> >
>> >Note that in the first the spaces/tabs are left to end at the
>> >current indent level, I suspect that there is a large amount of
>> >extra code to make this work as the strip will have to get clever
>> >and understand about a lot more things than it currently does.
>> 
>> I see what you mean, I just wonder why?
>
>I think this is useful as the user doesn't need to re-indent the blank
>line before typing on it.

Hmm, I usually use the Up cursor key to jump to the previous line and
then press Enter :).


Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20090901/fea169ec/attachment.pgp>


More information about the Devel mailing list