Hello,

You have a very good example here:

https://github.com/junichi11/netbeans-color-codes-preview

BTW, it is a very useful plugin that I would expect be part of core NB
eventually.

Hope it helps.

Cheers,

JM

On Sun, Sep 11, 2022 at 3:20 PM Christian Lenz <christian.l...@gmx.net>
wrote:

> 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
>
>

Reply via email to