Single-Quoted Here-String Syntax Highlighting Issue

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION 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.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 8 years and 3 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
atippetts
Posts: 9
Last visit: Thu Aug 01, 2019 12:09 am

Single-Quoted Here-String Syntax Highlighting Issue

Post 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!
Attachments
Bad Here String - BAD!.png
Bad Here String - BAD!.png (17.23 KiB) Viewed 4652 times
DevinL
Posts: 1098
Last visit: Tue Jun 06, 2017 9:15 am

Re: Single-Quoted Here-String Syntax Highlighting Issue

Post by DevinL »

Thank you for bringing this to our attention, I let the team know and we are looking into it.
DevinL
SAPIEN Technologies, Inc.
This topic is 8 years and 3 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.