Simplification

pull/214/head
M66B 5 months ago
parent efd3edac53
commit 692dc36128

@ -318,12 +318,8 @@ public class StyleHelper {
if (renum)
StyleHelper.renumber(text, false, etBody.getContext());
if (BuildConfig.DEBUG) {
StyleHelper.InsertedSpan[] inserts =
text.getSpans(0, text.length(), StyleHelper.InsertedSpan.class);
for (StyleHelper.InsertedSpan span : inserts)
text.removeSpan(span);
}
if (BuildConfig.DEBUG)
StyleHelper.markAsInserted(text, -1, -1);
} catch (Throwable ex) {
Log.e(ex);
} finally {

Loading…
Cancel
Save