Hi,
https://www.actiprosoftware.com/docs/controls/wpf/syntaxeditor/user-interface/styles/highlighting-styles
This is from documentation:
"All the properties in HighlightingStyle are initially set to "default" values. These default values are set up to not change formatting in any way.
In the code example above however, we have assigned a Maroon
foreground Color
to the style. This means that the style defined above will only change the foreground of text that it is applied against. It will not alter the bold weight, font size, etc."
In my case I want "Maroon" highlighting style to change the font to Regular because it was Bold before. The problem is if Regular is default value, it will not do anything, it will merge the styles.(I do not want merging styles). It will just keep the Bold. I want to be able to make a style overwrite all the previous existing properties of the text even though some of them are default values.
Kind regards,
Daniel