Page 1 of 1
How to make indents 4 spaces instead of a tab character
Posted: Mon Sep 22, 2003 4:43 am
by monocongo
I want to have 4 spaces instead of a tab character wherever I have indentation in my Java codes. Can this be done in TextPad ? I don't see an option for this in any of the menus.
Thanks in advance for any suggestions.
-James
Posted: Mon Sep 22, 2003 4:51 am
by s_reynisson
Go to
Configure->Preferences->Document Classes->Java->Tabulation
and play away!

Posted: Mon Sep 22, 2003 5:14 am
by monocongo
I figured this one out myself. Here's the trick:
Configure -> Preferences -> Document Classes -> Java -> Tabulation
Set the indent size to four and check both boxes for setting tabs to spaces.
Posted: Mon Sep 22, 2003 5:19 am
by monocongo
Thanks for the zippy reply s_reynisson, I should have checked the forum for updates before posting the answer for the second time !
-James