Shift Left 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.
User avatar
cking2
Posts: 62
Joined: Wed Sep 03, 2008 2:14 am
Location: Winona, Minnesota, USA

Shift Left issue

Post by cking2 »

Just updated to v.4.5.572 to make sure latest did not fix but...

Under many conditions, if I hightlight a block of code and shift left, the lines outside say an If/End If block don't shift. But, shift right always seem to honor my wishes.

For example-if I have an if/then inside say a loop or another if/then. Maybe I am editing my code and simply delete the outer loop and shift remaining code to left. Any lines below the inside loop don't shift.

Try this. The If/Then will shift left but the Wscript.echo line does not.



-ck


User avatar
cking2
Posts: 62
Joined: Wed Sep 03, 2008 2:14 am
Location: Winona, Minnesota, USA

Shift Left issue

Post by cking2 »

Hmm, I was testing within the existing script that I first noticed the issue but if I create a new script file with only the code in screenshot, it behaves fine.

Not sure what is going on with other script. I will test with more existing scripts.

-c