Indenting scripts pasted into script window

Want to move your code and projects to LiveCode but don't know where to start?

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller

Post Reply
david_fff
Posts: 27
Joined: Wed Nov 12, 2014 5:29 pm

Indenting scripts pasted into script window

Post by david_fff » Sun Jan 04, 2015 5:38 am

When I copy a Supercard script and paste it into a script window in LC, it does not auto-indent. Is there a way to make that happen?
Thanks, David

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am
Location: Bordeaux, France

Re: Indenting scripts pasted into script window

Post by Dixie » Sun Jan 04, 2015 7:44 am

press the 'tab' key after pasting your script into the script editor...

david_fff
Posts: 27
Joined: Wed Nov 12, 2014 5:29 pm

Re: Indenting scripts pasted into script window

Post by david_fff » Sun Jan 04, 2015 8:46 pm

Oh duhhh! I KNEW it was going to be something ridiculously simple. Thanks, Dixie!!

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am
Location: Bordeaux, France

Re: Indenting scripts pasted into script window

Post by Dixie » Sun Jan 04, 2015 8:50 pm

:D We've all been there !

Post Reply

Return to “Converting to LiveCode”