Posted 8 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 8 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 (v2018.1 build 0232) was released 12 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.