Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Jun 23, 2016
1 parent eefcdc9 commit b6943a1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
6 changes: 5 additions & 1 deletion build/monaco/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [0.5.0]

### 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)

### Breaking changes
- `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 of a file protocol or a cross-domain case)
- `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.
13 changes: 8 additions & 5 deletions src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,21 @@
.monaco-editor .margin-view-overlays .line-numbers {
position: absolute;
text-align: right;
display: inline-block;
vertical-align: middle;
box-sizing: border-box;
cursor: default;
}

.monaco-workbench .monaco-editor .margin-view-overlays .line-numbers {
/* Specific fix for blurry cursor on hdpi screens in Chrome and Chromium (Windows and other) */
cursor: -webkit-image-set(
url('./flipped-cursor.svg') 1x,
url('./flipped-cursor-2x.svg') 2x
) 30 0, default;

display: inline-block;
vertical-align: middle;
box-sizing: border-box;
}

.monaco-editor.mac .margin-view-overlays .line-numbers {
.monaco-workbench .monaco-editor.mac .margin-view-overlays .line-numbers {
/* Specific fix for blurry cursor on hdpi screens in Chrome and Chromium (Mac) */
cursor: -webkit-image-set(
url('./flipped-cursor-mac.svg') 1x,
Expand Down

0 comments on commit b6943a1

Please # to comment.