Author Topic: IDE and error about missing 'end.'  (Read 407 times)


  • Hero Member
  • *****
  • Posts: 1993
    • UVviewsoft
IDE and error about missing 'end.'
« on: August 05, 2022, 07:36:28 pm »
If I miss 'end.' at the end, FPC shows the correct error, but IDE don't show  the problem in the source editor. Can it be improved?


  • Administrator
  • Hero Member
  • *
  • Posts: 8600
  • Debugger - SynEdit - and more
    • wiki
Re: IDE and error about missing 'end.'
« Reply #1 on: August 05, 2022, 07:48:45 pm »
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....


TinyPortal © 2005-2018