-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Description
Is there an existing issue for this?
- I have searched the existing issues
Description of the Issue
Lexilla 5.4.1 added new styles for JavaScript template literals in <script> elements: ScintillaOrg/lexilla@3a78ad7
As of Notepad++ 8.7.1, none of the standard issue themes provide these styles. Template literals are shown with the default foreground and background. There are no options to change them in the "Style Configurator", e.g.,
| default | ![]() |
| dark mode default | ![]() |
| "Black board" | ![]() |
| "Navajo" | ![]() |
| "Ruby Blue" | ![]() |
Steps To Reproduce
-
Ctrl+N
-
Language>H>HTML -
Paste this text:
<script> const a = parseInt("5"); const b = parseInt('10'); console.log(`Fifteen is ${a + b} and not ${2 * a + b}.`); // "Fifteen is 15 and // not 20." </script> -
Settings>Style Configurator...>Language: JavaScript (embedded) -
Look for a client-side or server-side template literal style
-
Find nothing :(
Current Behavior
No options in the "Style Configurator" to change the appearance of embedded JavaScript template literals.
Expected Behavior
Options in the "Style Configurator" for client-side JS template literals (SCE_HJ_TEMPLATELITERAL, id 53) and server-side JS template literals (SCE_HJA_TEMPLATELITERAL, id 68)
Debug Information
Notepad++ v8.7.1 (64-bit)
Build time : Oct 31 2024 - 00:48:56
Path : C:\dev\npp.8.7.1\notepad++.exe
Command Line :
Admin mode : OFF
Local Conf mode : ON
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 10 Pro (64-bit)
OS Version : 22H2
OS Build : 19045.5131
Current ANSI codepage : 1252
Plugins :
mimeTools (3.1)
NppConverter (4.6)
NppExport (0.4)
### Anything else?
_No response_




