This forum is deprecated.
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.
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.
Which version of the IDE are you using? If 10.4, are you using the new LSP-based implementation for Code Insight (which includes Error Insight), or the Classic implementation?
I'm using RAD Studio 10.4 Architect. LSP doesn't work with a large project including multiple .pas files in the project, so I switched to Delphi (Classic code insight).
Here I have much less lines of code, but LSP working.
In editor I'm getting a wrong highlighted line on syntax error.