src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/beforeEditPositionMapper.ts/BeforeEditPositionMapper/getDistanceToNextChange
class BeforeEditPositionMapper:	getDistanceToNextChange(offset: Length): Length {
		this.adjustNextEdit(offset);

		const nextEdit = this.edits[this.nextEditIdx];
		const nextChangeOffset = nextEdit ? this.translateOldToCur(nextEdit.offsetObj) : this.documentLength;

		return lengthDiffNonNegative(offset, nextChangeOffset);
	}