File tree Expand file tree Collapse file tree
android/src/main/java/com/swmansion/enriched/styles Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import android.text.Editable
44import android.text.Spannable
55import android.text.SpannableStringBuilder
66import android.text.Spanned
7- import android.util.Log
87import com.swmansion.enriched.EnrichedTextInputView
98import com.swmansion.enriched.spans.EnrichedOrderedListSpan
109import com.swmansion.enriched.spans.EnrichedSpans
@@ -83,11 +82,7 @@ class ListStyles(private val view: EnrichedTextInputView) {
8382 val (start, end) = view.selection.getParagraphSelection()
8483 val styleStart = view.spanState?.getStart(name)
8584
86- Log .d(" ListStyles" , " Toggling list style $name from $start to $end " )
87-
8885 if (styleStart != null ) {
89- Log .d(" ListStyles" , " Removing list style from $start to $end " )
90-
9186 view.spanState.setStart(name, null )
9287 removeSpansForRange(spannable, start, end, config.clazz)
9388 view.selection.validateStyles()
You can’t perform that action at this time.
0 commit comments