Attribute-based implementation of recursive fold closing.
Attribute-based implementation of recursive fold opening.
Comment out movement and line update code for folds.

This is because we haven’t updated these to deal with
ranges quite yet.
Fix a variety of compile errors with the move to attribute-based folds.