Flexible query textarea