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

Commit a011c7fc authored by Raph Levien's avatar Raph Levien Committed by Android (Google) Code Review
Browse files

Merge "Fix documentation of nextSpanTransition off by one" into mnc-dev

parents a66a067a 7d627eb9
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -187,12 +187,11 @@ extends CharSequence
    public int getSpanFlags(Object tag);

    /**
     * Return the first offset greater than or equal to <code>start</code>
     * where a markup object of class <code>type</code> begins or ends,
     * or <code>limit</code> if there are no starts or ends greater than or
     * equal to <code>start</code> but less than <code>limit</code>.  Specify
     * <code>null</code> or Object.class for the type if you want every
     * transition regardless of type.
     * Return the first offset greater than <code>start</code> where a markup
     * object of class <code>type</code> begins or ends, or <code>limit</code>
     * if there are no starts or ends greater than <code>start</code> but less
     * than <code>limit</code>. Specify <code>null</code> or Object.class for
     * the type if you want every transition regardless of type.
     */
    public int nextSpanTransition(int start, int limit, Class type);
}