[jedit:patches] #619 Patch for groovy mode
Jean-Francois LARVOIRE via jEdit-devel <[email protected]>
| Newsgroups | gmane.editors.jedit.devel |
|---|---|
| Message-ID | </p/jedit/patches/619/91d8279b1f694c932b478e95e747b5a5591f159a.patches@jedit.p.sourceforge.net> |
I agree with this patch. It's sorely needed! --- ** [patches:#619] Patch for groovy mode** **Status:** open **Group:** **Created:** Tue Jun 19, 2018 02:45 PM UTC by Egor Abramovich **Last Updated:** Thu Oct 14, 2021 04:12 PM UTC **Owner:** Alan Ezust **Attachments:** - [groovy.xml](https://sourceforge.net/p/jedit/patches/619/attachment/groovy.xml) (7.5 kB; text/xml) Problem: Triple quoted strings with HTML markup inside are breaking highlighting. For example, the following code will be highlighted incorrectly: def aMultilineString = """ <a href="http://example.com">Example</a> """ println aMultilineString Fix: Triple-quotes literals should be added to "groovy.xml": <!-- Triple-quotes --> <SPAN TYPE="LITERAL1" DELEGATE="LITERAL"> <BEGIN>"""</BEGIN> <END>"""</END> </SPAN> <SPAN TYPE="LITERAL1"> <BEGIN>'''</BEGIN> <END>'''</END> </SPAN> --- Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/jedit/patches/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/jedit/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. -- ----------------------------------------------- jEdit Developers' List [email protected] https://lists.sourceforge.net/lists/listinfo/jedit-devel