@lvce-editor/test-worker 16.5.0 → 16.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +1 -0
- package/dist/testWorkerMain.js +4 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -474,6 +474,7 @@ interface DiffView {
|
|
|
474
474
|
readonly handleWheel: (deltaMode: number, deltaY: number) => Promise<void>;
|
|
475
475
|
readonly handleWorkspaceChange: () => Promise<void>;
|
|
476
476
|
readonly open: (leftUri: string, rightUri: string) => Promise<void>;
|
|
477
|
+
readonly setCursorPosition: (rowIndex: number, columnIndex: number) => Promise<void>;
|
|
477
478
|
readonly setDiffMode: (diffMode: DiffMode) => Promise<void>;
|
|
478
479
|
readonly setLayout: (layout: DiffLayout) => Promise<void>;
|
|
479
480
|
readonly shouldHaveContentLeft: (expectedContent: string) => Promise<void>;
|
package/dist/testWorkerMain.js
CHANGED
|
@@ -2843,6 +2843,9 @@ const handleScrollBarPointerMove = async clientY => {
|
|
|
2843
2843
|
const handleScrollBarPointerUp = async clientY => {
|
|
2844
2844
|
await execute$1('DiffView.handleScrollBarPointerUp', clientY);
|
|
2845
2845
|
};
|
|
2846
|
+
const setCursorPosition = async (rowIndex, columnIndex) => {
|
|
2847
|
+
await execute$1('DiffView.setCursorPosition', rowIndex, columnIndex);
|
|
2848
|
+
};
|
|
2846
2849
|
|
|
2847
2850
|
const DiffView = {
|
|
2848
2851
|
handleClickAt: handleClickAt$3,
|
|
@@ -2856,6 +2859,7 @@ const DiffView = {
|
|
|
2856
2859
|
handleWheel: handleWheel$3,
|
|
2857
2860
|
handleWorkspaceChange,
|
|
2858
2861
|
open: open$9,
|
|
2862
|
+
setCursorPosition,
|
|
2859
2863
|
setDiffMode,
|
|
2860
2864
|
setLayout,
|
|
2861
2865
|
shouldHaveContentLeft,
|