Java 类android.text.style.LineBackgroundSpan 实例源码
项目:markor
文件:Highlighter.java
protected void clearSpans(Editable editable) {
clearCharacterSpanType(editable, TextAppearanceSpan.class);
clearCharacterSpanType(editable, ForegroundColorSpan.class);
clearCharacterSpanType(editable, BackgroundColorSpan.class);
clearCharacterSpanType(editable, StrikethroughSpan.class);
clearCharacterSpanType(editable, RelativeSizeSpan.class);
clearCharacterSpanType(editable, StyleSpan.class);
clearCharacterSpanType(editable, ColorUnderlineSpan.class);
clearParagraphSpanType(editable, LineBackgroundSpan.class);
clearParagraphSpanType(editable, LineHeightSpan.class);
}