Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43db1d9c authored by Gilles Debunne's avatar Gilles Debunne Committed by Android (Google) Code Review
Browse files

Merge "Minor typo fixes"

parents a17a7953 07ba2a21
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ import android.view.View;

/**
 * Interface for converting text key events into edit operations on an
 * Editable class.  Note that for must cases this interface has been
 * Editable class.  Note that for most cases this interface has been
 * superceded by general soft input methods as defined by
 * {@link android.view.inputmethod.InputMethod}; it should only be used
 * for cases where an application has its own on-screen keypad and also wants
+0 −1
Original line number Diff line number Diff line
@@ -18,7 +18,6 @@ package android.text.method;

import android.graphics.Rect;
import android.view.View;
import android.widget.TextView;

/**
 * TextView uses TransformationMethods to do things like replacing the
+2 −1
Original line number Diff line number Diff line
@@ -426,7 +426,8 @@ public class SpellChecker implements SpellCheckerSessionListener {
                    }

                    // A new word has been created across the interval boundaries with this edit.
                    // Previous spans (ended on start / started on end) removed, not valid anymore
                    // The previous spans (that ended on start / started on end) are not valid
                    // anymore and must be removed.
                    if (wordStart < start && wordEnd > start) {
                        removeSpansAt(editable, start, spellCheckSpans);
                        removeSpansAt(editable, start, suggestionSpans);