lk-code / winui.monaco-editor

The Monaco Editor for WinUI 3
MIT License
9 stars 4 forks source link

HideMiniMap changed, TestApp reworked and more #76

Closed zipgenius closed 4 months ago

zipgenius commented 4 months ago

Property HideMiniMap has been renamed to IsMiniMapVisible and its logic has been inverted (now default is TRUE).

Added LoadFromFileAsync method to load content from a StorageFile item; moreover, it offers the chance to force Monaco Editor to guess the correct coding language.

Added "StickyScroll" property to toggle this feature of Monaco Editor.

Added CurrentCodeLanguage to retrieve the current coding language set in the Editor.

TestApp has been reworked to offer more room for incoming new options.