function onscrollH(value) {
		preventScrollbarH = true;
		const session = editor.getSession();
		const editorWidth = getEditorWidth(editor);
		const scroll = editorWidth * value;

		session.setScrollLeft(scroll);
		editor._emit("scroll", editor);
		cancelAnimationFrame(scrollAnimationFrame);
	}
Sets the horizontal scroll value of the editor. This is called when the editor is scrolled vertically using the scrollbar.
@param {number} value - The scroll value.