[Geany-devel] Strip trailing blank lines (patch included)
Enrico Tröger
enrico.troeger at xxxxx
Wed Aug 26 18:42:50 UTC 2009
On Thu, 27 Aug 2009 01:58:28 +1000, Andrew wrote:
Hey,
this is a somehwat different topic, so I broke up the thread.
>would it be possible to have either a different strip command or some
>switch somewhere so that strip trailing whitespace results in this
>(using . for spaces/tabs):
>
> 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?
:)
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/20090826/301c9490/attachment.pgp>
More information about the Devel
mailing list