-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Martin wrote:
> TIDEHelpManager(HelpBoss).GetHintForSourcePosition(ActiveUnitInfo.Filename, > CaretPos,BaseURL,SmartHintStr); > > HelpBoss is a gobal variable in the Unit HeplManager, it seems to be the > best point to start getting contnet from. > - BaseURL,SmartHintStr are out param > - you don't need ActiveUnitInfo, only the filename. > you can get a unitinfo, if you have the editor: AnUnitInfo := > Project1.UnitWithEditorComponent(AEditor); > // project1, is a global var too in Unit Project > // project1 is generally a good point to get the unitinfo from > > So (full-)filename and caretpos, and you can get content I just did some experiments with CodeHelpBoss.GetHTMLHint() and it almost works, it does not crash and I could see hint windows containing the fpdoc entries (with html tags) and sometimes (?) the comments. I will now try to do it with TIDEHelpManager(HelpBoss).GetHintForSourcePosition() and see whether this also works. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFMS2U1xT6R4jlFoh0RAuomAJ9f4ULq+NS0yqt35xjeLT9tWNR9bgCfb07x LXS9XWYdUr+RvH0kz8hcTTI= =F1Ry -----END PGP SIGNATURE----- -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
