Commit [f99e62] Maximize Restore History

Fix folding of the very last line in a level when unfolding children

Fix an off-by-one mistake resulting on the very last line of a nested
folded level not to be unfolded when recursively unfolding it's parent.

This was only visible when the last fold point was only one line long,
otherwise unfolding the (N-1)th line was enough.

Closes #1007.

Colomban Wendling Colomban Wendling 2013-11-22

changed src/editor.c
src/editor.c Diff Switch to side-by-side view
Loading...