Hello everyone! The library is amazing! Could someone assist me? I’m using CodeMirror v6 with the JSON language.
1. When hovering over a row, I need to find all JSON properties in that row and highlight them. I already have logic to iterate through the tree and find all property names (SyntaxNode) in the line, but I need a way to find the DOM nodes that are bound to those property names (SyntaxNode). Is this possible?
2. Where should I add an event listener to listen for the mousemove event?
3. What type of widget should I use for these tasks?
4. If I need to display something near a property name when it’s clicked, should I use a separate widget? It feels like these are two distinct features: clicking on a property and highlighting all properties in the row.
Does anyone have a link to examples involving hovering over a row?
Thank you, and have a great day!