delphi 2010 IDE“错误洞察"错误 [英] delphi 2010 IDE 'error insight' error

查看:12
本文介绍了delphi 2010 IDE“错误洞察"错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我打开具体项目时,错误洞察标记带有红线不正确的屏幕区域.此外,当我编译它时,会显示错误消息,但消息窗口中显示的行号指向代码窗口中的错误行.当我双击错误消息时,ide 转到另一行.我该如何解决这个问题?

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?

问候,

弗朗西斯

推荐答案

Francis--

您的文件的行尾很可能存在一些问题.

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

该文件是否曾在 Delphi 以外的其他编辑器中打开过?

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.

这篇关于delphi 2010 IDE“错误洞察"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆