Currently, I'm trying to remove model-markers from a Monaco-Model with the following approach.
monac.editor.getModelMarkers({owner: "owner"}).forEach(marker => {
console.log(marker)
marker.dispose()
})
Markers currently are set through the setModelMarker() method
monaco.editor.setModelMarkers(editor.getModel(), "owner", markers)
Setting an empty array to the Model override the model-markers, so this could be used as a workaround.
monaco.editor.setModelMarkers(editor.getModel(), "owner", [])
Is there any way how I could reliably remove model-markers