mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 08:10:11 +01:00
Adopt core & plugins for 0.5.0
This commit is contained in:
parent
e61cf2c079
commit
18f953b747
10 changed files with 161 additions and 155 deletions
16
CHANGELOG.md
Normal file
16
CHANGELOG.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# Monaco Editor Change log
|
||||
|
||||
## [0.5.0]
|
||||
|
||||
### Breaking changes
|
||||
- `monaco.editor.createWebWorker` now loads the AMD module and calls `create` and passes in as first argument a context of type `monaco.worker.IWorkerContext` and as second argument the `initData`. This breaking change was needed to allow handling the case of misconfigured web workers (running on a file protocol or the cross-domain case)
|
||||
- the `CodeActionProvider.provideCodeActions` now gets passed in a `CodeActionContext` that contains the markers at the relevant range.
|
||||
- the `hoverMessage` of a decoration is now a `MarkedString | MarkedString[]`
|
||||
- the `contents` of a `Hover` returned by a `HoverProvider` is now a `MarkedString | MarkedString[]`
|
||||
- removed deprecated `IEditor.onDidChangeModelRawContent`, `IModel.onDidChangeRawContent`
|
||||
|
||||
### Notable fixes
|
||||
- Broken configurations (loading from `file://` or misconfigured cross-domain loading) now load the web worker code in the UI thread. This caused a breaking change in the behaviour of `monaco.editor.createWebWorker`
|
||||
- The right-pointing mouse pointer is oversized in high DPI - [issue](https://github.com/Microsoft/monaco-editor/issues/5)
|
||||
- The editor functions now correctly when hosted inside a `position:fixed` element.
|
||||
- Cross origin configuration is now picked up (as advertised in documentation from MonacoEnvironment)
|
||||
Loading…
Add table
Add a link
Reference in a new issue