- Updated Monaco Reference to v0.20.0
- Add ColorProvider Language Service Support
- Add FindMatches Model Methods
- Expose
ReadOnly
property - Fix broken Snippet function
- Optimized Decoration Style generation
- Sync
CodeLanguage
andOptions.Language
,HasGlyphMargin
andOptions.GlyphMargin
- Note: Marked
LanguagesHelper
Obsolete, use .Languages.* instead.
Breaking Changes:
- The
CommandHandler
delegate has changed to accept arguments to Commands. - Use
StandaloneEditorConstructionOptions
for Options instead ofIEditorConstructionOptions
CompletionItem
constructor has changed- Snippets need
InsertTextRules
property set toInsertAsSnippet
- Use
HoverProvider
interface instead of original delegate IUri
has been renamed toUri
(see another Future Break #33)- Rename
IsLoaded
toIsEditorLoaded
CssStyleBroker
made internal
- Revert min target back to 14393
- Change Dependencies back
- Updated min target to 16299.
- Add more inline decoration style properties.
- Add
SetPositionAsync
. Fixes #24. - Update NuGet dependencies
- Work for .NET Native
- Changed returns from IWordAtPosition to WordAtPosition for now for .NET Native.
- Breaking:
IModelDecorationOptions
now usesIMarkdownString
for bothHoverMessage
andGlyphMarginHoverMessage
to reflect change in Monaco API. A conveniencestring
andstring[]
extensionToMarkdownString
has been provided. Fixes #22. - Updated Monaco Reference to v0.13.0
- Added initial Language Provider APIs
- CompletionItem (IntelliSense, Snippets, etc...)
- Hover
- Added
install-dependencies.ps1
script to pull down required Monaco reference. - Test app loads content from file now and provides info on things to try.
- Updated Monaco Reference to v0.12.0
- Added Two-way Binding for
SelectedText
andSelectedRange
property. - Fixed Theme Listening to Respect
RequestedTheme
(will not listen to parent changes, but if set will update.) #9 - Cleaned-up Memory Usage from control disposal. #18
- Breaking: Appended 'Async' to Get/SetModelMarkers methods.
- Error Handling with InternalException event for all calls.
- Fixes #16
- Added support for Markers
- Added Opening/Intercepting URIs typed in the Editor.
- Added InternalException event for better pre-release error information.
- Fixes for #5, #7, #8, #10, #12
- Cleaned-up Sample App Presentation
- Breaking: Removed access to DeltaDecorationsAsync, use CodeEditor.Decorations collection instead. This simplifies usage of the control in the asynchronous environment.
- Added support for Action and Command editor extensions.
- Added IEditorOptions support through the CodeEditor.Options property, primary-level property auto-update is supported.
- Added initial single IModel support through CodeEditor.GetModel().
- Added support to retrieve
SelectedText
. - Use minified Monaco library and build for Any CPU.
- Breaking: Renamed 'Editor' to 'CodeEditor' for component.
- Added basic line highlighting support with DeltaDecorationsAsync
- Added preliminary KeyDown event support.
- Added Loading/Loaded event distinction.
- Two-way text binding for code content setting and retrieval.
CodeLanguage
property to set initial syntax highlighting (must be set in XAML declaration).- Support for await new Monaco.LanguagesHelper(Editor).GetLanguagesAsync() call to retrieve supported languages, use Id field in property above.
- Theme Aware: Control automatically picks theme based on system/app light/dark theme and high contrast settings.
- Render Aware: Control only displays once Code Editor has been loaded.