/**

* Extension method to replace all text inside an [Editable] with the specified [newValue] while

* ignoring any [android.text.InputFilter] set on the [Editable].

*/

fun

Editable

.

replaceAllIgnoreFilters

(

newValue

:

String

)

{

val

currentFilters

=

filters

filters

=

emptyArray

()

replaceAll

(

newValue

)

filters

=

currentFilters

}