grexe
15 years agoOccasional Contributor
Bug in Groovy script editor with multi line strings
In Groovy, it is possible to define multi line strings such as:
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.
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.