src/vs/editor/browser/viewParts/minimap/minimap.ts/MinimapSamplingState/modelLineToMinimapLine
class MinimapSamplingState:	public modelLineToMinimapLine(lineNumber: number): number {
		return Math.min(this.minimapLines.length, Math.max(1, Math.round(lineNumber / this.samplingRatio)));
	}