Page 1 of 1

Single-Quoted Here-String Syntax Highlighting Issue

Posted: Fri Dec 04, 2015 1:44 pm
by atippetts
Product, version and build: PrimalScript 2015 v7.1.73
32 or 64 bit version of product: x64
Operating system: Win7
32 or 64 bit OS: x64

There appears to be a syntax highlighting issue with single-quoted here-strings; double-quoted here-strings do not appear to exhibit this issue.

Example: type this out!
$tesths = @"
this is some string
another line of the string
"@ #end of the here string

$blah = "howdy"

$tesths2 = @'
This is a single-quoted here string
Another line
'@ #End of the here string

$blah2 = "howdy again"
#this comment should look like a comment


****************************************
Any lines after the closing single-quoted here string terminator ('@) shows up as if it is a continuation of the string value. i.e. "#this comment should look like a comment" is normally green, but shows up as dark brown. See pic attached.

Since there are important and distinct uses for both single- and double-quoted here-strings, I'd appreciate seeing this fixed in a future build.

Thanks!

Re: Single-Quoted Here-String Syntax Highlighting Issue

Posted: Fri Dec 04, 2015 2:37 pm
by DevinL
Thank you for bringing this to our attention, I let the team know and we are looking into it.