OEA Indenting

Posted by Thomas Mercer-Hursh on 30-Oct-2008 14:28

A lot of the existing code seems to be formatted with a four space indent, but I prefer a two space indent. I have set this in preferences and it works fine for any new code or code I cut and paste, but nothing fixes all the pre-existing code. Is there any option for that somewhere?

All Replies

Posted by Peter Judge on 30-Oct-2008 15:41

Select all (CTRL-A) then CTRL-I (Correct Indentation; there's a context menu option under Source for this too).

-- peter

Posted by Thomas Mercer-Hursh on 30-Oct-2008 15:58

Guess we've got a bug, then, since the 4 space indentions are not corrected.

Posted by GregHiggins on 30-Oct-2008 17:32

I replied on this earlier, you need to remove the tabs.

Posted by Thomas Mercer-Hursh on 30-Oct-2008 17:40

Ah, found that reference ... remarkably ... and sure enough it works! Thanks. Much better.

This thread is closed