indent is messed up

Discussions concerning programming of SOFTIMAGE©
Post Reply
clankill3r
Posts: 131
Joined: 21 Oct 2012, 15:36

indent is messed up

Post by clankill3r » 05 Oct 2013, 11:48

My indents are broken.
Look at the screenshot, i have to place it like that to make the script work (look at the line 22, 23, 24).
If i copy paste my script to a text editor then my indent's are as expected.
Do more people have this problem (bug)?
I'm using si2014 sp2
indentsProblem.PNG

EricTRocks
Moderator
Posts: 754
Joined: 25 Nov 2009, 01:41
Contact:

Re: indent is messed up

Post by EricTRocks » 05 Oct 2013, 14:24

You should turn on whitespace in the script editor preferences to see if all the indentation is consistent. Sometimes you get tabs and spaces mixed in and can cause issues.

One tip, select all the text, hit tab, then hit shift+tab. See if that helps.
Eric Thivierge
Lead Kraken Developer, Fabric Engine
http://fabric-engine.github.io/Kraken

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests