src/vs/editor/contrib/inlineCompletions/browser/utils.ts/PositionOffsetTransformer/getOffset
class PositionOffsetTransformer:	getOffset(position: Position): number {
		return this.lineStartOffsetByLineIdx[position.lineNumber - 1] + position.column - 1;
	}