How to register multiple highlighting styles

SyntaxEditor for WPF Forum

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