Search code examples
delphiidedelphi-2010

delphi 2010 IDE 'error insight' error


when I open concrete projects the error insight mark with red lines incorrect areas of the screen. Also when I compile It, error messages are shown, but the line number displayed in the message window points to a wrong line in the code window. When I double click over a error message the ide goes to another line. how do i correct this problem?

Regards,

Francis


Solution

  • Francis--

    It is very likely that your files have some issues with their line endings.

    Has the file ever been opened in another editor besides Delphi?

    You can check this way: Copy all of the code onto the clipboard, paste it into Notepad, copy it all out of notepad, and then paste it back into the editor. That should clean up all the line endings. See if that makes a difference.