How to get all HighlightsContainer of editor?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to get all HighlightsContainer of editor?

Peter Cheung

Hi All

   How to get all HighlightsContainer of editor? Someone told me this code works, but HighlightingManager class is not in public package in netbeans 8.2, so it failed to compile.


HighlightsContainer hc = HighlightingManager.getInstance(jtc).getBottomHighlights();


thanks

from Peter