replace

open override fun replace(fb: DocumentFilter.FilterBypass, offset: Int, length: Int, text: String?, attrs: AttributeSet?)(source)

Replaces length characters starting at offset with text, applying attributes attrs, using fb to bypass recursively invoking the filter.