完全禁用NSTextView拼写检查 [英] Completely disable NSTextView spell checking
本文介绍了完全禁用NSTextView拼写检查的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何停用NSTextView的拼字检查?特别是,自动绘制的红线。我知道Xcode中的连续拼写检查选项,并且在拼写检查相关文档中发现的每个选项似乎都不包含红线。
How can I disable spell checking for an NSTextView? In particular, the red lines that are automatically drawn. I know about the "Continuous Spell Checking" option in Xcode, and every option I have found in the documentation related to spell checking doesn't seem to take the red lines away.
推荐答案
选择 NSTextView
(在IB上双击,因为 NSTextView
NSScrollView
默认情况下或在文档大纲中选择它)并转到属性检查器 - >语言学 - >和正在检查 :
Select NSTextView
(doubleClick in IB on it because NSTextView
is in NSScrollView
by default or select it in Document Outline) and go to Attributes Inspector -> Linguistics -> and uncheck Continous Spell Checking here:
结果:
这篇关于完全禁用NSTextView拼写检查的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文