Re: Of course I forgot some NSTextFinder questions

2017-03-21 Thread Daryle Walker
> On Mar 20, 2017, at 1:41 PM, Quincey Morris > wrote: > > On Mar 20, 2017, at 04:58 , Daryle Walker > wrote: >> >>> If all the strings were concatenated together would be the ‘x’ in "fox”. > >> Is there a

Re: Of course I forgot some NSTextFinder questions

2017-03-20 Thread Quincey Morris
On Mar 20, 2017, at 04:58 , Daryle Walker wrote: > >> If all the strings were concatenated together would be the ‘x’ in "fox”. > Is there a off-by-one bug with the end of the second string? Or am I really > misunderstanding Apple’s counting strategy? The second string seems to

Of course I forgot some NSTextFinder questions

2017-03-20 Thread Daryle Walker
1. From Apple’s NSTextFinder class guide : > For example, if a client had the strings “The quick”, “brown fox” , “jumped > over the lazy”, and “dog”, and a NSText​Finder instance requests the string > at index 18, then the client