src/vs/workbench/services/textMate/electron-sandbox/textMateWorker.ts/TextMateWorkerModel/onEvents
class TextMateWorkerModel:	override onEvents(e: IModelChangedEvent): void {
		super.onEvents(e);
		for (let i = 0; i < e.changes.length; i++) {
			const change = e.changes[i];
			const [eolCount] = countEOL(change.text);
			this._tokenizationStateStore.applyEdits(change.range, eolCount);
		}
		this._ensureTokens();
	}