Re: [Graymail] How to implement editor-fold in netbeans editor
Volodymyr <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks for your answer. I have the FoldManager implemented, but cannot figure out this exact folding. I suppose I have to implement two new tokens two match the opening and closing of <editor-fold>. But which type FoldType it has to be, USER? It looks really great in Java Editor, I want it to look the same)). Thanks. 10 березня 2016, 16:29:19, від "Ingleby, Graeme" < [email protected] >: There is a section in this tutorial that shows how to create folds for comments, maybe this will help: https://platform.netbeans.org/tutorials/nbm-javacc-parser.html#fold-feature From: Volodymyr [mailto:[email protected]] Sent: Thursday, March 10, 2016 8:20 AM To: NetBeans support Subject: [Graymail] [platform-dev] How to implement editor-fold in netbeans editor Hello, There is a great functionality in NetBeans, editor-fold, but I cannot figure out how to implement its support for my custom language. Does anybody know? Thanks. // <editor-fold defaultstate="collapsed" desc=" My methods "> // </editor-fold> Regards, Volodymyr.