equals

open operator override fun equals(other: Any?): Boolean

We don't need to compare the textBlocks. pageIndex, start and length are enough to determine equality.