package `in`.caresoft.sahi /** * One correction. * * offset and length are UTF-16 code units — the same unit Kotlin's String and * Android's InputConnection use, so they can be applied directly without * conversion. That is not an accident; the server emits UTF-16 offsets * precisely so every client can use them as-is. */ data class Issue( val offset: Int, val length: Int, val original: String, val replacement: String, val type: String, val message: String ) { val end: Int get() = offset + length }