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 »

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: 2734
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Indentation in Code Window

Post by jmburnod »

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 »

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 »

Thank you Jean and Andy.
Post Reply