diff --git a/aztec/src/main/kotlin/org/wordpress/aztec/watchers/event/sequence/UserOperationEvent.kt b/aztec/src/main/kotlin/org/wordpress/aztec/watchers/event/sequence/UserOperationEvent.kt index b525ce2c0..235f38220 100644 --- a/aztec/src/main/kotlin/org/wordpress/aztec/watchers/event/sequence/UserOperationEvent.kt +++ b/aztec/src/main/kotlin/org/wordpress/aztec/watchers/event/sequence/UserOperationEvent.kt @@ -1,6 +1,5 @@ package org.wordpress.aztec.watchers.event.sequence -import org.wordpress.android.util.AppLog import org.wordpress.aztec.spans.AztecCodeSpan import org.wordpress.aztec.spans.AztecHeadingSpan import org.wordpress.aztec.spans.AztecListItemSpan @@ -78,9 +77,6 @@ abstract class UserOperationEvent(var sequence: EventSequence insideHeading = false } - AppLog.d(AppLog.T.EDITOR, "SEQUENCE OBSERVED COMPLETELY, IS IT WITHIN BLOCK?: " + - (isInsideList || insideHeading || isInsidePre || isInsideCode)) - return isInsideList || insideHeading || isInsidePre || isInsideCode } diff --git a/aztec/src/main/kotlin/org/wordpress/aztec/watchers/event/sequence/known/space/steps/TextWatcherEventInsertTextDelAfter.kt b/aztec/src/main/kotlin/org/wordpress/aztec/watchers/event/sequence/known/space/steps/TextWatcherEventInsertTextDelAfter.kt index ede64e6dd..6bf4f759e 100644 --- a/aztec/src/main/kotlin/org/wordpress/aztec/watchers/event/sequence/known/space/steps/TextWatcherEventInsertTextDelAfter.kt +++ b/aztec/src/main/kotlin/org/wordpress/aztec/watchers/event/sequence/known/space/steps/TextWatcherEventInsertTextDelAfter.kt @@ -1,6 +1,5 @@ package org.wordpress.aztec.watchers.event.sequence.known.space.steps -import org.wordpress.android.util.AppLog import org.wordpress.aztec.watchers.EndOfBufferMarkerAdder import org.wordpress.aztec.watchers.event.text.AfterTextChangedEventData import org.wordpress.aztec.watchers.event.text.BeforeTextChangedEventData @@ -18,17 +17,14 @@ class TextWatcherEventInsertTextDelAfter(beforeEventData: BeforeTextChangedEvent private fun testBeforeTextChangedEventData(data: BeforeTextChangedEventData): Boolean { beforeText = data.textBefore - AppLog.d(AppLog.T.EDITOR, "INSERTSPECIAL testBeforeTextChangedEventData: " + (data.count == 0 && data.after > 0)) return data.count == 0 && data.after > 0 } private fun testOnTextChangedEventData(data: OnTextChangedEventData): Boolean { - AppLog.d(AppLog.T.EDITOR, "INSERTSPECIAL testOnTextChangedEventData: " + (data.start >= 0 && data.count > 0 && data.textOn!!.length > 0)) return data.start >= 0 && data.count > 0 && data.textOn!!.length > 0 } private fun testAfterTextChangedEventData(data: AfterTextChangedEventData): Boolean { - AppLog.d(AppLog.T.EDITOR, "INSERTSPECIAL testAfterTextChangedEventData: " + (EndOfBufferMarkerAdder.safeLength(beforeText!!) == EndOfBufferMarkerAdder.safeLength(data.textAfter!!))) return EndOfBufferMarkerAdder.safeLength(beforeText!!) == EndOfBufferMarkerAdder.safeLength(data.textAfter!!) }