Is it possible to display different text than what is stored in the backing store based on parsing?
For example, assuming a markdown parser:
Raw Text: **Markdown**
Visual Text: Markdown
Thanks
David
Is it possible to display different text than what is stored in the backing store based on parsing?
For example, assuming a markdown parser:
Raw Text: **Markdown**
Visual Text: Markdown
Thanks
David
Hi David,
Based on your recent questions, it sounds like you might be looking for a WYSIWYG editor instead of a code editor, which is what SyntaxEditor is. But to answer your question, you can use a technique like our "Collapsed Regions - Advanced" QuickStart, which shows how to collapse a region of text and replace it with an adornment, that could be a text sequence. The whole adornment would be selectable as a whole.
Not truly WYSIWYG, or at least not for the whole text. I am looking to improve the non-code blocks of text. For example, formatting the comments between code blocks such that the headers are richly formatted.
I will take a look at the adornments.
Thanks
Please log in to a validated account to post comments.