We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is some issue in TextArea that causes StringIndexOutOfBoundsException to be thrown. See reproduction steps.
TextArea
StringIndexOutOfBoundsException
TextAreaTest
TextField
GIF
Latest source
Exception in thread "LWJGL Application" java.lang.StringIndexOutOfBoundsException: String index out of range: 7 at java.lang.String.charAt(String.java:646) at com.badlogic.gdx.scenes.scene2d.ui.TextField.wordUnderCursor(TextField.java:166) at com.badlogic.gdx.scenes.scene2d.ui.TextField.wordUnderCursor(TextField.java:175) at com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldClickListener.clicked(TextField.java:769) at com.badlogic.gdx.scenes.scene2d.utils.ClickListener.touchUp(ClickListener.java:89) at com.badlogic.gdx.scenes.scene2d.ui.TextField$TextFieldClickListener.touchUp(TextField.java:795) at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:58) at com.badlogic.gdx.scenes.scene2d.Stage.touchUp(Stage.java:353) at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.java:332) at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:215) at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:124)
Others untested.
The text was updated successfully, but these errors were encountered:
Duplicate of #3887
Sorry, something went wrong.
No branches or pull requests
Issue details
There is some issue in
TextArea
that causesStringIndexOutOfBoundsException
to be thrown. See reproduction steps.Reproduction steps/code
TextAreaTest
TextField
.GIF
Version of LibGDX and/or relevant dependencies
Latest source
Stacktrace
Please select the affected platforms
Others untested.
The text was updated successfully, but these errors were encountered: