Indentation in Code Window

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
lupuss
Posts: 25
Joined: Sat Nov 27, 2010 10:24 am

Indentation in Code Window

Post by lupuss » Sat Dec 18, 2010 11:49 am

My code window does not always indent automatically the way it is usually done by other programming frameworks. Inserting a CR after the end statement of the handler has no effect. The lines are still messy. Is there a setting or a trick to make it indent properly e.g. in nested ifs with extended switch statements inside?

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Indentation in Code Window

Post by jmburnod » Sat Dec 18, 2010 1:06 pm

Hi Lupuss,

On mac i indent my code with tabkey

Best

Jean.Marc
https://alternatic.ch

AndyP
Posts: 634
Joined: Wed Aug 27, 2008 12:57 pm
Contact:

Re: Indentation in Code Window

Post by AndyP » Sat Dec 18, 2010 4:50 pm

Hi Lupuss,

Highlight your code and hit the Tab key.
Andy .... LC CLASSIC ROCKS!

lupuss
Posts: 25
Joined: Sat Nov 27, 2010 10:24 am

Re: Indentation in Code Window

Post by lupuss » Sun Dec 19, 2010 1:13 am

Thank you Jean and Andy.

Post Reply