The MoreSupport extension now show cases more of the API features
Documents and editor now provide more direct APIs to access the used language.
This also allows overriding the language used in a document. Furthermore, that language is used to disambiguate the language that belongs to a submode.
Finally, the status bar entry that displays the language name now uses the Language API.