Skip to content

Commit 28bf409

Browse files
committed
Fix lint errors.
1 parent c6d8419 commit 28bf409

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/AztecText.kt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,14 @@ import android.support.graphics.drawable.VectorDrawableCompat
3636
import android.support.v4.content.ContextCompat
3737
import android.support.v7.app.AlertDialog
3838
import android.support.v7.widget.AppCompatEditText
39-
import android.text.*
39+
import android.text.Editable
40+
import android.text.InputFilter
41+
import android.text.InputType
42+
import android.text.Spannable
43+
import android.text.SpannableStringBuilder
44+
import android.text.Spanned
45+
import android.text.TextUtils
46+
import android.text.TextWatcher
4047
import android.text.style.SuggestionSpan
4148
import android.util.AttributeSet
4249
import android.util.DisplayMetrics
@@ -469,7 +476,7 @@ open class AztecText : AppCompatEditText, TextWatcher, UnknownHtmlSpan.OnUnknown
469476
// create a new Spannable to perform the text change here
470477
var newText = SpannableStringBuilder(dest.subSequence(0, dstart))
471478
.append(source.subSequence(start, end))
472-
.append(dest.subSequence(dend, dest.length));
479+
.append(dest.subSequence(dend, dest.length))
473480

474481
// force a history update to ensure the change is recorded
475482
history.beforeTextChanged(this@AztecText)

0 commit comments

Comments
 (0)