@eno@complexpoint Are you seeing lots of other issues with Pinyin text input now or is this an isolated crash?
I’m trying to make sense of the inputs that the text system is giving me, and in this case the range doesn’t seem to be matching what the documentation says I should expect. I’m trying to understand if the bug is in my code, or in the input manager.
I think there are some bugs in the input manager. For example, when typing abcdefghijk in TextEdit.app, you can see that the candidate word crashes in some way, but this crash does not cause the text editor to crash. This example is rare, but I don’t think it is isolated. I encountered similar patterns in several other patterns around macos 10.12 (sorry I can’t remember, but it was not common). I haven’t encountered it since I changed computers.
I think there are some bugs in the input manager. For example, when typing abcdefghijk in TextEdit.app, you can see that the word in the candidate window has crashed in some way, only this crash has not caused the text editor to crash. This example is rare, but I don’t think it’s isolated.
I came across a few other patterns similar to this back in about macos 10.12 (I’m sorry I can’t remember the patterns, and it was not common). I haven’t come across them since I switched computers.
I just did some trying and found the following combinations: