Hightlighting style registry

SyntaxEditor for WPF Forum

Posted 9 years ago by James Zheng
Version: 16.1.0630
Avatar

Hi Actipro,

Is there a way to set the Hightlighting style registry without loading the syntax editor control? In my project, the editor is rendered in memory without WPF UI element being loaded.

Thanks and regards,

James Zheng

Comments (1)

Posted 9 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi James,

Yes all the language classification type providers have a RegisterAll method you can call to register them.  Then for UI-related classification type registrations, you can call this:

new ActiproSoftware.Text.Languages.DotNet.Implementation.DotNetClassificationTypeProvider().RegisterAll();


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.