开发者

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 :

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

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

What could cause t开发者_运维知识库his? I tried every setting in Aptana to fix this, but I can't solve the problem.


Found the solution:

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


Here's the solution I found:

Go to Preferences > Aptana Studio > Themes. In the element list, find "punctuation", then deselect "B"(bold). That should fix the problem.

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜