如何禁用Textmate 2中每行末尾突出显示的空格?

时间:2014-11-11 06:14:15

标签: textmate textmate2

在Textmate 2中(我目前的版本是2.0 beta 6),我注意到每行末尾的空白始终突出显示。请参见下面的屏幕截图(红色条带突出显示空白)。

enter image description here

如何禁用此功能?我查看了偏好设置,但无法找到设置。我还检查并发现这不是特定于主题的(无论我选择哪个主题,都会显示此突出显示)。

1 个答案:

答案 0 :(得分:1)

如果您在Whitespace下有Bundle Editor个捆绑包;选择它,然后取消选中Language Grammars,然后Trailing Whitespace停用Enable this item

正如OP评论的那样,您可能必须重新启动Textmate才能生效。

Textmate 2's bundle editor on the whitespace bundle -> Language Grammars -> Trailing Whitespace