src/vs/editor/contrib/multicursor/browser/multicursor.ts/getValueInRange
function getValueInRange(model: ITextModel, range: Range, toLowerCase: boolean): string {
	const text = model.getValueInRange(range);
	return (toLowerCase ? text.toLowerCase() : text);
}