src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.ts/positionToLength
export function positionToLength(position: Position): Length {
	return toLength(position.lineNumber - 1, position.column - 1);
}