src/vs/workbench/api/common/extHostTextEditor.ts/TextEditorEdit/_throwIfFinalized
class TextEditorEdit:	private _throwIfFinalized() {
		if (this._finalized) {
			throw new Error('Edit is only valid while callback runs');
		}
	}