How to reproduce:
1. Open the attached “IN-136967” project
2. Open “IME Repro” window (Test > IME Repro)
3. Change typing language to Japanese (in the OS)
4. In the “IME Repro” window, select the text field
5. Type a lot of text
6. Observe the Console
Actual result: An "ArgumentOutOfRangeException" error is thrown
Expected result: No errors are thrown
Reproducible with: 2023.3.0a18, 6000.0.70f1, 6000.3.11f1, 6000.4.0b12, 6000.5.0a9
Not reproducible: 2023.3.0a17
Reproducible on: macOS 26.3 (M1 Pro)
Not reproducible on: No other environment tested
Note: Error thrown: “ArgumentOutOfRangeException: Specified argument was out of the range of valid values.”