Crimson Editor Keywords File v9512

Attached are the files needed for Crimson Editor to recognize keywords in DXL; most notable is the Keyword File updated for DOORS v9.5.1.2.  Color highlighting makes the code vastly easier to read.   Keywords file should be easily modifiable for use in other editors.  Please respond if you find ommissions, additions, or errors.

File     ........................goes in this Crimson sub-folder

doors-dxl.key   ...   /spec
doors-dxl.spc   ...  /spec
extension.dxl    ...  /link
extension.inc    ...  /link    Optional, if you want "*.inc" files to have dxl syntax highlighting.

-Louie

I made the controversial decision to indicate certain "functions" are highlighted as "constants" when they are only used in-line as if they were constants.

I notice the "colors" in Crimson are rather soft; selecting preference to "Bold keywords" helps considerably.  "Italicize comment" helps also.


llandale - Wed Feb 12 13:07:06 EST 2014

Re: Crimson Editor Keywords File v9512
Richard_Good - Fri Feb 21 11:41:04 EST 2014

Thanks for that - very useful, discovered I hadn't updated my pspad one since 2006, you definately fixed a few syntax glitches I couldn't be bothered to fix. In case anyone is interested I have attached Louie's syntax file translated for pspad.

Richard


Attachments

dxl.INI

Re: Crimson Editor Keywords File v9512
llandale - Wed Feb 26 14:11:30 EST 2014

Errata:  In the "doors-dxl.key" file, under section [KEYWORDS2:GLOBAL]...

  • add "code" at about line 723
  • add "setInherited" at about line 2283.

-Louie