Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
不知何故,在 Aptana Studio 3 的 PHP 编辑器中,我在缩进行之前得到了非常奇怪的空格行为。
键入后,空格的宽度(!)似乎发生了变化。即使使用等宽字体,文本列也不会对齐。
例如 :
此示例中的两行在文本前都有 8 个空格,但它们的对齐方式不同!
什么可能导致这种情况?我尝试了 Aptana 中的所有设置来解决此问题,但我无法解决问题。
找到了解决方案:
我使用的是 Aptana Studio 2.x 主题。将其更改为 Eclipse 主题,并且编辑器可以正常工作...
这是我找到的解决方案:
转到首选项 > Aptana Studio > 主题。在元素列表中,找到“标点符号”,然后取消选择“B”(粗体)。那应该可以解决问题。