NSSpellChecker: add stub for +isAutomaticTextReplacementEnabled

Add stub for +[NSSpellChecker isAutomaticTextReplacementEnabled] for
compatibility purposes.
This commit is contained in:
Daniel Ferreira 2017-08-17 07:12:52 +10:00 committed by Ivan Vučica
parent ac56a5aeae
commit 677572bef1
2 changed files with 7 additions and 0 deletions

View file

@ -80,6 +80,8 @@ enum
id _correctButton;
}
+ (BOOL)isAutomaticTextReplacementEnabled;
//
// Making a Checker available
//

View file

@ -162,6 +162,11 @@ static int __documentTag = 0;
}
}
+ (BOOL)isAutomaticTextReplacementEnabled
{
return NO;
}
//
// Making a Checker available
//