@lvce-editor/source-control-worker 1.9.0 → 1.10.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.
|
@@ -1173,7 +1173,7 @@ const executeProvider = async ({
|
|
|
1173
1173
|
|
|
1174
1174
|
const CommandExecute = 'ExtensionHostCommand.executeCommand';
|
|
1175
1175
|
const SourceControlGetEnabledProviderIds = 'ExtensionHostSourceControl.getEnabledProviderIds';
|
|
1176
|
-
const SourceControlGetFileBefore = 'ExtensionHostSourceControl.
|
|
1176
|
+
const SourceControlGetFileBefore = 'ExtensionHostSourceControl.getFileBefore';
|
|
1177
1177
|
const SourceControlGetGroups = 'ExtensionHostSourceControl.getGroups';
|
|
1178
1178
|
|
|
1179
1179
|
const executeCommand = (id, ...args) => {
|
|
@@ -1775,11 +1775,11 @@ const getPortTuple = () => {
|
|
|
1775
1775
|
};
|
|
1776
1776
|
};
|
|
1777
1777
|
|
|
1778
|
-
const
|
|
1778
|
+
const SourceControlWorker = 66;
|
|
1779
1779
|
|
|
1780
1780
|
const sendMessagePortToExtensionHostWorker = async port => {
|
|
1781
1781
|
const command = 'HandleMessagePort.handleMessagePort2';
|
|
1782
|
-
await invokeAndTransfer('SendMessagePortToExtensionHostWorker.sendMessagePortToExtensionHostWorker', port, command,
|
|
1782
|
+
await invokeAndTransfer('SendMessagePortToExtensionHostWorker.sendMessagePortToExtensionHostWorker', port, command, SourceControlWorker);
|
|
1783
1783
|
};
|
|
1784
1784
|
|
|
1785
1785
|
const createExtensionHostRpc = async () => {
|
|
@@ -2298,24 +2298,24 @@ const commandMap = {
|
|
|
2298
2298
|
'SourceControl.getCommandIds': getCommandIds,
|
|
2299
2299
|
'SourceControl.handleButtonClick': wrapCommand(handleButtonClick),
|
|
2300
2300
|
'SourceControl.handleClickAt': wrapCommand(handleClickAt),
|
|
2301
|
+
'SourceControl.handleClickSourceControlButtons': wrapCommand(handleClickSourceControlButtons),
|
|
2301
2302
|
'SourceControl.handleContextMenu': wrapCommand(handleContextMenu),
|
|
2302
2303
|
'SourceControl.handleFocus': wrapCommand(handleFocus),
|
|
2303
2304
|
'SourceControl.handleMouseOut': wrapCommand(handleMouseOut),
|
|
2304
|
-
'SourceControl.refresh': wrapCommand(refresh),
|
|
2305
2305
|
'SourceControl.handleMouseOutAt': wrapCommand(handleMouseOutAt),
|
|
2306
2306
|
'SourceControl.handleMouseOver': wrapCommand(handleMouseOver),
|
|
2307
2307
|
'SourceControl.handleMouseOverAt': wrapCommand(handleMouseOverAt),
|
|
2308
|
-
'SourceControl.setDeltaY': wrapCommand(setDeltaY),
|
|
2309
2308
|
'SourceControl.handleWheel': wrapCommand(handleWheel),
|
|
2310
2309
|
'SourceControl.loadContent': wrapCommand(loadContent),
|
|
2310
|
+
'SourceControl.refresh': wrapCommand(refresh),
|
|
2311
2311
|
'SourceControl.render2': render2,
|
|
2312
2312
|
'SourceControl.renderActions2': renderActions,
|
|
2313
2313
|
'SourceControl.renderEventListeners': renderEventListeners,
|
|
2314
2314
|
'SourceControl.saveState': saveState,
|
|
2315
2315
|
'SourceControl.selectIndex': wrapCommand(selectIndex),
|
|
2316
|
+
'SourceControl.setDeltaY': wrapCommand(setDeltaY),
|
|
2316
2317
|
'SourceControl.terminate': terminate,
|
|
2317
|
-
'SourceControl.updateIcons': wrapCommand(updateIcons)
|
|
2318
|
-
'SourceControl.handleClickSourceControlButtons': wrapCommand(handleClickSourceControlButtons)
|
|
2318
|
+
'SourceControl.updateIcons': wrapCommand(updateIcons)
|
|
2319
2319
|
};
|
|
2320
2320
|
|
|
2321
2321
|
const listen = async () => {
|