in skiko/src/commonMain/kotlin/org/jetbrains/skia/BreakIterator.kt [351:368]
fun next(index: Int): Int {
var n = index
var result = 0
if (n > 0) {
while (n > 0 && result != DONE) {
result = next()
--n
}
} else if (n < 0) {
while (n < 0 && result != DONE) {
result = previous()
++n
}
} else {
result = current()
}
return result
}