Different visual text from stored text

SyntaxEditor for WPF Forum

Posted 10 years ago by David Buksbaum
Version: 12.1.0561

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




Comments (2)

Answer - Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA

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.

Actipro Software Support

Posted 10 years ago by David Buksbaum

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.


The latest build of this product (v22.1.3) was released 19 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.