Forum Discussion

grexe's avatar
grexe
Occasional Contributor
15 years ago

Bug in Groovy script editor with multi line strings

In Groovy, it is possible to define multi line strings such as:
def teststr='one\
multi with "quotes" \
line with "quote" and more\
string'

The soapUI script editor highlighting gets confused by multi line strings here and fails to highlight the last line correctly. Also the double quotes cause problems (try to remove and insert them) and cause highlighting to work afterwards, then break it again. (Using 3.6.2 nightly from Monday).

This is more a cosmetic issue, but still confusing because at first I thought my statement was wrong.
No RepliesBe the first to reply