<@U0B8ZP13Q>: but I think also in a bit other way....
# announcements
e
@cedric: but I think also in a bit other way. I’m developing custom keyboards, so I’m trying introduce new terms:
Copy code
val start : Int get() = editor.selectionStart
    val end : Int get() = editor.selectionEnd
    val selection: Boolean get() = start != end
    fun delete(start: Int, end: Int) = editor.text.delete(start, end)
And think in way of context of these functions.