Page 1 of 1

Smart Indenting

Posted: Sat Feb 03, 2007 7:00 am
by Colin Haig
I have downloaded the evaluation copy and set up an extension of .prg for
clipper file types but I cant seem to get smart indenting to do anything.

eg
if xVar == 'W'
cursor should indent 3 places
endif // when endif is typed should outdent 3 places
endif

Is this what is meant by smart indenting.

Cheers

Colin

Posted: Sun Feb 04, 2007 10:12 pm
by jussij
Hi Colin,

The smart indenting in Zeus only works for the {,} brace chracters :(

All I can suggest is to setup some templates to do the indenting. For an example of what templates do, create a new file with a .cpp file extension and type in ife followed by the space bar.

Cheers Jussi