How to make indents 4 spaces instead of a tab character

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, MudGuard

Post Reply
monocongo
Posts: 7
Joined: Mon Sep 22, 2003 4:38 am

How to make indents 4 spaces instead of a tab character

Post 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
User avatar
s_reynisson
Posts: 939
Joined: Tue May 06, 2003 1:59 pm

Post by s_reynisson »

Go to
Configure->Preferences->Document Classes->Java->Tabulation
and play away! ;)
monocongo
Posts: 7
Joined: Mon Sep 22, 2003 4:38 am

Post 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.
monocongo
Posts: 7
Joined: Mon Sep 22, 2003 4:38 am

Post 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
Post Reply