src/vs/editor/contrib/folding/browser/hiddenRangeModel.ts/HiddenRangeModel/getMemento
class HiddenRangeModel:	public getMemento(): CollapseMemento {
		return this._hiddenRanges.map(r => ({ startLineNumber: r.startLineNumber - 1, endLineNumber: r.endLineNumber }));
	}