Content originally posted in LPCWare by CodeRedSupport on Thu Jan 14 05:45:56 MST 2010
When you first hit tab on a new line, it will indent to below the first character on the previous line. So, if the preceding line starts at character 2, it will indent to character 2. After that, it will obey the tabbing rules you define.
The place to set the behavious (including inserting spaces rather than tabs) is:
Window->Preferences
General/Editors/Text Editors
[A tip for finding relevant pages is to type what you are looking for in "type filter text" box on the Preference dialog. Typing 'tab' into this field shows 4 pages]