Merge "Not to add invalid spell check spans Bug: 6464197" into jb-dev
This commit is contained in:
@@ -611,6 +611,9 @@ public class SpellChecker implements SpellCheckerSessionListener {
|
||||
if (spellCheckEnd < start) {
|
||||
break;
|
||||
}
|
||||
if (spellCheckEnd <= spellCheckStart) {
|
||||
break;
|
||||
}
|
||||
if (createSpellCheckSpan) {
|
||||
addSpellCheckSpan(editable, spellCheckStart, spellCheckEnd);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user