• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Disable Text Replacement
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Disable Text Replacement
      • From: Andy Lee <email@hidden>
    • Re: Disable Text Replacement
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Xcode 5.1 is crashing in 10.8.5
  • Next by Date: Re: Running window as a sheet
  • Previous by thread: Re: Xcode 5.1 is crashing in 10.8.5
  • Next by thread: Re: Disable Text Replacement
  • Index(es):
    • Date
    • Thread