Stacktrace:
java.lang.ArrayIndexOutOfBoundsException: length=128; index=-1
at io.github.rosemoe.sora.graphics.GraphicTextRow.measureText(GraphicTextRow.java:252)
at io.github.rosemoe.sora.widget.layout.LineBreakLayout.getCharLayoutOffset(LineBreakLayout.java:178)
at io.github.rosemoe.sora.widget.CursorBlink.run(CursorBlink.java:81)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8298)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:576)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1073)
AndroidIDE crash report Manufacturer: Xiaomi Device: M2103K19PG App version: 2.1.2-beta (212)
Stacktrace: java.lang.ArrayIndexOutOfBoundsException: length=128; index=-1 at io.github.rosemoe.sora.graphics.GraphicTextRow.measureText(GraphicTextRow.java:252) at io.github.rosemoe.sora.widget.layout.LineBreakLayout.getCharLayoutOffset(LineBreakLayout.java:178) at io.github.rosemoe.sora.widget.CursorBlink.run(CursorBlink.java:81) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loopOnce(Looper.java:210) at android.os.Looper.loop(Looper.java:299) at android.app.ActivityThread.main(ActivityThread.java:8298) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:576) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1073)