Hi,
This is my first post to the geany-devel list, attached is a patch for feature request #2990915 as illustrated here:
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.
Best regards, Tambet
Here is an updated patch - this one also includes support for a new per-filetype option: the boolean "comment_allow_empty_lines", specifying whether block comments include empty lines or not.
Please use this patch and disregard the previously sent one.
Regards, Tambet
On Fri, Apr 23, 2010 at 6:13 PM, Tambet Arak tambet.arak@gmail.com wrote:
Hi,
This is my first post to the geany-devel list, attached is a patch for feature request #2990915 as illustrated here:
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.
Best regards, Tambet
Am 23.04.2010 18:07, schrieb Tambet Arak:
Here is an updated patch - this one also includes support for a new per-filetype option: the boolean "comment_allow_empty_lines", specifying whether block comments include empty lines or not.
Why a setting for that? IIRC that feature is always enabled and nobody complained so far.
Best regards.
Why a setting for that? IIRC that feature is always enabled and nobody complained so far.
It's always disabled, actually.
Tambet
On Fri, Apr 23, 2010 at 7:48 PM, Thomas Martitz thomas.martitz@student.htw-berlin.de wrote:
Am 23.04.2010 18:07, schrieb Tambet Arak:
Here is an updated patch - this one also includes support for a new per-filetype option: the boolean "comment_allow_empty_lines", specifying whether block comments include empty lines or not.
Why a setting for that? IIRC that feature is always enabled and nobody complained so far.
Best regards. _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
Am 23.04.2010 18:52, schrieb Tambet Arak:
Why a setting for that? IIRC that feature is always enabled and nobody complained so far.
It's always disabled, actually.
Tambet
Strange, because it works for me. In a C file, maybe because your language doesn't have real block comments?
Best regards.
Strange, because it works for me. In a C file, maybe because your language doesn't have real block comments?
Yes, it's relevant for line comments only.
Tambet
On Fri, Apr 23, 2010 at 7:55 PM, Thomas Martitz thomas.martitz@student.htw-berlin.de wrote:
Am 23.04.2010 18:52, schrieb Tambet Arak:
Why a setting for that? IIRC that feature is always enabled and nobody complained so far.
It's always disabled, actually.
Tambet
Strange, because it works for me. In a C file, maybe because your language doesn't have real block comments?
Best regards.
Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel