-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
Description of the Issue
When opening the UDL dialog, select an existing UDL with something setup in the comment block, the input fields are empty. When type something in there, close notepad++ and reopen it again it is again empty. But when there is an existing UDL with configured comments they are used for syntax highlighting.
Steps to Reproduce the Issue
- Open an existing UDL xml file, for example markdown._preinstalled.udl.xml and check if there is something configured
- Open the UDL dialog and
- select the before checked language
- switch to the "Comment & Number" tab
- check "Comment line style" and "Comment style" blocks => they are empty
- type in all the Fields something
- close the dialog
- close notepad++
- open everything again and the fields are again empty
The xml is changed when something is written into the input fields, but not with the values what was typed in.
Example from markdown._preinstalled.udl.xml
Before: 00# 01 02((EOL)) 03<!-- 04-->
Open NP++, open the dialog and type something in the comment input fields. Close NP++
After: 0 1 2 3 4
Expected Behavior
Display configured comment configuration and allow to config a new configuration for comments.
Actual Behavior
See "Steps to Reproduce the Issue"
Debug Information
Notepad++ v8.3.1 (64-bit)
Build time : Feb 13 2022 - 15:41:12
Path : C:_PortablePrograms\Notepad++\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
OS Name : Windows 10 Pro (64-bit)
OS Version : 2009
OS Build : 19044.1466
Current ANSI codepage : 1252
Plugins : DSpellCheck.dll HexEditor.dll mimeTools.dll NppConverter.dll NppExec.dll NppExport.dll PythonScript.dll XMLTools.dll
