Locates folds in a document. If you are implementing a language that has
sections of source code that can be logically "folded," you can create an
instance of this interface that locates those regions and represents them
knows how to take it from
there and implement code folding in the editor.