Page 1 of 1

Strange Coloring in PowerShell scripts

Posted: Thu Jan 14, 2010 4:38 am
by greatbarrier86
It appears that when i browse through my script, the coloring changes randomly on certain areas. Unquoted stuff suddenly displays the quoted font and vice versa. It looks fine when i open it, but when i scroll down and click somewhere within the code, the font and color changes. I scroll to the top and click and it works fine. I'm pretty certain i can convince my boss to let me buy this, but i just want to make sure about this. Maybe i've set it up incorrectly.


On the http://support.sapien.com/logs/default.asp page, under PrimalScript 2009, it shows "Fix: Multiline coloring in PowerShell can cause incorrect coloring" but i installed the new version and it doesn't seem to fix the problem. Perhaps this isn't the same issue?

Strange Coloring in PowerShell scripts

Posted: Thu Jan 14, 2010 4:51 am
by Alexander Riedel
The best way to find this out is if you send a script that displays the problem (zipped) to support@sapien.com.
We made some changes to way multi-line strings are handled in PowerShell, so it is possible there is a kink or two left.

We are more than happy to look and investigate what you send us.

Strange Coloring in PowerShell scripts

Posted: Fri Jan 15, 2010 7:49 am
by Alexander Riedel
Please download build 625 and check if this resolves your problem.

Strange Coloring in PowerShell scripts

Posted: Mon Jan 18, 2010 9:39 pm
by greatbarrier86
That fixed it. Thanks so much Alex.