Author Topic: Download of all Syntaxes in one file?  (Read 2279 times)

Peter2

  • Sr. Member
  • ****
  • Posts: 470
Download of all Syntaxes in one file?
« on: October 26, 2016, 12:35:38 AM »
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 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

Fred Tomke

  • OpenDCL Technician
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2052
  • [ Mr. Bad Guy ]
    • Kommunale Entwicklungsplanung auf digitaler Basis - digital landscape and urban design
Re: Download of all Syntaxes in one file?
« Reply #1 on: October 28, 2016, 03:08:27 AM »
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

  • Sr. Member
  • ****
  • Posts: 470
Re: Download of all Syntaxes in one file?
« Reply #2 on: October 28, 2016, 11:10:07 AM »
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 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

Fred Tomke

  • OpenDCL Technician
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2052
  • [ Mr. Bad Guy ]
    • Kommunale Entwicklungsplanung auf digitaler Basis - digital landscape and urban design
Re: Download of all Syntaxes in one file?
« Reply #3 on: October 28, 2016, 03:45:50 PM »
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

  • Sr. Member
  • ****
  • Posts: 470
Re: Download of all Syntaxes in one file?
« Reply #4 on: October 29, 2016, 06:58:47 AM »
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 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

Peter2

  • Sr. Member
  • ****
  • Posts: 470
Re: Download of all Syntaxes in one file?
« Reply #5 on: December 08, 2016, 07:52:12 AM »
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.
----------------------------------------------------------------------


...you should add it to a download place, where it could be linked from OpenDCL, UltraEdit, Notepad++ and so on ...
Not interested in it?
« Last Edit: December 08, 2016, 08:11:08 AM by Peter2 »
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

Peter2

  • Sr. Member
  • ****
  • Posts: 470
Re: Download of all Syntaxes in one file?
« Reply #6 on: December 08, 2016, 08:28:13 AM »
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 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10

Fred Tomke

  • OpenDCL Technician
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2052
  • [ Mr. Bad Guy ]
    • Kommunale Entwicklungsplanung auf digitaler Basis - digital landscape and urban design
Re: Download of all Syntaxes in one file?
« Reply #7 on: December 10, 2016, 04:12:13 AM »
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

  • OpenDCL Technician
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2052
  • [ Mr. Bad Guy ]
    • Kommunale Entwicklungsplanung auf digitaler Basis - digital landscape and urban design
Re: Download of all Syntaxes in one file?
« Reply #8 on: December 10, 2016, 04:43:46 AM »
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

  • Sr. Member
  • ****
  • Posts: 470
Re: Download of all Syntaxes in one file?
« Reply #9 on: December 12, 2016, 06:04:06 AM »
Interesting, but not so important: dcl-form-show is not found ..
Peter
ODCL 8.1.... German, AutoCAD 2017 - 2018, Win 7 x64, Win 10