You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A behavior that both testing and breakpoint depends on is decorations' behavior of automatically adjusting their position when the text is changed, and they introspect it with model.getDecorationRange. Currently (testing #186210) it looks like glyphs stay at a static position and ignore editor content changes, and there doesn't seem to be similar introspection available.
Part of #179725
We now support creating glyph margin widgets, allowing you to attach click handlers to glyph margin decorations:
vscode/src/vs/editor/browser/editorBrowser.ts
Lines 254 to 270 in 343c389
This should allow you to handle click events for your specific decoration, preventing issues like this: #180789
Your component will need to manage these widgets manually via these methods:
vscode/src/vs/editor/browser/editorBrowser.ts
Lines 1033 to 1045 in 343c389
Please consider adopting for the following decoration types:
LMK if you have any questions, thanks!
The text was updated successfully, but these errors were encountered: