Formatting script

Deploying to Mac OS? Ask Mac OS specific questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
kaveh1000
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 539
Joined: Sun Dec 18, 2011 7:23 pm
Contact:

Formatting script

Post by kaveh1000 »

Auto syntax highlighting and formatting is great, but indentation not always correct and hierarchical as I type. Even when stack is saved and reopened, indentation is wrong. Any way to fix this?
Kaveh
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Formatting script

Post by Klaus »

HI kaveh1000,

1. welcome to the forum! :D
2. Hit the TAB key from time to time, that will cause indentation to take place in and for the handler the cursor is currently in!


Best

Klaus
kaveh1000
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 539
Joined: Sun Dec 18, 2011 7:23 pm
Contact:

Re: Formatting script

Post by kaveh1000 »

Wow. Thanks Klaus. And hi from a guy who used HyperCard since it was beta, and just can't say goodbye. Thanks to RuvRev. :-)
Kaveh
Klaus
Posts: 14324
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Formatting script

Post by Klaus »

Hi kaveh1000,
kaveh1000 wrote:Wow. Thanks Klaus. And hi from a guy who used HyperCard since it was beta, and just can't say goodbye
hi :D
kaveh1000 wrote:Thanks to RuvRev. :-)
Sloppy outlanders! 8)
It actually spells "RoughRev"
:D :D :D


Best from germany

Klaus
dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10501
Joined: Wed May 06, 2009 2:28 pm

Re: Formatting script

Post by dunbarx »

Hi from an old HC guy who still codes there every day.

HC did this as well, with the tabKey, I mean. Selecting the whole script and hitting tab (in either program) does wonders.

Craig Newman
Post Reply