OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: Peter2 on August 08, 2018, 02:56:10 AM

Title: Undocumented commands?
Post by: Peter2 on August 08, 2018, 02:56:10 AM
I tried to update my syntax-highlighting-file and ....

- took all HTM-files from the help
- extracted all(?) strings starting with "dcl-" (approx. 760)
- and but the them to my syntax file

Then I took
- all LSP from "Samples" (DEU)
- extracted again all "dcl-" strings
- and found the following not defined in the syntax

(So - if they are not in the syntax the are not in HTM not in CHM so the are not documented?? Or outdated?)

dcl-BlockView-LoadDwg
dcl-Control-GetCurPos
dcl-Control-SetToolTipTitleColor
dcl-Form-GetRectangle
dcl-Form-SetPos
dcl-Grid-CalcColWidth
dcl-Grid-SetItemCheck
dcl-Grid-SetItemDropList
dcl-Grid-SetItemImage
dcl-Grid-SetItemStyle
dcl-ListBox-DeleteString
dcl-ListView-CalcColWidth
dcl-multifiledialog
dcl-PictureBox-DrawFillRect
dcl-Tree-COUNTITEMS
dcl-Tree-GETPARENT


It is not first priority, but maybe (on the long, cold winter evenings ...) it could bechecked?
Title: Re: Undocumented commands?
Post by: roy_043 on August 08, 2018, 05:52:55 AM
Most of these are probably deprecated but still mentioned in the .chm Help file.

Example:
dcl-Form-SetPos
Can be found here:
Help > OpenDCL Reference > Methods > Form > Deprecated > SetPos
Title: Re: Undocumented commands?
Post by: roy_043 on August 08, 2018, 05:57:21 AM
If you are really looking for all dcl functions, starting with
(atoms-family 0)
May be a good idea.
I use it for my LSP syntax files.
Title: Re: Undocumented commands?
Post by: Peter2 on August 08, 2018, 06:22:16 AM
Quote from: roy_043 on August 08, 2018, 05:57:21 AM
If you are really looking for all dcl functions, starting with
(atoms-family 0)
May be a good idea...
:-[ What should I say .. ;-)

brings 1103 "dcl-" and 1103 "dcl_"