[Geany-devel] Small indentation bug fix
david
davidyang102 at xxxxx
Thu Nov 11 05:32:25 UTC 2010
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.
More information about the Devel
mailing list