You mean this error?
project1.lpr(17,0) Fatal: Unexpected end of file
And that the IDE does not mark the last line with an orange background? (The editor moves to the line though)...
Well, the when I did the test above, the file only had 16 lines... So highlighting line 17.... ?
However, if I click the message, the IDE does highlight line 16.
So, if it is about highlighting line 16, without having to click, then probably something can be done... Report it as a bug. Otherwise it will likely be forgotten.
Or better yet, make a merge-request with a fix....