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 theScapitalized) in all the UDL.xml that I have, and I do see the bold/italic/underlining still follow thefontStylesetting 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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login