@DataTriny discovered a way to cause a panic in AccessKit when moving in an egui multi-line edit. Apparently, the egui cursor can end up being outside the actual bounds of the text. I could fix this in egui, but I think it's better to make AccessKit resilient to broken implementations, when we can do so at little cost. So I implemented a fix in AccessKit instead.
To test this fix with egui, you'll need to cherry-pick this PR onto a local copy of the winit-0.29-backport branch.
@DataTriny discovered a way to cause a panic in AccessKit when moving in an egui multi-line edit. Apparently, the egui cursor can end up being outside the actual bounds of the text. I could fix this in egui, but I think it's better to make AccessKit resilient to broken implementations, when we can do so at little cost. So I implemented a fix in AccessKit instead.
To test this fix with egui, you'll need to cherry-pick this PR onto a local copy of the winit-0.29-backport branch.