handle text event metaevent