Open enough folds to show the cursor when restoring it.