- Posted by
- Awesome! And it seems to be working fine if Arrow functions (with par.) is combined with Anonymous section. /TGBegin "Named Functions" /TGFindStr = "(?-i)^[\t ]*(?:[!(]|[\w$]+\(|(?:(?:const|let|var)[\t ]+)?[\w$]+[\t ]*[:=][\t ]*(?:{[\w$]+[\t ]*:[\t ]*)?)?function[\t ]*([\w$]+)[\t ]*\([^\)]*?\)" /TGB...Posted in Syntax Highlighting
-   Topics
-   Views
- V@no
Jul 14, 2020
1 Like recived
- Thank you very much! There is one issue though, it fails recognize functions inside an object on separate line. Here is more complete list of tests, including new arrow functions: !function(){}(); // test1 !function test2(){}(); // test2 (funct...Posted in Syntax Highlighting
-   Topics
-   Views
- V@no
Jul 12, 2020
1 Like recived
- Hello. The latest javascript engine supports multiline string when enclosed in ` (back-tick) Strings in " and ' are still single line strings only. How do we go about adding such support to existing syntax highlighting file? Thank you.Posted in Syntax Highlighting
-   Topics
-   Views
- V@no
Sep 07, 2017
1 Like recived