Skip to content

Add removeAllMarkers method in monaco api - #151237

Merged
Alexandru Dima (alexdima) merged 1 commit into
microsoft:mainfrom
CodinGame:add-monaco-remove-all-markers
Jun 10, 2022
Merged

Add removeAllMarkers method in monaco api#151237
Alexandru Dima (alexdima) merged 1 commit into
microsoft:mainfrom
CodinGame:add-monaco-remove-all-markers

Conversation

@CGNonofr

Copy link
Copy Markdown
Contributor

@hediet

Copy link
Copy Markdown
Member

What is wrong about

// export function setModelMarkers(model: ITextModel, owner: string, markers: IMarkerData[]): void;

setModelMarkers(model, myOwner, []);

?

@CGNonofr

Copy link
Copy Markdown
Contributor Author

What is wrong about

// export function setModelMarkers(model: ITextModel, owner: string, markers: IMarkerData[]): void;

setModelMarkers(model, myOwner, []);

?

It only removes the markers for a single model

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Add a way to delete all markers of an owner

5 participants