src/vs/workbench/contrib/mergeEditor/browser/model/rangeUtils.ts/rangeIsBeforeOrTouching
export function rangeIsBeforeOrTouching(range: Range, other: Range): boolean {
	return (
		range.endLineNumber < other.startLineNumber ||
		(range.endLineNumber === other.startLineNumber &&
			range.endColumn <= other.startColumn)
	);
}