Recent

Author Topic: Where does one find what - missing documentation  (Read 1773 times)

Birger52

  • Full Member
  • ***
  • Posts: 138
Re: Where does one find what - missing documentation
« Reply #30 on: January 26, 2020, 07:24:27 pm »
@Martin_fr

Not here...

There is a menuitem "Ad Unit to Uses Section"  (shortcut Alt F11) - and it gives me an empty window.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7928
Re: Where does one find what - missing documentation
« Reply #31 on: January 26, 2020, 07:54:42 pm »
Manually going to help, never occurred to me....  :o (Probably should spend some time there)
But found it, once I figured how to look in the lcl.hcm - it's not default, and not obvious that there are several helpfiles.

  • Properly install CHM help (see my first message with screenshot)
  • Use the index or fulltextsearch of the help (my second message with screenshot)
« Last Edit: January 26, 2020, 09:26:28 pm by marcov »

mattias

  • Administrator
  • Full Member
  • *
  • Posts: 154
    • http://www.lazarus.freepascal.org
Re: Where does one find what - missing documentation
« Reply #32 on: January 26, 2020, 09:25:23 pm »
I installed Cody and try to reproduce the example given by Martin and I got the following: what did I wrong ?

Cody dictionary collects identifiers of all units the IDE parses. It does not scan on its own. A quick way to parse many units, is View / Code Browser.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 5962
    • wiki
Re: Where does one find what - missing documentation
« Reply #33 on: January 26, 2020, 09:36:05 pm »
Probably also View > View unit dependencies.
and check the chekcbox "all package units"

In other words: Cody "initializes" while you use the IDE (starting from when you installed cody).
Once it has the data, you can use it in any project.

Since I have been using it for a long time, I usually always get results.

dbannon

  • Hero Member
  • *****
  • Posts: 891
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Where does one find what - missing documentation
« Reply #34 on: January 26, 2020, 11:01:18 pm »
The Identifier Dictionary is a great tool but it needs to 'learn' its stuff before it can help you. If you build a new Lazarus for example, the Dictionary is empty.  I have in the past copied the the dictionary over from a previous Lazarus but looks like I did not write that little trick down, but its easy enough and a good idea.

For people like me who jump between different Lazarus versions, we could do with a "Lazarus Common", one place all versions look in for Dictionary and Help files perhaps ?
 
Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

jcmontherock

  • New Member
  • *
  • Posts: 22
Re: Where does one find what - missing documentation
« Reply #35 on: January 27, 2020, 12:11:53 am »
With a right parenthesis after TPanel the example works for me. It will be usefull, tanks a lot