src/vs/editor/standalone/browser/inspectTokens/inspectTokens.ts/InspectTokensWidget/_getStateBeforeLine
class InspectTokensWidget:	private _getStateBeforeLine(lineNumber: number): IState {
		let state: IState = this._tokenizationSupport.getInitialState();

		for (let i = 1; i < lineNumber; i++) {
			let tokenizationResult = this._tokenizationSupport.tokenize(this._model.getLineContent(i), true, state, 0);
			state = tokenizationResult.endState;
		}

		return state;
	}