edit

fun edit(fromIndex: Int, toIndex: Int, content: String, attributes: Map<String, String>? = null): Pair<Int, Int>?

Edits this JsonText with the given content and attributes.