-
Notifications
You must be signed in to change notification settings - Fork 29k
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
Test: glyph margin widgets #186210
Labels
Milestone
Comments
This looks like an ideal use case to try the monaco editor playground! |
Just some notes/thoughts:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Refs: #176316
Authors: @joyceerhl @alexdima
Complexity: 4
Create Issue
We've added support for
GlyphMarginWidget
s in the code editor. This allows decoration authors in core only (not extension authors) to handle clicks on glyph margin decorations by passing in a DOM node that has attached listeners.Test: please take a look at the
IGlyphMarginWidget
interface and the new methods for adding, layouting, and removing widgets. Verify that the methods and properties make sense, are properly documented, and behave as expected.edit from hediet: Try out the new API in the monaco editor playground!
Refs:
vscode/src/vs/editor/browser/editorBrowser.ts
Lines 255 to 271 in f907729
vscode/src/vs/editor/browser/editorBrowser.ts
Lines 1029 to 1041 in f907729
The text was updated successfully, but these errors were encountered: