insert String
open override fun insertString(fb: DocumentFilter.FilterBypass, offset: Int, text: String?, attr: AttributeSet?)(source)
Inserts text into the document with attributes attr, using fb to bypass recursively invoking the filter.
While the document's length is not at its maximum, the characters of text are inserted at offset. Once the document hits its maximum, the subsequent characters are overwritten by the remainder of text. If text is still too long, the last character in the document is replaced by the last character of text.