

That’s really a design choice, and there’s no chance that every theme maintainer will universally adopt it. In fact, the only way to replicate the former style would be to copy and paste the existing label style, adding the attribute styleId="8", in every theme’s XML descriptor. Of course none of the themes have been updated with the new SCE_BAT_AFTER_LABEL style (id 8). The former way of styling labels was reported as a bug and changed in Lexilla 5.2.5, which added a new style class for the rest of the line after the first word of the label.

Likely what happened is that the Scintilla lexer for batch “tightened up” the definition of what a label is, and that resulted in the behavior change you’re that’s exactly what happened. But a line starting with : is simply a label, even though the rest of the line (after the label) is ignored. Comments in batch start with rem but a pseudo comment can start with. Hmm, probably because that isn’t a “comment” it’s a “label”. (Fix said in Notepad++ v8.5.4 Release:Ĭomments in batch files with colons are no longer correctly formatted across the entire line Fix tabContextMenu_example.xml not being deleted while uninstallation.Add the ability to close multiple files without saving in Document list.Add message NPPM_DARKMODESUBCLASSANDTHEME to allow plugin to use generic dark mode.Fix lexer plugin is sorted unconventionally in language menu issue (Fix #9516).Add “open new blank document in addition on startup” ability.

