mirror of
https://github.com/mii443/AzooKeyKanaKanjiConverter.git
synced 2025-08-22 15:05:26 +00:00
Merge pull request #36 from ensan-hcl/fix/spell_checker
Add #else to enable compile in non-Apple platforms
This commit is contained in:
@ -24,6 +24,8 @@ import AppKit
|
||||
return checker.completions(forPartialWordRange: range, in: string, language: language)
|
||||
#elseif os(macOS)
|
||||
return checker.completions(forPartialWordRange: range, in: string, language: language, inSpellDocumentWithTag: 0)
|
||||
#else
|
||||
return nil
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user