Add a handler for statement lists, ignoring tab keys.