Added a method TextEditor::getInputFilter