Given an egui multiline text area, there is another way to get a panic, as reported to me by a Linux user:
Write "Hello",
Press the Enter key twice,
Write "world",
Press the up arrow to place the caret on the empty line.
This fix makes Node::text_selection_focus consistent with Node::text_selection and prevents panicking, but doesn't fix the underlying issue in egui, as "world" is now announced instead of "blank".
Relates to #416
Given an egui multiline text area, there is another way to get a panic, as reported to me by a Linux user:
This fix makes
Node::text_selection_focus
consistent withNode::text_selection
and prevents panicking, but doesn't fix the underlying issue in egui, as "world" is now announced instead of "blank".