如何在Delphi 2010的IDE中修复破坏的上下文相关帮助 [英] How to fix broken context sensitive help in IDE of Delphi 2010

查看:129
本文介绍了如何在Delphi 2010的IDE中修复破坏的上下文相关帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



突出显示一个关键字,如TStringList并点击F1,结果是
消息没有帮助找到上下文。



将光标放在属性
编辑器中的属性字段(如ModalResult)中,然后点击F1显示沙漏,这就是所有。 / p>

点击IDE的主菜单帮助,然后点击Delphi帮助。 I
可以将TStringList输入搜索字段(在Microsoft Document
Explorer中出现,加载了What's New - Embarcadero RAD Studio)
并获得适当的结果。



任何人都有任何关于如何解决这个问题的建议?

解决方案

更好地通过重建帮助索引文件。



打开命令提示符,并导航到$(BDS)\Help\Doc文件夹。运行 H2Reg -u 取消注册现有的帮助主题,然后运行 H2Reg -r 重新注册。启动帮助,你应该得到一个对话框,表明它是索引内容。



如果你想要更多关于H2Reg.exe的信息,只需从命令行运行它,而不需要参数;它将显示一个对话框,其中包含有关命令行开关及其操作的详细信息。您还应该扫描H2Reg.ini,因为它对每个部分有评论,以及它对影响事情的影响。



另外,XE的帮助是尽管它仍然有一种方法可以改善,但是它们已经有所改进。


After working for quite some time, my D2010 help system broke.

Highlighting a keyword like TStringList and hitting F1 results in the message "No help found for context."

Putting the cursor in a property field (like ModalResult) in the property editor and hitting F1 shows an hourglass and that's all.

Clicking on the IDE's main menu Help and then Delphi Help works. I can type TStringList into the search field (in the Microsoft Document Explorer that appears, loaded with "What's New - Embarcadero RAD Studio") and get appropriate results.

Anyone have any suggestions on how to fix this?

解决方案

You can maybe make things better by rebuilding the help index files.

Open a command prompt, and navigate to your $(BDS)\Help\Doc folder. Run H2Reg -u to unregister the existing help topics, and then run H2Reg -r to re-register. THen launch help, and you should get the dialog that says it's indexing content.

If you want more info about H2Reg.exe, simply run it without parameters from the command line; it will display a dialog with details about the command line switches and what they do. You should also scan throuh H2Reg.ini, as it has comments on each section and what it does to affect things.

And, as an aside, the help in XE is vastly improved, although it still has a way to go.

这篇关于如何在Delphi 2010的IDE中修复破坏的上下文相关帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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