says that in Java code
I think its impossible to do this correctly in TextPad. One needs to simultaneously achieve:Four spaces should be used as the unit of indentation. The exact construction of the indentation (spaces vs. tabs) is unspecified. Tabs must be set exactly every 8 spaces (not 4).
1. Pressing tab to move the cursor forward 4 spaces using spaces instead of tabs.
2. When opening a file with tab characters in tab stops should be set to every 8 characters.
I know how to do each of these on their own - but is it possible to do both at once?
At the moment I have to make do with just 1. which is fine when I look at my own code, but makes Sun's source code for Java look revolting.
Anyone know how to achieve this?