Skip to content

Add removeAllMarkers method in monaco api#151237

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

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

Conversation

@CGNonofr

@CGNonofr CGNonofr commented Jun 3, 2022

Copy link
Copy Markdown
Contributor

@hediet

hediet commented Jun 8, 2022

Copy link
Copy Markdown
Member

What is wrong about

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

setModelMarkers(model, myOwner, []);

?

@CGNonofr

CGNonofr commented Jun 8, 2022

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

@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