code: public void removeSpan(Object what) {
          for (int i = mSpanCount - 1; i >= 0; i--) {
              if (mSpans[i] == what) {
                  removeSpan(i);
                  return;
              }
          }
      }
docs: Remove the specified markup object from the buffer.