API: Added setCharFilter to edit widget.