[Geany-devel] [PATCH] Fix bug 3037795 (miltiline comment closing indentation)

Dejan Cabrilo dcabrilo at xxxxx
Thu Aug 19 11:07:40 UTC 2010

Hello all,

I'm new here and I hope this is the right way to submit this patch.
Anyway, the bug was this:

This manifested in PHP like this:
 * Miltiline comment
_auto indentation has an extra space.

The reason for this was that auto_multiline function in editor.c
trapped code to fix indentation after multiline comment in if
(sci_get_style_at(sci, indent_pos) == style). I'm not sure why this
was added in the latest release (the check didn't exist earlier), so I
just moved the code for fixing the indent before this condition.

The patch is trivial and attached (it's against latest SVN).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-bug-3037795.patch
Type: text/x-patch
Size: 2595 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20100819/176d1e79/attachment.bin>

More information about the Devel mailing list