Closed elgransan closed 11 months ago
Try this, not sure if it's the best way, the _codeEditor
is a reference to the Blazor component you are using.
I'm keeping track of the old decorations because in my case i need to update them when the model changes but for some reason they don't get updated.
Well it seems this method is deprecated, not sure if this is the issue https://github.com/microsoft/monaco-editor/blob/main/CHANGELOG.md#breaking-changes-1
Ahhh nice workaround, thanks!
I found on javascript version to decorate a line I must write the following code:
But I couldn't find the way to do this with your wrapper. It is possible?
Thanks!