Fixed suggestion span type

pull/214/head
M66B 1 year ago
parent 8e269eb746
commit eafb398e01

@ -449,7 +449,7 @@ public class LanguageTool {
continue; continue;
} else } else
Log.i("LT text='" + edit.subSequence(s, e) + "' " + suggestion); Log.i("LT text='" + edit.subSequence(s, e) + "' " + suggestion);
edit.setSpan(span, s, e, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); edit.setSpan(span, s, e, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE | Spanned.SPAN_COMPOSING);
} }
} }

Loading…
Cancel
Save