Search code examples
eclipseeditorspacesaptana3

Aptana Studio 3 / Eclipse : strange different widths for tabs/spaces in PHP editor?


Somehow in a PHP editor in Aptana Studio 3 I get very strange behaviour of spaces before indented lines.

The spaces seem to change in width (!) after you type them. Even with a monospace font the text columns are not aligned.

For example :

enter image description here

Both lines in this example have 8 spaces before the text, but they are aligned differently !

What could cause this? I tried every setting in Aptana to fix this, but I can't solve the problem.


Solution

  • Found the solution:

    I was using the Aptana Studio 2.x theme. Changed it to Eclipse theme and the editor works like it should...