Lazarus

Using the Lazarus IDE => General => Topic started by: AlexTP on August 05, 2022, 07:36:28 pm

Title: IDE and error about missing 'end.'
Post by: AlexTP 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?
Title: Re: IDE and error about missing 'end.'
Post by: Martin_fr on August 05, 2022, 07:48:45 pm
You mean this error?
Quote
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....
Title: Re: IDE and error about missing 'end.'
Post by: AlexTP on August 05, 2022, 09:56:54 pm
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/39843
TinyPortal © 2005-2018