Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit dae76c8

Browse files
committed
🎨
1 parent db0e388 commit dae76c8

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/spellchecker_mac.mm

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,13 @@
5757

5858
@autoreleasepool {
5959
NSString* string = [NSString stringWithUTF8String:text];
60-
NSArray *misspellings = [this->spellChecker checkString:string range:NSMakeRange(0, length) types:NSTextCheckingTypeSpelling options:nil inSpellDocumentWithTag:0 orthography:nil wordCount:nil];
60+
NSArray *misspellings = [this->spellChecker checkString:string
61+
range:NSMakeRange(0, length)
62+
types:NSTextCheckingTypeSpelling
63+
options:nil
64+
inSpellDocumentWithTag:0
65+
orthography:nil
66+
wordCount:nil];
6167
for (NSTextCheckingResult *misspelling in misspellings) {
6268
MisspelledRange range;
6369
range.start = misspelling.range.location;

0 commit comments

Comments
 (0)