findOffset

fun findOffset(node: T, includeRemoved: Boolean = false): Int

Returns the offset of the given node in the children. If includeRemoved is true, it includes removed nodes in the calculation.