Hey Peter, you can have a look here: https://github.com/joakim-eriksson/nb-eslint/tree/master/src/se/jocke/nb/eslint/annotation we did this with Annotations. Unfortunatly, I couldn’t find a solution, how to add the glyph Icon, just before or after the line number. Now it is on top. If you do this by your own with a sidebar, just have a look at this cool repo: https://github.com/junichi11/netbeans-color-codes-preview there you can see, that this is the other implementation that was suggested, with the Sidebar factory.
Cheers Chris Von: Peter Cheung Gesendet: Mittwoch, 7. September 2022 20:30 An: dev@netbeans.apache.org Betreff: netbeans module coding questions hi 1. I want to customize the editor's side bar (the one showing the line number), I want to add some icon to it. Any example for this? 2. The highlightfactory + highlighter is highlighting the editor by char offset. Is it possible to highlight some rows? thanks Peter