From ceee2a5d02c8b1a7ce0c9d30b9d733407b397fe2 Mon Sep 17 00:00:00 2001 From: rdipardo <59004801+rdipardo@users.noreply.github.com> Date: Mon, 18 Nov 2024 18:22:05 -0500 Subject: [PATCH] Add styles for SCE_HJ_TEMPLATELITERAL and SCE_HJA_TEMPLATELITERAL Fixes #15821 --- PowerEditor/installer/themes/Bespin.xml | 2 ++ PowerEditor/installer/themes/Black board.xml | 2 ++ PowerEditor/installer/themes/Choco.xml | 2 ++ PowerEditor/installer/themes/DansLeRuSH-Dark.xml | 2 ++ PowerEditor/installer/themes/DarkModeDefault.xml | 2 ++ PowerEditor/installer/themes/Deep Black.xml | 2 ++ PowerEditor/installer/themes/Hello Kitty.xml | 2 ++ PowerEditor/installer/themes/HotFudgeSundae.xml | 2 ++ PowerEditor/installer/themes/Mono Industrial.xml | 2 ++ PowerEditor/installer/themes/Monokai.xml | 2 ++ PowerEditor/installer/themes/MossyLawn.xml | 2 ++ PowerEditor/installer/themes/Navajo.xml | 2 ++ PowerEditor/installer/themes/Obsidian.xml | 2 ++ PowerEditor/installer/themes/Plastic Code Wrap.xml | 2 ++ PowerEditor/installer/themes/Ruby Blue.xml | 2 ++ PowerEditor/installer/themes/Solarized-light.xml | 2 ++ PowerEditor/installer/themes/Solarized.xml | 2 ++ PowerEditor/installer/themes/Twilight.xml | 2 ++ PowerEditor/installer/themes/Vibrant Ink.xml | 2 ++ PowerEditor/installer/themes/Zenburn.xml | 2 ++ PowerEditor/installer/themes/khaki.xml | 2 ++ PowerEditor/installer/themes/vim Dark Blue.xml | 2 ++ PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp | 2 ++ PowerEditor/src/stylers.model.xml | 2 ++ 24 files changed, 48 insertions(+) diff --git a/PowerEditor/installer/themes/Bespin.xml b/PowerEditor/installer/themes/Bespin.xml index 9775babf0..5153bd7d4 100644 --- a/PowerEditor/installer/themes/Bespin.xml +++ b/PowerEditor/installer/themes/Bespin.xml @@ -304,6 +304,8 @@ Credits: + + diff --git a/PowerEditor/installer/themes/Black board.xml b/PowerEditor/installer/themes/Black board.xml index 3b1d77ec1..d22de8c70 100644 --- a/PowerEditor/installer/themes/Black board.xml +++ b/PowerEditor/installer/themes/Black board.xml @@ -312,6 +312,8 @@ Credits: + + diff --git a/PowerEditor/installer/themes/Choco.xml b/PowerEditor/installer/themes/Choco.xml index 3aaf3e112..83497c0fa 100644 --- a/PowerEditor/installer/themes/Choco.xml +++ b/PowerEditor/installer/themes/Choco.xml @@ -304,6 +304,8 @@ Credits: + + diff --git a/PowerEditor/installer/themes/DansLeRuSH-Dark.xml b/PowerEditor/installer/themes/DansLeRuSH-Dark.xml index 5c150600f..5f68a8d3a 100644 --- a/PowerEditor/installer/themes/DansLeRuSH-Dark.xml +++ b/PowerEditor/installer/themes/DansLeRuSH-Dark.xml @@ -528,6 +528,8 @@ Installation : Copy this file to "%APPDATA%\Notepad++\themes" and in a portable XmlUtil loadXmlString TopologyXmlTree NotificationArea loadXmlFile debug + + diff --git a/PowerEditor/installer/themes/DarkModeDefault.xml b/PowerEditor/installer/themes/DarkModeDefault.xml index 04ac1da01..d66f4998b 100644 --- a/PowerEditor/installer/themes/DarkModeDefault.xml +++ b/PowerEditor/installer/themes/DarkModeDefault.xml @@ -751,6 +751,8 @@ License: GPL2 + + diff --git a/PowerEditor/installer/themes/Deep Black.xml b/PowerEditor/installer/themes/Deep Black.xml index 56b164f0b..ea2d43335 100644 --- a/PowerEditor/installer/themes/Deep Black.xml +++ b/PowerEditor/installer/themes/Deep Black.xml @@ -306,6 +306,8 @@ https://notepad-plus-plus.org/donate/ + + diff --git a/PowerEditor/installer/themes/Hello Kitty.xml b/PowerEditor/installer/themes/Hello Kitty.xml index fb2fb5949..0b309b06e 100644 --- a/PowerEditor/installer/themes/Hello Kitty.xml +++ b/PowerEditor/installer/themes/Hello Kitty.xml @@ -435,6 +435,8 @@ so your enhanced file can be included in Notepad++ future release. + + diff --git a/PowerEditor/installer/themes/HotFudgeSundae.xml b/PowerEditor/installer/themes/HotFudgeSundae.xml index 0ad17a400..cc5768db8 100644 --- a/PowerEditor/installer/themes/HotFudgeSundae.xml +++ b/PowerEditor/installer/themes/HotFudgeSundae.xml @@ -537,6 +537,8 @@ Installation: + + diff --git a/PowerEditor/installer/themes/Mono Industrial.xml b/PowerEditor/installer/themes/Mono Industrial.xml index 1665b9229..995da4cc0 100644 --- a/PowerEditor/installer/themes/Mono Industrial.xml +++ b/PowerEditor/installer/themes/Mono Industrial.xml @@ -336,6 +336,8 @@ Credits: + + diff --git a/PowerEditor/installer/themes/Monokai.xml b/PowerEditor/installer/themes/Monokai.xml index fa1a2ac79..f8100454b 100644 --- a/PowerEditor/installer/themes/Monokai.xml +++ b/PowerEditor/installer/themes/Monokai.xml @@ -336,6 +336,8 @@ Credits: + + diff --git a/PowerEditor/installer/themes/MossyLawn.xml b/PowerEditor/installer/themes/MossyLawn.xml index 693ca56d4..28809e0f7 100644 --- a/PowerEditor/installer/themes/MossyLawn.xml +++ b/PowerEditor/installer/themes/MossyLawn.xml @@ -538,6 +538,8 @@ Installation: + + diff --git a/PowerEditor/installer/themes/Navajo.xml b/PowerEditor/installer/themes/Navajo.xml index 2c4c4d971..d6f56bd05 100644 --- a/PowerEditor/installer/themes/Navajo.xml +++ b/PowerEditor/installer/themes/Navajo.xml @@ -535,6 +535,8 @@ Installation: + + diff --git a/PowerEditor/installer/themes/Obsidian.xml b/PowerEditor/installer/themes/Obsidian.xml index 5112321ca..b1ff2f2b4 100644 --- a/PowerEditor/installer/themes/Obsidian.xml +++ b/PowerEditor/installer/themes/Obsidian.xml @@ -440,6 +440,8 @@ Notepad++ Custom Style + + diff --git a/PowerEditor/installer/themes/Plastic Code Wrap.xml b/PowerEditor/installer/themes/Plastic Code Wrap.xml index f2039e8ff..a4a920754 100644 --- a/PowerEditor/installer/themes/Plastic Code Wrap.xml +++ b/PowerEditor/installer/themes/Plastic Code Wrap.xml @@ -336,6 +336,8 @@ Credits: + + diff --git a/PowerEditor/installer/themes/Ruby Blue.xml b/PowerEditor/installer/themes/Ruby Blue.xml index 17ade4cd0..ba99dcf3e 100644 --- a/PowerEditor/installer/themes/Ruby Blue.xml +++ b/PowerEditor/installer/themes/Ruby Blue.xml @@ -331,6 +331,8 @@ http://sourceforge.net/donate/index.php?group_id=95717 + + diff --git a/PowerEditor/installer/themes/Solarized-light.xml b/PowerEditor/installer/themes/Solarized-light.xml index c9985f2ab..178fe6308 100644 --- a/PowerEditor/installer/themes/Solarized-light.xml +++ b/PowerEditor/installer/themes/Solarized-light.xml @@ -546,6 +546,8 @@ Installation: + + diff --git a/PowerEditor/installer/themes/Solarized.xml b/PowerEditor/installer/themes/Solarized.xml index bd640f7e2..844ff353b 100644 --- a/PowerEditor/installer/themes/Solarized.xml +++ b/PowerEditor/installer/themes/Solarized.xml @@ -718,6 +718,8 @@ Installation: + + diff --git a/PowerEditor/installer/themes/Twilight.xml b/PowerEditor/installer/themes/Twilight.xml index debbcab07..cee4257f3 100644 --- a/PowerEditor/installer/themes/Twilight.xml +++ b/PowerEditor/installer/themes/Twilight.xml @@ -337,6 +337,8 @@ Credits: + + diff --git a/PowerEditor/installer/themes/Vibrant Ink.xml b/PowerEditor/installer/themes/Vibrant Ink.xml index 36d1982a0..c03d15f32 100644 --- a/PowerEditor/installer/themes/Vibrant Ink.xml +++ b/PowerEditor/installer/themes/Vibrant Ink.xml @@ -312,6 +312,8 @@ http://sourceforge.net/donate/index.php?group_id=95717 + + diff --git a/PowerEditor/installer/themes/Zenburn.xml b/PowerEditor/installer/themes/Zenburn.xml index a071e44ff..28bbc635b 100644 --- a/PowerEditor/installer/themes/Zenburn.xml +++ b/PowerEditor/installer/themes/Zenburn.xml @@ -731,6 +731,8 @@ License: GPL2 + + diff --git a/PowerEditor/installer/themes/khaki.xml b/PowerEditor/installer/themes/khaki.xml index 49dc0c1ef..9b07d9ea4 100644 --- a/PowerEditor/installer/themes/khaki.xml +++ b/PowerEditor/installer/themes/khaki.xml @@ -535,6 +535,8 @@ Installation: + + diff --git a/PowerEditor/installer/themes/vim Dark Blue.xml b/PowerEditor/installer/themes/vim Dark Blue.xml index 173efffa0..c8dd1b0bf 100644 --- a/PowerEditor/installer/themes/vim Dark Blue.xml +++ b/PowerEditor/installer/themes/vim Dark Blue.xml @@ -431,6 +431,8 @@ + + diff --git a/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp b/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp index cbd5ea15d..715a85cf3 100644 --- a/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp +++ b/PowerEditor/src/ScintillaComponent/ScintillaEditView.cpp @@ -879,6 +879,8 @@ void ScintillaEditView::setEmbeddedJSLexer() execute(SCI_STYLESETEOLFILLED, SCE_HJ_DEFAULT, true); execute(SCI_STYLESETEOLFILLED, SCE_HJ_COMMENT, true); execute(SCI_STYLESETEOLFILLED, SCE_HJ_COMMENTDOC, true); + execute(SCI_STYLESETEOLFILLED, SCE_HJ_TEMPLATELITERAL, true); + execute(SCI_STYLESETEOLFILLED, SCE_HJA_TEMPLATELITERAL, true); } void ScintillaEditView::setJsonLexer(bool isJson5) diff --git a/PowerEditor/src/stylers.model.xml b/PowerEditor/src/stylers.model.xml index bc960bfee..53225d7aa 100644 --- a/PowerEditor/src/stylers.model.xml +++ b/PowerEditor/src/stylers.model.xml @@ -746,6 +746,8 @@ + +