Error insigh highlights the wrong line in relatively large project?

I have a project with the several .pas files about 30 to 90 touthand lines of code. Error insight highlights to the wrong line if syntax is incorrect or misspelled.

For example.

procedure DemoCode;

var I: integer;


Edit1.Text:=I; //<- here is an error in this line. Line number 56879 for example.


Error insight will not highlight to the line with error. It will highlight somewhere else,

so this error I have to find manually.

In this case, error highlighter is useless.