![Avatar](https://secure.gravatar.com/avatar/d5138d71d9899b3b17ec3fa23f6b8679.jpg?s=64&d=identicon&r=g)
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.