[Geany-devel] [PATCH] Better-looking comments indenting

Nick Treleaven nick.treleaven at xxxxx
Wed Sep 8 15:17:57 UTC 2010


On Wed, 8 Sep 2010 17:55:36 +0300
Tambet Arak <tambet.arak at gmail.com> wrote:

> >> I think the idea is good, but I've just tried the patch and it doesn't
> >> work if there are empty lines in the middle of the selected block. Then
> >> the comments are all inserted at column 0.
> 
> Yes, this happens because the empty lines are not indented. In a
> sense, it is the correct behavior. Do you think the patch should be
> modified to insert suitable padding to the beginning of empty lines?

Not really, but the problem is that users with comment_use_indent set
are not getting indented comments for non-empty lines in this case.

Regards,
Nick



More information about the Devel mailing list