How to set colour for a line?

SyntaxEditor for WPF Forum

Posted 12 years ago by Arthur
Avatar
Hi,
i want to use syntaxeditor as output to make text colourful, is it possible with syntaxeditor?
e.g.
PostInRed(string)
PostInBlue(string)
put each line of text with colour into syntaxeditor.
i guess i cannot use language definition technique to achieve this, text is vary randomly.

thank you in advace

Comments (1)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Arthur,

SyntaxEditor uses text patterns to syntax highlight code. It sounds like what you are trying to do is something more like what a RichTextBox is designed for.


Actipro Software Support

The latest build of this product (v24.1.1) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.