<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">This is a great feature suggestion. If implemented I think it should also work with constants. For example, it cost me some 10+ minutes to figure out VK_ESCAPE is defined in LCLTypes.</div>
<div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">Thanks!</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-02-05 Sven Barth <span dir="ltr"><<a href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello together!<br>
<br>
On the German Delphi-Forum Delphi-PRAXiS there was the question in which unit the type TObjectList resided in Lazarus. Besides the obvious answer "contnrs" there was also the suggestion to use F1 on the TObjectList identifier to let the help find it for you. (For those that can read German, here is the thread: <a href="http://www.delphipraxis.net/178892-lazarus-kennt-keine-tobjectlist.html" target="_blank">http://www.delphipraxis.net/<u></u>178892-lazarus-kennt-keine-<u></u>tobjectlist.html</a> )<br>
<br>
Now the problem is that this won't work in Lazarus which will return a error message "Hilfeschlüsselwort "FPCKeyword_TObjectList" nciht[sic!] gefunden." ("Help keyword "FPCKeyword_TObjectList" not found") [plus another, in my opinion needless, error message afterwards with (in my case) "No help found for "project1.lpr" at (13,16)"] and the user is none the wiser... This is at least the case in 1.0.12 on win64, I didn't check for any changes here in 1.2/1.3...<br>
<br>
Are there any ideas for improving this situation for people that know that there is an identifier in the RTL, FCL, whatever, but don't know which unit it resides in? E.g. Lazarus did scan the FPC sources, couldn't it keep an identifier->unit index? Also could the error message be improved a bit? E.g. kick out that second error and use "TObjectList" instead of "FPCKeyword_TObjectList" in the error message?<br>
<br>
Regards,<br>
Sven<br>
<br>
--<br>
______________________________<u></u>_________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org" target="_blank">Lazarus@lists.lazarus.<u></u>freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.<u></u>freepascal.org/mailman/<u></u>listinfo/lazarus</a><br>
</blockquote></div><br></div>