Skip to content

UDL comment configuration input fields are broken #11239

@MaDill

Description

@MaDill

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

  1. Open an existing UDL xml file, for example markdown._preinstalled.udl.xml and check if there is something configured
  2. Open the UDL dialog and
  3. select the before checked language
  4. switch to the "Comment & Number" tab
  5. check "Comment line style" and "Comment style" blocks => they are empty
  6. type in all the Fields something
  7. close the dialog
  8. close notepad++
  9. 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

udl

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions