When Lookup can't provide a range, it sometimes returns (NSNotFound, 0), and other times, (0, 0). In the latter case, we somehow build a single character string. rdar://problem/26960385
Created attachment 281916 [details] proposed patch
Created attachment 281917 [details] proposed patch Forgot to update a FIXME.
Comment on attachment 281917 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=281917&action=review > Source/WebCore/editing/mac/DictionaryLookup.mm:144 > + // FIXME (159063): We shouldn't need to check for zero lenght here. lenght!
Committed http://trac.webkit.org/r202390