AppendText & color formatting?

SyntaxEditor for Windows Forms Forum

Posted 19 years ago by olap70
I am using Document.AppendText(<string> ) to add text, but how do I specify what the fore and background color of the text I'm adding should be? Can I do this?

[ 03-24-2005: Message edited by: olap70 ]

Comments (1)

Posted 19 years ago by Actipro Software Support - Cleveland, OH, USA
No, for that you should use something like a RichTextBox. SyntaxEditor uses patterns to figure out what to color text. Any text you add is lexically parsed and the parser assigns color to it depending on what language you have loaded.

Actipro Software Support

The latest build of this product (v24.1.0) was released 4 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.