设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

Monaco Editor 0.5发布,微软开源的代码编辑器

2016-6-25 21:24| 发布者: joejoe0332| 查看: 753| 评论: 0|原作者: oschina|来自: oschina

摘要: Monaco Editor 0.5 发布了,Monaco Editor 是微软开源的基于 VS Code 的代码编辑器。主要更新如下:重大更新monaco.editor.createWebWorkernow loads the AMD module and callscreateand passes in as first argumen ...

Monaco Editor 0.5 发布了,Monaco Editor 是微软开源的基于 VS Code 的代码编辑器。

主要更新如下:

重大更新

  • 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.onDidChangeModelRawContentIModel.onDidChangeRawContent

值得注意的修复

  • 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

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

下载地址:


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部