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
fontStyle
(with theS
capitalized) in all the UDL.xml that I have, and I do see the bold/italic/underlining still follow thefontStyle
setting 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.
-
@dshuman52 said in Bold, Italic and Underline in UDL style:
stupid user error.
I hate it when that happens to me. :-)
Glad you found the problem.