Hi,
I noticed this small bug with snippet indentation.
The indentation is based on the total number of whitespace in the line, not the total number of _indenting_ whitespace in the line. Indenting whitespace is all whitespace before [^\t ].
I have no idea how to send a patch, so this is my best effort.
*** 2591,2596 **** --- 2591,2598 ---- case '\t': count += tab_size; break; + default: + return count; } } return count;
Good luck.
On Thu, 11 Nov 2010 00:32:25 -0500 david davidyang102@gmail.com wrote:
Hi,
I noticed this small bug with snippet indentation.
The indentation is based on the total number of whitespace in the line, not the total number of _indenting_ whitespace in the line. Indenting whitespace is all whitespace before [^\t ].
I have no idea how to send a patch, so this is my best effort.
Thanks, I applied the fix in SVN. I listed you in the ChangeLog as 'david', let me know if you prefer something else.
BTW, the patch didn't apply, but it was clear what the fix was. If you're interested, see: http://geany.org/manual/dev/hacking.html#patches
Nick