My empirical experiment shows that if I setSpan(o, start, end) from beginning to end of the line, where end is String.length() - 1 , the last character is not covered.
When I changed end to exactly String.length() , the whole line is covered and ... I do not even get an exception from abroad.
Unfortunately, there is nothing in the documentation for this particular problem.
Can you confirm my observation? (or prove I'm wrong?)
source share