NSSpellChecker plugin cleanup

Authored by rjvbb on Mar 9 2018, 1:00 PM.

Description

NSSpellChecker plugin cleanup

Cache the sharedSpellChecker instance in each method that uses it
more than once. Also, retain the m_langCode NSString for the lifetime
of our NSSpellCheckerDict instance. This prevents a crash during the
language guessing step.

Details

Committed
rjvbbMar 9 2018, 3:40 PM
Parents
R246:6a5b1bfa8811: Include replacement strings in the suggestion list
Branches
Unknown
Tags
Unknown