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

Tambet Arak tambet.arak at xxxxx
Tue Jun 8 14:47:47 UTC 2010


Hi,

I sent in a patch on April 23rd, but have not received any accept /
reject notice, possibly because I didn't tag it with [patch], so here
it is again. Resolves feature request #2990915 as illustrated here:

http://i.imgur.com/sYCIf.png

When comment_use_indent is set to true in per-filetype config,
comments are no longer indented on a line-by-line basis, but have the
indentation of the least indented line in the block. This looks a lot
better.

In addition, empty lines are commented out by default. In the original
patch, I introduced a new option for it, but Thomas Martitz suggested
that this is not preferable.

Best regards,
Tambet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: geany-commentindent.patch
Type: text/x-patch
Size: 1945 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20100608/f598aee2/attachment.bin>


More information about the Devel mailing list