August 2, 2025 at 9:50 am #30353
Participant
Thank you! 🙏
I’ve just adapted my JavaScript highlighter template and the results are fantastic:
String and regex literals now render really well 😃.
With respect to single line highlighting EmEditor now is perfect for my needs.
The only thing I do not have a solution for is multiline matching.
As an example: For the JavaScript multiline comment /*…*/
one could use the regex
(?#_text_c==0)\/\*.*?\*\/
with the /s flag:
Should something like a /s
flag or a directive
#Keyword color=10, …, regexp=on, multiline=on
be possible, then EmEditor’s highlighter would be one of the best I’ve ever seen.