"You're only supposed to study the lessons that are in your textbook."
I thought I was only supposed to study the lessons that were in my textbook. ("I thought" as in you've just found out that you're not supposed to study just that).
Is this correct?
That's correct.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.
This is not a case of reported speech because it has to do with your response to the comment. However, your response is correct.