Posted 13 years ago by Chistopher Allen
Avatar
I know I can change the DefaultCollapsedContent during the GetNodeActionForToken method, but how can I get the next token from within this method? I'm folding on curly braces and want the token immediately following the OpenCurlyBrace to be the collapsed content (so if I have {Test ...} my folded value contains the token "Test" instead of "..."). Any ideas?

Thanks

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Christopher,

Please take a look at the CodeOutliningCollapsedText QuickStart as it shows how to build custom collapsed text for nodes that comes from document text.


Actipro Software Support

The latest build of this product (v18.1 build 0233) was released 4 years ago, which was after the last post in this thread.