java.lang.IndexOutOfBoundsException
at android.graphics.Canvas.drawText(Canvas.java:1717)
at org.autojs.autojs.ui.edit.editor.CodeEditText.drawText(CodeEditText.java:215)
at org.autojs.autojs.ui.edit.editor.CodeEditText.onDraw(CodeEditText.java:114)
at android.view.View.draw(View.java:17256)
at android.view.View.updateDisplayListIfDirty(View.java:16221)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738)
at android.view.View.updateDisplayListIfDirty(View.java:16184)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738)
at android.view.View.updateDisplayListIfDirty(View.java:16184)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738)
at android.view.View.updateDisplayListIfDirty(View.java:16184)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738)
at android.view.View.updateDisplayListIfDirty(View.java:16184)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738)
at android.view.View.updateDisplayListIfDirty(View.java:16184)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738)
at android.view.View.updateDisplayListIfDirty(View.java:16184)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738)
at android.view.View.updateDisplayListIfDirty(View.java:16184)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738)
at android.view.View.updateDisplayListIfDirty(View.java:16184)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738)
at android.view.View.updateDisplayListIfDirty(View.java:16184)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738)
at android.view.View.updateDisplayListIfDirty(View.java:16184)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:677)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:683)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:797)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:3000)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2794)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2382)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1372)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6782)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:933)
at android.view.Choreographer.doCallbacks(Choreographer.java:742)
at android.view.Choreographer.doFrame(Choreographer.java:674)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:919)
at android.os.Handler.handleCallback(Handler.java:761)
at android.os.Handler.dispatchMessage(Handler.java:98)
at android.os.Looper.loop(Looper.java:156)
at android.app.ActivityThread.main(ActivityThread.java:6623)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
Description:
java.lang.IndexOutOfBoundsException at android.graphics.Canvas.drawText(Canvas.java:1717) at org.autojs.autojs.ui.edit.editor.CodeEditText.drawText(CodeEditText.java:215) at org.autojs.autojs.ui.edit.editor.CodeEditText.onDraw(CodeEditText.java:114) at android.view.View.draw(View.java:17256) at android.view.View.updateDisplayListIfDirty(View.java:16221) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738) at android.view.View.updateDisplayListIfDirty(View.java:16184) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738) at android.view.View.updateDisplayListIfDirty(View.java:16184) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738) at android.view.View.updateDisplayListIfDirty(View.java:16184) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738) at android.view.View.updateDisplayListIfDirty(View.java:16184) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738) at android.view.View.updateDisplayListIfDirty(View.java:16184) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738) at android.view.View.updateDisplayListIfDirty(View.java:16184) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738) at android.view.View.updateDisplayListIfDirty(View.java:16184) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738) at android.view.View.updateDisplayListIfDirty(View.java:16184) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738) at android.view.View.updateDisplayListIfDirty(View.java:16184) at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:3758) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3738) at android.view.View.updateDisplayListIfDirty(View.java:16184) at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:677) at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:683) at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:797) at android.view.ViewRootImpl.draw(ViewRootImpl.java:3000) at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2794) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2382) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1372) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6782) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:933) at android.view.Choreographer.doCallbacks(Choreographer.java:742) at android.view.Choreographer.doFrame(Choreographer.java:674) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:919) at android.os.Handler.handleCallback(Handler.java:761) at android.os.Handler.dispatchMessage(Handler.java:98) at android.os.Looper.loop(Looper.java:156) at android.app.ActivityThread.main(ActivityThread.java:6623) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:942) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:832)
Device info: