How to register multiple highlighting styles

SyntaxEditor for WPF Forum

Posted 8 years ago by IneedHelp
Version: 16.1.0633

Considering the SyntaxEditorSamples\QuickStart\ClassificationLayered example, is there a way to register multiple highlighting styles?

Comments (1)

Answer - Posted 8 years ago by IneedHelp

Solved by creating a dictionarry containing classification types as keys and lists of strings as keywords ( public static readonly Dictionary<ClassificationType, List<string>> KeyWordsD = new Dictionary<ClassificationType, List<string>>(); ) and feeding it to the GetTags method loop.

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

Add Comment

Please log in to a validated account to post comments.