Page 1 of 1

Here-String Case

Posted: Thu Sep 20, 2018 9:04 am
by jonathan.gose@outlook.com
Sapien PrimalScript 2018 x64 7.4.116.0
Windows 10 1803 x64

Experiencing an issue with the contents of here-strings having their case shifted (causing issues as they are being utilized for SQL statements). When I initially copy the associated SQL statement from SSMS the casing remains intact. If I happen to review or highlight the SQL statement afterwards PrimalScript will randomly adjust character casing. Fortunately, I caught this as the DB I'm updating is case sensitive and would not appreciate the changes. Once PrimalScript changes the case I'm unable to revert to it's original unless I copy the entire query back and do not interact with it. Not sure if disabling auto case correction will resolve the issue as I'd very much like to keep it enabled.

Thanks
Jonathan

Re: Here-String Case

Posted: Thu Sep 20, 2018 11:07 am
by davidc
I have been unable to reproduce this issue on my end. Any specific steps you can provide will be useful.
As for the auto case correction option, I don't think it is the cause because that feature is triggered by the PrimalSense window when a selection is made.

Since you mention it happens while selecting the text, I wonder if it is the case of an accidental keyboard combo press? For example, if you press [Ctrl + U] it will convert the selection to lowercase.

Re: Here-String Case

Posted: Thu Sep 20, 2018 12:08 pm
by Alexander Riedel
Can you please attach an actual file with the content in question? or email it to support@sapien.com

Re: Here-String Case

Posted: Fri Sep 21, 2018 1:08 pm
by jonathan.gose@outlook.com
Attached, removed some items at the top as they contain internal information. I am able to replicate this behavior any time I select any part of the various here strings. Simply highlighting will change the case on select and where (not relevant but concerning) and highlighting the portion with the 'R' or double clicking on it will change it to 'r'.

Thanks for looking into this.

Re: Here-String Case

Posted: Fri Sep 21, 2018 2:27 pm
by mxtrinidad
Thank you for providing the sample code.

I saw that highlighting line 277, containing the 'R', will change to 'r' automatically.
We'll look into it!

Re: Here-String Case

Posted: Fri Sep 21, 2018 10:22 pm
by Alexander Riedel
I am not getting that with the latest service build, so please check again after you update. Thanks for the file.

Re: Here-String Case

Posted: Mon Sep 24, 2018 11:48 am
by jonathan.gose@outlook.com
Experiencing the same issue with 7.4.117.0. Please let me know.

Thanks
Jonathan

Re: Here-String Case

Posted: Mon Oct 08, 2018 5:21 am
by Alexander Riedel
Can you please try 118 and see if that fixes the issue. I cannot replicate this here.
If the issue persists I am going to give it another look.