On Fri, 2 Mar 2007 13:52:20 -0500, "John Gabriele" jmg3000@gmail.com wrote:
On 3/2/07, John Gabriele jmg3000@gmail.com wrote:
On 3/2/07, Enrico Tröger enrico.troeger@uvena.de wrote: [snip]
You can adjust this. There is a variable "comment_use_indent" in each filetype definition file where you can specify whether the comment character(s) should be placed on first column or after indention. Look at http://geany.uvena.de/manual/ch04.html#filetypes_format, there is some documentation for it.
Thanks Enrico.
Actually, just noticed 2 points about the docs you pointed out:
- The 2nd verbatim example in the Description of comment_use_indent
should be
# command_example();
instead of
#command_example();
Oops, thank you. Fixed in SVN r1361 and the online documentation is updated, too.
- The Note says the setting only works for single line comments, but
for me it's working for multi-line selections as well.
Well yes. But the other way doesn't work. If you have "comment_use_indent" set to "true", it makes no difference because multi line comments start always at the beginning of the line. Therefore using of indention makes only sense when using single line comments.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key