Bold, Italic and Underline in UDL style
Notepad 7.8.2 portable 64 bit
The following assumes that fontstyle in the XML file is the value that controls the Bold, Italic and Underline font attributes.
With the upgrade to User Defined languages was fontsstyle disabled by design or possibly accident? I tried to create a new UDL and fontstyle appeared to never get set in the XML file (value was always 0). On old UDLs bold, italic and index appear to be no longer effective even when fontstyle is not zero.
I think the attribute names are case sensitive; it is written as
Scapitalized) in all the UDL.xml that I have, and I do see the bold/italic/underlining still follow the
fontStylesetting for my UDL.
<WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="7" nesting="0" />
(that FOLDER IN CODE1 properly sets all three of bold, italic, and underlined)
The lack of BIU attributes on the old file was due to a global override if BIU, stupid user error.
The inability to set new entries may also be due to the global override.