<@U0B8ZP13Q>: perhaps, but I think it’s more clear...
# announcements
e
@cedric: perhaps, but I think it’s more clear:
Copy code
private fun backspace() = if (selection) {
        delete(start, end)      // remove selection
    } else if (start > 0) {
        delete(start - 1, end)  // remove current and back caret
    } else null