Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add removeAllMarkers method in monaco api #151237

Merged
merged 1 commit into from
Jun 10, 2022

Conversation

CGNonofr
Copy link
Contributor

@CGNonofr CGNonofr commented Jun 3, 2022

@hediet
Copy link
Member

hediet commented Jun 8, 2022

What is wrong about

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

setModelMarkers(model, myOwner, []);

?

@CGNonofr
Copy link
Contributor Author

CGNonofr commented Jun 8, 2022

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

@hediet hediet requested a review from alexdima June 8, 2022 11:09
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