src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.ts/lengthToPosition
export function lengthToPosition(length: Length): Position {
	const l = length as any as number;
	const lineCount = Math.floor(l / factor);
	const colCount = l - lineCount * factor;
	return new Position(lineCount + 1, colCount + 1);
}