Support Forums

Single-Quoted Here-String Syntax Highlighting Issue

Support for all customers who have purchased a PrimalScript product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
User avatar
atippetts
Posts: 9
Joined: Sun Mar 03, 2013 12:42 pm

Single-Quoted Here-String Syntax Highlighting Issue

Postby atippetts » Fri Dec 04, 2015 1:44 pm

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!
Attachments
Bad Here String - BAD!.png
Bad Here String - BAD!.png (17.23 KiB) Viewed 3154 times
User avatar
DevinL
Site Admin
Posts: 731
Joined: Mon Aug 17, 2015 2:25 pm

Re: Single-Quoted Here-String Syntax Highlighting Issue

Postby DevinL » Fri Dec 04, 2015 2:37 pm

Thank you for bringing this to our attention, I let the team know and we are looking into it.
DevinL
SAPIEN Technologies, Inc.

Return to “PrimalScript”

Who is online

Users browsing this forum: No registered users and 3 guests