Monaco Editor v0.13.0 Release Notes
-
๐ New & Noteworthy
- ๐ New folding provider
registerFoldingRangeProvider
. - You can now specifies the stack order of a decoration by setting
IModelDecorationOptions.zIndex
. A decoration with greater stack order is always in front of a decoration with a lower stack order. - You can now tell Monaco if there is an
inlineClassName
which affects letter spacing. the stack order of a decoration by settingIModelDecorationOptions.inlineClassNameAffectsLetterSpacing
. - Get the text length for a certain line on text model (
ITextModel.getLineLength(lineNumber: number)
) - ๐ New option
codeActionsOnSave
, controls whether code action kinds will be run on save. - ๐ New option
codeActionsOnSaveTimeout
, controls timeout for running code actions on save. - ๐ New option
multiCursorMergeOverlapping
, controls if overlapping selections should be merged. Default totrue
.
๐ฅ Breaking Change
- โ Removed
ICodeEditor.getCenteredRangeInViewport
. RenameProvider.resolveRenameLocation
now returnsRenameLocation
instead ofIRange
.
Thank you
- ๐ Sergey Romanov @Serhioromano: Add new language Structured Text support PR monaco-languages#32
- Yukai Huang @Yukaii: Fix backspace in IME composition on iOS Safari PR vscode#40546
- ๐ New folding provider