Re: Disable Text Replacement

2015-02-11 Thread Andreas Höschler
Hi Andy, >> >> NSLog(@"isAutomaticTextReplacementEnabled %d", [NSSpellChecker >> isAutomaticTextReplacementEnabled]); >> NSLog(@"isAutomaticSpellingCorrectionEnabled %d", [NSSpellChecker >> isAutomaticSpellingCorrectionEnabled]); >> >> but no corresponding set methods!? > > > Note that you

Re: Disable Text Replacement

2015-02-10 Thread Andy Lee
On Feb 10, 2015, at 11:42 AM, Andreas Höschler wrote: > What puzzles me is that [self > respondsToSelector:@selector(setAutomaticQuoteSubstitutionEnabled:)] returns > NO!? How can this be? It can't, assuming self is an NSTextView (or, as you seem to be using, a subclass of NSTextView). How do

Re: Disable Text Replacement

2015-02-10 Thread Andy Lee
On Feb 10, 2015, at 6:15 AM, Andreas Höschler wrote: > I also found > > NSLog(@"isAutomaticTextReplacementEnabled %d", [NSSpellChecker > isAutomaticTextReplacementEnabled]); > NSLog(@"isAutomaticSpellingCorrectionEnabled %d", [NSSpellChecker > isAutomaticSpellingCorrectionEnabled]); > > bu

Re: Disable Text Replacement

2015-02-10 Thread Andreas Höschler
Hi Jens, > Have you tried turning off automaticDashSubstitutionEnabled? Thanks a lot for you response. I goggled for automaticDashSubstitutionEnabled and landed here: http://stackoverflow.com/questions/19801601/nstextview-with-smart-quotes-disabled-still-replaces-quotes

Re: Disable Text Replacement

2015-02-10 Thread Jens Alfke
Have you tried turning off automaticDashSubstitutionEnabled? —Jens ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.co

Disable Text Replacement

2015-02-10 Thread Andreas Höschler
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(