SynEdit How to add 'Declaration Hint' for functions lazarus / 31-LCL ---------------------------------------------------------------------- Zaher · 2021-08-29 14:12 In TSynEdit I want to show hint inside function/procedure call, like Parameters and it is Declaration, is there something exists to help me to do? I can not find it in the forum or examples. ---------------------------------------------------------------------- Martin_fr · 2021-08-30 14:18 If you mean, how to get the content: This is done by codetools in the IDE. It is not part of SynEdit. If you got the text, then (afaik) you can set it to SynEdit.Hint (if memory serves...). If you want a more fancy hint (like the IDE), then you need to open and paint your own hint. In the IDE "ide/sourceeditor.pp" use some html panel for that. You can walk the pas highlighter to find procedures, but still need to parse them afterwards. But unlike codetool, that fails when there are certain $IFDEF. Codetools have a test dir. Maybe that has some hints how to use them.... No idea, not looked at it myself. ---------------------------------------------------------------------- Zaher · 2021-08-31 21:40 a hit something like this, adding a hint of functions params ---------------------------------------------------------------------- Zaher · 2021-08-31 21:42 if not exists i will try to add simple one in TSynEdit addon, I remember TSynEdit of Delphi have it, I am thinking to port it ---------------------------------------------------------------------- Martin_fr · 2021-09-01 01:08 That hint is done by codetools (text/content), TurboPowerIpro (gfx/paint).