Skip to content
Commit 9c7f9457 authored by Sébastien Wilmet's avatar Sébastien Wilmet
Browse files

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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment