OREM  A Mountain View High School student charged with attacking five of his classmates in a boys locker room had been having suicidal thoughts for some time, according to a newly unsealed search warrant affidavit.