Try surrounding the call with beginEditing and endEditing on the text storage.
If it still happens, submit a feedback to Apple with the full crash log.
--
Gary L. Wade
http://www.garywade.com/
> On Mar 26, 2021, at 4:11 AM, Mark Allan via Cocoa-dev
> wrote:
>
> Hi folks,
>
> Some users are
Don’t forget to include a sample app that demonstrates the problem.
—Rob
> On Mar 26, 2021, at 12:02 PM, Gary L. Wade via Cocoa-dev
> wrote:
>
> Try surrounding the call with beginEditing and endEditing on the text
> storage. If it still happens, submit a feedback to Apple with the full
This does seem quite surprising. However, here’s the thing: this code is very
strange approach to take.
Number 1: Cocoa doesn’t support exceptions as an error-handling mechanism
except where explicitly stated and supported. You’re trying to use them, which
is asking for trouble. The system
Hi folks,
Some users are reporting a crash that I can't reproduce, and in an attempt to
gain additional diagnostics from a user, I wrapped the affected line in a
try/catch block. For two users it resolve the crash, but for a third, it's
still crashing at the same point!
The crash occurs when