mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
Adopt latest monaco-editor-core
This commit is contained in:
parent
19554e0f06
commit
3fec0c1bcf
4 changed files with 12 additions and 11 deletions
|
|
@ -25,10 +25,10 @@ This npm module is bundled and distributed in the [monaco-editor](https://www.np
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
* `git clone https://github.com/Microsoft/monaco-css`
|
|
||||||
* `cd monaco-css`
|
|
||||||
* `npm install .`
|
* `npm install .`
|
||||||
* `npm run prepublish`
|
* compile with `npm run compile`
|
||||||
|
* watch with `npm run watch`
|
||||||
|
* `npm run prepublishOnly`
|
||||||
* open `$/monaco-css/test/index.html` in your favorite browser.
|
* open `$/monaco-css/test/index.html` in your favorite browser.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
|
||||||
12
package-lock.json
generated
12
package-lock.json
generated
|
|
@ -11,15 +11,15 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"monaco-editor-core": {
|
"monaco-editor-core": {
|
||||||
"version": "0.16.0",
|
"version": "0.18.1",
|
||||||
"resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.16.0.tgz",
|
"resolved": "https://registry.npmjs.org/monaco-editor-core/-/monaco-editor-core-0.18.1.tgz",
|
||||||
"integrity": "sha512-8tm8vq0SVuQ+VXZFtPIEIronK3102SYCWe8wviWu/5TV4zlDQcf4YdzI6A4CrNqbUc46dD0ngijaKWoRSViI8g==",
|
"integrity": "sha512-euzXzmwjZFG0oAPGjICMwINcZBzQDyfGDYlAR5YNMBJZO9Bmkqq1xpTTze/qQ0KKbVmawFXiwgUbg7WVgebP9Q==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"monaco-languages": {
|
"monaco-languages": {
|
||||||
"version": "1.7.0",
|
"version": "1.8.0",
|
||||||
"resolved": "https://registry.npmjs.org/monaco-languages/-/monaco-languages-1.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/monaco-languages/-/monaco-languages-1.8.0.tgz",
|
||||||
"integrity": "sha512-2YrYlkCF/g2H0PDt/ERax2IStaihZ17v1JkYnj2xEALYNah0pbQvGH9gXJvdVx0EpBoSRmxVnrwwM2oBWWOjSQ==",
|
"integrity": "sha512-vC/lqNgSslQT3vSlNOpyT34ELK0eoNbA/rHUvTUjQemIiR1GpRMKhuwB21BqzWk+0MjZuJydGSCQMCebBge7jg==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"monaco-plugin-helpers": {
|
"monaco-plugin-helpers": {
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,8 @@
|
||||||
"url": "https://github.com/Microsoft/monaco-css/issues"
|
"url": "https://github.com/Microsoft/monaco-css/issues"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"monaco-editor-core": "0.16.0",
|
"monaco-editor-core": "0.18.1",
|
||||||
"monaco-languages": "1.7.0",
|
"monaco-languages": "1.8.0",
|
||||||
"monaco-plugin-helpers": "^1.0.2",
|
"monaco-plugin-helpers": "^1.0.2",
|
||||||
"requirejs": "^2.3.6",
|
"requirejs": "^2.3.6",
|
||||||
"typescript": "3.3.3333",
|
"typescript": "3.3.3333",
|
||||||
|
|
|
||||||
|
|
@ -472,6 +472,7 @@ export class DocumentSymbolAdapter implements monaco.languages.DocumentSymbolPro
|
||||||
detail: '',
|
detail: '',
|
||||||
containerName: item.containerName,
|
containerName: item.containerName,
|
||||||
kind: toSymbolKind(item.kind),
|
kind: toSymbolKind(item.kind),
|
||||||
|
tags: [],
|
||||||
range: toRange(item.location.range),
|
range: toRange(item.location.range),
|
||||||
selectionRange: toRange(item.location.range)
|
selectionRange: toRange(item.location.range)
|
||||||
}));
|
}));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue