How to register multiple highlighting styles

SyntaxEditor for WPF Forum

Posted 3 years ago by IneedHelp
Version: 16.1.0633
Avatar

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

Comments (1)

Answer - Posted 3 years ago by IneedHelp
Avatar

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