Hightlighting style registry

SyntaxEditor for WPF Forum

Posted 4 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 4 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 (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.