AppendText & color formatting?

SyntaxEditor for Windows Forms Forum

Posted 14 years ago by olap70
Avatar
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 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
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 (v2018.1 build 0341) was released 7 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.