I am a very new user of LateX and this might be a very trivial question but I don't really know how to solve it.
I am writing a thesis, and by suggestion of my tutor I have divided it into a
main file and the respective chapters that are latter inserted using function \input{chapters\chapterX}
.
It happens that If I commit a mistake on line 5, for example on the chapter1.tex file, the line 5 of the main.tex is highlighted, even though there is nothing there.
I'll let you some images to illustrate my point.
Thanks in advance for the help