implement ShadowSpannableString.getSpan[start|end]()