| Adding code folding to a ProjectionViewer [message #488393]
||Mon, 28 September 2009 14:13
| J. Andres Pizarro
Registered: July 2009
I am trying to add code folding feature to a projection viewer inside a view. But i'm having some problems to understand how does this feature works, so i ask for your help.
What i have is a ProjectionViewer instance, providing it a Document object with a ProjectionAnnotationModel, specifying the positions where the ProjectionAnnotation instances are, that is...
Document doc = new Document(text);
ProjectionModelFactory factory = new ProjectionModelFactory(doc);
When the viewer is shown, projection annotation icons are shown, but when i click on them nothing happens.
I also installed a ProjectionSupport object, and I enabled projection in the widget. But still nothing happens...
Can anyone of you give me a hint about what to do next?
Powered by FUDForum
. Page generated in 0.03934 seconds