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