Code Formatting & 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 7 years and 1 week 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
OldLost
Posts: 55
Last visit: Wed Feb 21, 2018 8:00 am

Code Formatting & Syntax highlighting issue?

Post by OldLost »

PowerShell Studio 2017 v5.4.137 x64
Windows Server 2012 R2 64bit

These both work in PowerShell itself, but PS Studio does not want to syntax highlight the second one properly.
4-3-2017 12-01-00 PM.jpg
4-3-2017 12-01-00 PM.jpg (56.55 KiB) Viewed 1347 times
Also, in the second, "Format Script" wants to put a space after the dash before "Pattern".

Is this a bug perhaps? Or is it me?
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

Re: Code Formatting & Syntax highlighting issue?

Post by davidc »

This is indeed is a bug (with the parser) and it will be resolved in the next service release.
David
SAPIEN Technologies, Inc.
This topic is 7 years and 1 week 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.