Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Disable spell checking / checkDataDetectors

Hello everyone,

I have an NSTextView which at some point displays a lot of characters (a few hundred million). So far, so fine. Scrolling works nicely, only ca. 30% cpu load and then going back to 0% after the scrolling is finished.

But... at some point -without anything else happening at that moment, no user input, nothing- CPU load jumps from 0% to 100% and stays like this for minutes.

Instruments reveals it is NSTextCheckingOperation -> NSSpellCheckerCheckString -> checkDataDetectors.

I already disabled spellchecking in the xib file as well as programtically.

Any ideas how to prevent this nonsense? ;-)

Thanks in advance!
Sign In or Register to comment.