What happened?
Try to search in the note, this happened. After a few hours or minutes fixing
App Version
7.11.1
Android Version (API Level)
33
(Optional) Relevant log output
java.lang.IndexOutOfBoundsException: setSpan (4092 ... 4093) ends beyond length 4087
at android.text.SpannableStringBuilder.checkRange(SpannableStringBuilder.java:1326)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:685)
at android.text.SpannableStringBuilder.setSpan(SpannableStringBuilder.java:677)
at androidx.emoji2.text.SpannableBuilder.setSpan(SourceFile:18)
at com.philkes.notallyx.presentation.view.misc.highlightableview.HighlightableEditText.highlight(SourceFile:111)
at com.philkes.notallyx.presentation.activity.note.EditNoteActivity.highlightSearchResults(SourceFile:74)
at com.philkes.notallyx.presentation.activity.note.EditActivity.updateSearchResults(SourceFile:15)
at com.philkes.notallyx.presentation.activity.note.EditActivity$setupListeners$lambda$41$$inlined$doAfterTextChanged$1.afterTextChanged(SourceFile:18)
at android.widget.TextView.sendAfterTextChanged(TextView.java:11108)
at android.widget.TextView$ChangeWatcher.afterTextChanged(TextView.java:14229)
at android.text.SpannableStringBuilder.sendAfterTextChanged(SpannableStringBuilder.java:1278)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:578)
at androidx.emoji2.text.SpannableBuilder.replace(SourceFile:7)
at android.text.SpannableStringBuilder.replace(SpannableStringBuilder.java:508)
at androidx.emoji2.text.SpannableBuilder.replace(SourceFile:4)
at androidx.emoji2.text.SpannableBuilder.replace(SourceFile:1)
at android.view.inputmethod.BaseInputConnection.replaceText(BaseInputConnection.java:941)
at android.view.inputmethod.BaseInputConnection.setComposingText(BaseInputConnection.java:712)
at android.view.inputmethod.InputConnectionWrapper.setComposingText(InputConnectionWrapper.java:154)
at com.android.internal.inputmethod.RemoteInputConnectionImpl.lambda$setComposingText$25$com-android-internal-inputmethod-RemoteInputConnectionImpl(RemoteInputConnectionImpl.java:724)
at com.android.internal.inputmethod.RemoteInputConnectionImpl$$ExternalSyntheticLambda20.run(Unknown Source:8)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:211)
at android.os.Looper.loop(Looper.java:300)
at android.app.ActivityThread.main(ActivityThread.java:8503)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:561)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
What happened?
Try to search in the note, this happened. After a few hours or minutes fixing
App Version
7.11.1
Android Version (API Level)
33
(Optional) Relevant log output