@lvce-editor/shared-process 0.0.34 → 0.0.35

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.
@@ -284,6 +284,10 @@
284
284
  "id": "Editor.selectUp",
285
285
  "label": "Editor: Select Up"
286
286
  },
287
+ {
288
+ "id": "Editor.selectDown",
289
+ "label": "Editor: Select Down"
290
+ },
287
291
  {
288
292
  "id": "Editor.toggleBlockComment",
289
293
  "label": "Editor: Toggle Block Comment"
@@ -654,5 +654,9 @@
654
654
  {
655
655
  "key": "shift+ArrowUp",
656
656
  "command": "Editor.selectUp"
657
+ },
658
+ {
659
+ "key": "shift+ArrowDown",
660
+ "command": "Editor.selectDown"
657
661
  }
658
662
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/shared-process",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -38,8 +38,8 @@
38
38
  "verror": "^1.10.1",
39
39
  "ws": "^8.8.1",
40
40
  "xdg-basedir": "^5.1.0",
41
- "@lvce-editor/pty-host": "0.0.34",
42
- "@lvce-editor/extension-host": "0.0.34"
41
+ "@lvce-editor/pty-host": "0.0.35",
42
+ "@lvce-editor/extension-host": "0.0.35"
43
43
  },
44
44
  "optionalDependencies": {
45
45
  "electron-clipboard-ex": "^1.3.3",
@@ -65,9 +65,10 @@ export const about = async () => {
65
65
  await invoke(/* About.open */ 'About.open')
66
66
  }
67
67
 
68
- export const showOpenDialog = async () => {
68
+ export const showOpenDialog = async (title) => {
69
69
  const result = await invoke(
70
- /* Dialog.showOpenDialog */ 'Dialog.showOpenDialog'
70
+ /* Dialog.showOpenDialog */ 'Dialog.showOpenDialog',
71
+ /* title */ title
71
72
  )
72
73
  return result
73
74
  }
@@ -16,6 +16,7 @@ export const Commands = {
16
16
  'Platform.getNodePath': Platform.getNodePath,
17
17
  'Platform.getRecentlyOpenedPath': Platform.getRecentlyOpenedPath,
18
18
  'Platform.getTestPath': Platform.getTestPath,
19
+ 'Platform.getTmpDir': Platform.getTmpDir,
19
20
  'Platform.getUserSettingsPath': Platform.getUserSettingsPath,
20
21
  'Platform.setEnvironmentVariables': Platform.setEnvironmentVariables,
21
22
  }
@@ -134,3 +134,7 @@ export const getTestPath = () => {
134
134
  export const getNodePath = () => {
135
135
  return process.argv[0]
136
136
  }
137
+
138
+ export const getTmpDir = () => {
139
+ return tmpdir()
140
+ }