Multiple Font Sizes

SyntaxEditor for WPF Forum

Posted 8 years ago by David Buksbaum
Version: 11.2.0551
Avatar
Hello,

I have not been able to find any documentation about having multiple font sizes for text in the same editor instance. For example, supporting some text in Consolas Bold Size: 14, and other text (same line or different line) in Arial Normal Size: 11.

Is there a sample or documentation showing how to do this?

Thanks
David

Comments (1)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
I'm not sure if we have any samples showing it, however it's pretty easy. Each highlighting style that you register for a classification type has properties for things like font family. So you can just set those properties to prevent them from using the defaults.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) 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.