Please, make suggestions here if you see that something else should be highlighted. I will try to improve the rules before the file is accepted for production.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yes, with this mode literals looks much better, but jedit can not match brackets pair in this sample: ${this.productID_${this.ffff_${this.formData.name-${this.type + ${Math.random()}}}}}
It shows that first closing bracket is a pair for the first open bracket.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would appreciate if someone could check the attachment in real life.
Looking good. Thank you. It was too hard for make by myself.
Please, make suggestions here if you see that something else should be highlighted. I will try to improve the rules before the file is accepted for production.
Please, check this too.
I made template literals recursive, this is not 100% correct, but better than just solid string.
Yes, with this mode literals looks much better, but jedit can not match brackets pair in this sample:
${this.productID_${this.ffff_${this.formData.name-${this.type + ${Math.random()}}}}}
It shows that first closing bracket is a pair for the first open bracket.
Please, provide a working piece of code. The code:
gives syntax error.
Besides, are you sure that nested {} is allowed without backticks? The code seems to be just wrong...
Sooory, I forgot how to use it =)
This is correct code with nesting and it displays good. Strange syntax.
Last edit: Metotron 2017-11-29
The patch includes all the updates: https://sourceforge.net/p/jedit/patches/613/