Disable Text Replacement
Disable Text Replacement
- Subject: Disable Text Replacement
- From: Andreas Höschler <email@hidden>
- Date: Tue, 10 Feb 2015 12:15:44 +0100
Hi all,
I have done
[_textView setAutomaticTextReplacementEnabled:NO];
Still, when I enter three dots . . . into this textview they still get replacement with some unicode character!? Who is doing this replacement and how can this be disabled programmatically?
I also found
NSLog(@"isAutomaticTextReplacementEnabled %d", [NSSpellChecker isAutomaticTextReplacementEnabled]);
NSLog(@"isAutomaticSpellingCorrectionEnabled %d", [NSSpellChecker isAutomaticSpellingCorrectionEnabled]);
but no corresponding set methods!?
[NSSpellChecker setAutomaticTextReplacementEnabled:NO]; <— method does not exist
What is the correct way of switching this replacement stuff off? This might be need in a word-process but when developing an editor for code it is a show-stopper!
Thanks a lot,
Andreas
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden