Monaco Editor v0.22.0 Release Notes

  • ๐Ÿ†• New & Noteworthy

    • ๐Ÿ†• new grammars for Modula-3 and ECL (Enterprise Control Language).
    • โž• added monaco.editor.onDidChangeMarkers to listen for marker changes.
    • โž• added monaco.editor.registerCommand to register global commands.
    • โž• added monaco.languages.setColorMap to allow defining the color map used for tokenization.
    • โž• added IMonarchLanguage.includeLF to allow matching against the \n at the end of each line.
    • ๐Ÿ†• new editor option stickyTabStops to make interacting with spaces in indentation behave more like interacting with tabs.

    ๐Ÿ’ฅ Breaking changes

    • The ESM version of the editor will no longer define a global monaco object. You can define global.MonacoEnvironment = { globalAPI: true } if you want for the editor to define this global object.
    • ๐Ÿ“‡ Renamed OnTypeRenameProvider to LinkedEditingRangeProvider and related methods like the editor option renameOnType (now linkedEditing), registerOnTypeRenameProvider (now registerLinkedEditingRangeProvider), etc.
    • ๐Ÿ“‡ Renamed OnEnterRule.oneLineAboveText to OnEnterRule.previousLineText

    Thank you

    Contributions to monaco-editor:

    Contributions to monaco-languages:

    Contributions to monaco-typescript:

    Contributions to monaco-css:

    • @jpett: Fix error Cannot read property 'getModeId' of null PR #10