view: indent: skip only *completely* empty lines
In commit e9f3d760 (the commit that added the indent function in 2006) we can easily see that only *completely* empty lines are skipped, so this was the original intent. And when thinking about it, it makes sense, as the new comment explains in the code. This bug was introduced by commit 874a07f0 in 2007. It doesn't make sense to skip lines containing only tabs but not lines containing only spaces (or tabs + spaces). 10 years later the bug is reported (and fixed). https://bugzilla.gnome.org/show_bug.cgi?id=787268
parent
0cf35294
Please register or sign in to comment