Download of all Syntaxes in one file?

Started by Peter2, October 26, 2016, 12:35:38 AM

Previous topic - Next topic

Peter2

The helpfile shows the syntax of every command like this:

Code (autolisp) Select
(dcl-MessageBox strMessage [als String] {strTitle [als String]} {intButtonStyle [als Integer]} {intIconStyle [als Integer]} {isShowHelpButton [als Boolean]})
(dcl-Control-SetIconAlignment <CONTROL> 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
Peter
ODCL 9.1.... German, AutoCAD 2023, Bricscad 26, Win 11

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

Peter2

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"
Peter
ODCL 9.1.... German, AutoCAD 2023, Bricscad 26, Win 11

Fred Tomke

Hi, you need something like this. See attachments.
Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

Peter2

Quote from: Fred Tomke on October 28, 2016, 03:45:50 PM
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 ...
Peter
ODCL 9.1.... German, AutoCAD 2023, Bricscad 26, Win 11

Peter2

#5
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.
----------------------------------------------------------------------


Quote from: Peter2 on October 29, 2016, 06:58:47 AM
...you should add it to a download place, where it could be linked from OpenDCL, UltraEdit, Notepad++ and so on ...
Not interested in it?
Peter
ODCL 9.1.... German, AutoCAD 2023, Bricscad 26, Win 11

Peter2

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?

Peter
ODCL 9.1.... German, AutoCAD 2023, Bricscad 26, Win 11

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

Peter2

Interesting, but not so important: dcl-form-show is not found ..
Peter
ODCL 9.1.... German, AutoCAD 2023, Bricscad 26, Win 11