The DataCAD Developer Network (DDN) is an online resource for information and support for DCAL® (DataCAD Applications Language) developers as well as anyone interested in creating fonts, toolbars, hatch patterns, or linetypes for use in DataCAD.
#71537 by dhs
Mon May 22, 2017 3:13 pm
I have been using Notepad ++ (https://notepad-plus-plus.org/) for many years, preferring it to the editor built into the IDE for some environments I have worked with.

So naturally I have been using it to edit my DCAL source. Using the built in highlighting for Pascal is semi-acceptable in Notepad++, but I have gradually been building up a definition for a user-defined DCAL configuration. As I think this is now pretty complete I thought I would share it.

You can download my file from https://www.dropbox.com/s/exhzatfzi59ncmb/DCAL.xml?dl=0

This is an XML file that can be loaded using the import button on the 'language'/'define your language' dialog in Notepad++.

With this definition strings, numbers, comments, reserved words, built in routines, variables and constants are all highlighted. You can change the highlight style for any of the groups if you don't like the colours/bolding/font styles that I have chosen.

The language definition also supports folding blocks of code based on begin/end blocks, if/elsif/end blocks, while/end blocks and repeat/until blocks.

Hope somebody might find this useful...

Regards,
David H
#71542 by joshhuggins
Mon May 22, 2017 5:54 pm
Nice, thanks!

Who is online

Users browsing this forum: No registered users and 11 guests

About DataCAD Forum

The DataCAD Forum is a FREE online community we provide to enhance your experience with DataCAD.

We hope you'll visit often to get answers, share ideas, and interact with other DataCAD users around the world.

DataCAD

Software for Architects Since 1984