Download of all Syntaxes in one file?

Started by Peter2 · 2016-10-26 07:35 UTC · 9 replies · SMF topic #2442

The helpfile shows the syntax of every command like this:

(dcl-MessageBox strMessage [als String] {strTitle [als String]} {intButtonStyle [als Integer]} {intIconStyle [als Integer]} {isShowHelpButton [als Boolean]})
(dcl-Control-SetIconAlignment intNewValue [als Integer])

It would be great to have all syntaxes in a file, for example to use it in "Autocompletion-features" of Editor-software. Does the list already exist or is it easy to create it?

Peter
Hi, Peter,
How should the list look like?
I think about a crawler through all the helps source files (see the downloaded OpenDCL source files).
Regards, Fred
It should look like my example above, and the crawling of the help-file is maybe the best.

But I wanted to ask before I start to avoid "reinventing the wheel"
Hi, you need something like this. See attachments.
Regards, Fred
Attachments
author=Fred Tomke link=topic=2442.msg12179#msg12179 date=1477694750 wrote:
Hi, you need something like this. ...

Great! Created within 2 hours at midnight  ;)

Thanks a lot ++ - you should add it to a download place, where it could be linked from OpenDCL, UltraEdit, Notepad++ and so on ...
Which folder I have to select in the program? In German Version there is no "Content\Reference" beneath "Deu" ...

EDIT: Solved - the CHM has to be unpacked, then a "Refernece-folder" will be created.
----------------------------------------------------------------------


author=Peter2 link=topic=2442.msg12183#msg12183 date=1477749527 wrote:
...you should add it to a download place, where it could be linked from OpenDCL, UltraEdit, Notepad++ and so on ...

Not interested in it?
I found an old function list which has approx. 1100 entries, the crawler list approx. 40%. I tried to check some of the "missing" ones - it seems that they are all outdated?

Attachments
Hi, Peter, sorry for late answer, was out for business.

>> Which folder I have to select in the program?
I use the sourcecode downloaded from sourceforge.

>> ...you should add it to a download place, where it could be linked from OpenDCL, UltraEdit, Notepad++ and so on ...
Please do that for me. I have no idea where and how to do.

>> the crawler list approx. 40%
Hm, you seem to be right, see here or example:
http://www.opendcl.com/HelpFiles/index.php?lang=ENU&page=Reference/Function/Index.htm
The crawler can only get functions from syntax describing files, not fro the lists.

Regards, Fred
Hm, I just thought about it.
Is it right way to see all the deprecated functions in syntax highlighting?
In my opinion, it wouldn't be correct to do that. If you see a function not in syntax color you immediately know, it must be wrong or deprecated, I think.
Regards, Fred
Interesting, but not so important: dcl-form-show is not found ..