-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UDL import causes **fontName** to be corrupted in userDefineLang.xml and/or UDL export #5630
Comments
Would be great to have a working template for this file. |
The working template for the file can be generated by using the User Defined Lanugage dialog box to create a language in the first place. Or through the
As it says in the npp-user-manual on the Configuration Files Details page:
It then goes on to describe the safest sequence for editing a Notepad++ configuration file inside Notepad++. The primary method of editing Notepad++ configuration (including UDL) is through the GUI interface. If you choose not to edit it that way, the onus is on you to do things correctly.
Wow. Curse at the volunteers who are able to help you: great way to try to get help or get your request implemented. |
@E3V3A This is an open source project, that means you can do your contribution to fix it... If you are not capable, you can ask people whom you don't pay nicely. |
I am still experiencing similar issues with my own UDL files. EDIT |
Per Community Forum #17574, UDL import seems to have a bug with importing a language causing UDL to mess up the
fontName
settings.Forum member "@Karsten75" started with an UDL-XML file to import:
When that user imported the UDL, then exported it, the export had corrupted fontName.
I tried two experiments, as described in my post there, and re-described here:
My Experiment 1:
fontName=""
, whereas the source didn't have those tags at all (except for the onefontName="Calibri"
)That one worked the way I expected.
Experiment 2:
close notepad++
delete ...\npp.7.6.6.bin.x64\userDefineLangs\smol.xml
save original example to importSmol.xml
run that edition of Notepad++, do Language > Define your language > import..., and smol shows up.
exit Notepad++l, and re-run that edition of Notepad++.
Look at
...\npp.7.6.6.bin.x64\userDefineLang.xml
: it has smol, but as @Karsten75 described, thefontName="..."
settings are corrupted:My actions seem to confirm the bug that @Karsten75 reported in the forum.
This may be the behavior that @jensensen saw in #5501...
The text was updated successfully, but these errors were encountered: