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 setting IModelDecorationOptions.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 to true.

    ๐Ÿ’ฅ Breaking Change

    • โœ‚ Removed ICodeEditor.getCenteredRangeInViewport.
    • RenameProvider.resolveRenameLocation now returns RenameLocation instead of IRange.

    Thank you