function testScroll(moveX, moveY) {
		const UP = reverseScrolling ? "down" : "up";
		const DOWN = reverseScrolling ? "up" : "down";
		const LEFT = reverseScrolling ? "right" : "left";
		const RIGHT = reverseScrolling ? "left" : "right";

		const vDirection = moveY > 0 ? DOWN : UP;
		const hDirection = moveX > 0 ? RIGHT : LEFT;

		const { getEditorHeight, getEditorWidth } = editorManager;
		const scrollLeft = editor.renderer.getScrollLeft();
		const scrollTop = editor.renderer.getScrollTop();
		const [editorWidth, editorHeight] = [
			getEditorWidth(editor),
			getEditorHeight(editor),
		];

		if (
			(vDirection === "down" && scrollTop <= 0) ||
			(vDirection === "up" && scrollTop >= editorHeight)
		) {
			moveY = 0;
		}

		if (
			(hDirection === "right" && scrollLeft <= 0) ||
			(hDirection === "left" && scrollLeft >= editorWidth)
		) {
			moveX = 0;
		}

		return [moveX, moveY];
	}
Test if scrolling is possible
@param {number} moveX move in x direction
@param {number} moveY move in y direction
@returns {[number, number]}