You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found this easy to reproduce by deleting (CTRL + bcksp) then typing new text.
The new text seems to have weird effects and eventually causes game to hang.
Reported version: 1.4.0-beta4 Operating system: All
There's a bit of information missing here. It only seems to happen when crtl-backspacing on leading whitespace in the text. Considering the documentation of StringIterator::Prev the icu variant seems to return the wrong value in this case. It should only return END if the cursor was at the start before, not within some whitespace. We're checking for that with CanDeleteChar(), so once Prev is fixed the iterator usage should be fine.
Jam35 opened the ticket and wrote:
Reported version: 1.4.0-beta4
Operating system: All
This issue was imported from FlySpray: https://bugs.openttd.org/task/5924
The text was updated successfully, but these errors were encountered: