Crimson Editor Syntax

Anyone got Crimson Editor DXL Syntax files for v8.3, v9.0, or v9.1?
llandale - Tue Mar 31 16:13:28 EDT 2009

Re: Crimson Editor Syntax
SystemAdmin - Wed Apr 01 04:00:35 EDT 2009

Here you go Mr Landale
Simon Haydn BSc (Hons)

Requirements Controller
Marshall Aerospace (UK)
Attachments

attachment_14236010_doors-dxl.key

Re: Crimson Editor Syntax
SystemAdmin - Wed Apr 01 04:01:25 EDT 2009

Why is there an attachment limit of 1 ????
Simon Haydn BSc (Hons)

Requirements Controller
Marshall Aerospace (UK)
Attachments

attachment_14236012_doors-dxl.spc

Re: Crimson Editor Syntax
llandale - Wed Apr 01 13:24:08 EDT 2009

SystemAdmin - Wed Apr 01 04:00:35 EDT 2009
Here you go Mr Landale
Simon Haydn BSc (Hons)

Requirements Controller
Marshall Aerospace (UK)

Sorry, this KEY file seems to be dated 2002 and is half as big as the KEY file I already have corresponding to DOORS v8.2. A quick check of the first section shows its missing key-words 'elseif' and 'include'.

Got a key file for v9.2?

>Louie

Re: Crimson Editor Syntax
dpechacek - Wed Apr 01 13:37:12 EDT 2009

llandale - Wed Apr 01 13:24:08 EDT 2009
Sorry, this KEY file seems to be dated 2002 and is half as big as the KEY file I already have corresponding to DOORS v8.2. A quick check of the first section shows its missing key-words 'elseif' and 'include'.

Got a key file for v9.2?

>Louie

Would be nice if that DXL specific "development" tool Ian Zimmerman mentioned at last years UGC were released. Or at least announced. I'd be willing to spend $100 or so a year on a license for it if it will let you do basic error checking on your code.

AAI Services, Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com

Re: Crimson Editor Syntax
SystemAdmin - Thu Apr 02 03:43:28 EDT 2009

llandale - Wed Apr 01 13:24:08 EDT 2009
Sorry, this KEY file seems to be dated 2002 and is half as big as the KEY file I already have corresponding to DOORS v8.2. A quick check of the first section shows its missing key-words 'elseif' and 'include'.

Got a key file for v9.2?

>Louie

Sorry Louie,
that's the only version I've got and that was obtained from the old Telelogic forum (RIP).
Simon Haydn BSc (Hons)

Requirements Controller
Marshall Aerospace (UK)

Crimson Editor Syntax Type
Manilla - Thu Apr 02 08:03:42 EDT 2009

SystemAdmin - Thu Apr 02 03:43:28 EDT 2009
Sorry Louie,
that's the only version I've got and that was obtained from the old Telelogic forum (RIP).
Simon Haydn BSc (Hons)

Requirements Controller
Marshall Aerospace (UK)

If I have in CrimsonEditor DXL files opened (with .inc extension) and I had selected from
Document -> Syntax Type -> DXL

Each time I reopen Crimson Editor, with all the files I left open from my last use, in Document -> Syntax Type it`s selected PHP option.

Is there a way to be selected DXL not PHP ? Otherwise I have to take again every opened file and to make the modification for Sntax Type.

Thanks!

Re: Making Crimson work for DXL and INC files
llandale - Thu Apr 02 12:26:58 EDT 2009

Manilla - Thu Apr 02 08:03:42 EDT 2009
If I have in CrimsonEditor DXL files opened (with .inc extension) and I had selected from
Document -> Syntax Type -> DXL

Each time I reopen Crimson Editor, with all the files I left open from my last use, in Document -> Syntax Type it`s selected PHP option.

Is there a way to be selected DXL not PHP ? Otherwise I have to take again every opened file and to make the modification for Sntax Type.

Thanks!

I don't recall how I made Crimson Editor work for me years ago, but I'm sure I used a monkey-at-the-keyboard approach, stopping when it worked.

I've got both '*.inc' and '*.dxl' files defined with Crimson. When I double click on a inc or dxl file, it invokes Crimson Editor and I see very nice syntax highlighting.

Not sure how I got here, but this is what I see:

In Windows Explorer Tools menu >Options >File types, I tell Windows to invoke Crimson when I double click on a file of type 'inc' and of type 'dxl'. Crimson executable is file 'cedt.exe'. Today I see I have no rights to change that, IT at work...

I see in folder 'C:\Program Files\Crimson Editor\spec' I have a file named 'doors-dxl.key' dated recently and very large, and also a file 'doors-dxl.spc' which is very old and small.

I see in folder 'C:\Program Files\Crimson Editor\link' I have these two files: 'extension.dxl' and 'extension.inc', both of which have these two lines in them (which point to the above two files):
LANGSPEC:DOORS-DXL.SPC
KEYWORDS:DOORS-DXL.KEY

I see no other special Crimson files. I wonder if I have rights to modify files inside Program Files...

Make your Crimson files as above. Then start Crimson Editor. I don't recall if I had to specify the following, or if the program deduces that based on the existence of the files when you start Crimson.

I see inside Crimson, Tools menu >Preferences >Syntax Types, I have a 'DOORS DXL-INC' type that points to the SPC and KEY files above.

Preferences >Association, I see that .dxl and .inc files are 'Managed by Crimson Editor'. I see that I have a .dxl type (in the long list), that when selected selects the 'dxl' in the Managed By box, and its description is 'DOORS DXL'. I also have a type '.dxl~' which looks like an error to me. Further down in the big list I see type '.inc' which uses Managed By type '.inc', and has description 'DOORS Include Files'.

I don't see anything else interesting inside Crimson Editor.

Good luck.

>Louie

BTW, when I double click on an encrypted inc file, Crimson of course displays the binary and its useless.

Re: Crimson Editor Syntax Type
dpechacek - Fri Apr 03 09:03:14 EDT 2009

Manilla - Thu Apr 02 08:03:42 EDT 2009
If I have in CrimsonEditor DXL files opened (with .inc extension) and I had selected from
Document -> Syntax Type -> DXL

Each time I reopen Crimson Editor, with all the files I left open from my last use, in Document -> Syntax Type it`s selected PHP option.

Is there a way to be selected DXL not PHP ? Otherwise I have to take again every opened file and to make the modification for Sntax Type.

Thanks!

I just dropped the .key and .spec files into the appropriate folders and it worked for me.

AAI Services, Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com

Re: Making Crimson work for DXL and INC files
GordonWoods - Mon Apr 06 04:56:11 EDT 2009

llandale - Thu Apr 02 12:26:58 EDT 2009
I don't recall how I made Crimson Editor work for me years ago, but I'm sure I used a monkey-at-the-keyboard approach, stopping when it worked.

I've got both '*.inc' and '*.dxl' files defined with Crimson. When I double click on a inc or dxl file, it invokes Crimson Editor and I see very nice syntax highlighting.

Not sure how I got here, but this is what I see:

In Windows Explorer Tools menu >Options >File types, I tell Windows to invoke Crimson when I double click on a file of type 'inc' and of type 'dxl'. Crimson executable is file 'cedt.exe'. Today I see I have no rights to change that, IT at work...

I see in folder 'C:\Program Files\Crimson Editor\spec' I have a file named 'doors-dxl.key' dated recently and very large, and also a file 'doors-dxl.spc' which is very old and small.

I see in folder 'C:\Program Files\Crimson Editor\link' I have these two files: 'extension.dxl' and 'extension.inc', both of which have these two lines in them (which point to the above two files):
LANGSPEC:DOORS-DXL.SPC
KEYWORDS:DOORS-DXL.KEY

I see no other special Crimson files. I wonder if I have rights to modify files inside Program Files...

Make your Crimson files as above. Then start Crimson Editor. I don't recall if I had to specify the following, or if the program deduces that based on the existence of the files when you start Crimson.

I see inside Crimson, Tools menu >Preferences >Syntax Types, I have a 'DOORS DXL-INC' type that points to the SPC and KEY files above.

Preferences >Association, I see that .dxl and .inc files are 'Managed by Crimson Editor'. I see that I have a .dxl type (in the long list), that when selected selects the 'dxl' in the Managed By box, and its description is 'DOORS DXL'. I also have a type '.dxl~' which looks like an error to me. Further down in the big list I see type '.inc' which uses Managed By type '.inc', and has description 'DOORS Include Files'.

I don't see anything else interesting inside Crimson Editor.

Good luck.

>Louie

BTW, when I double click on an encrypted inc file, Crimson of course displays the binary and its useless.

Following on from Louie's response, you need to do undertake 3 actions to make Crimson Editor automatically recognise *.dxl and *.inc files:
1. add the 2 files DOORS-DXL.SPC and DOORS-DXL.KEY to the C:\Program Files\Crimson Editor\spec folder

My latest version of the key file is for DOORS 7.1 , as generated by Tony Goodman 5 May 2005 – looks like Louie has the latest version..
2. set up the syntax type using the menu option in Crimson editor:

Document-> Syntax Type -> Customize…

Select File-> Syntax Type in the Categories field

click on – empty – in the Syntax type list and add

Description: DOORS
Lang Spec: DOORS-DXL.SPC
Keywords: DOORS-DXL.KEY
3. You also need 2 files in the C:\Program Files\Crimson Editor\link folder:

extension.inc and extension.dxl

they both contain the following 2 lines only:

LANGSPEC:DOORS-DXL.SPC
KEYWORDS:DOORS-DXL.KEY
You can also check/set up the association using the menu option in Crimson editor:

Document-> Syntax Type -> Customize…

Select File-> Association in the Categories field

Select .dxl & use the associate button

Description: DOORS
Associated: C:\Program Files\Crimson Editor\cedt.exe "%1"
Default Icon: C:\Program Files\Crimson Editor\cedttype.ico

Select .inc & use the associate button

Description: DOORS inc
Associated: C:\Program Files\Crimson Editor\cedt.exe "%1"
Default Icon: C:\Program Files\Crimson Editor\cedttype.ico


Gordon Woods
BAE Systems (Operations) Limited, Warton, UK
gordon.woods2@baesystems.com

Re: Making Crimson work for DXL and INC files
kbmurphy - Tue Apr 07 12:12:32 EDT 2009

llandale - Thu Apr 02 12:26:58 EDT 2009
I don't recall how I made Crimson Editor work for me years ago, but I'm sure I used a monkey-at-the-keyboard approach, stopping when it worked.

I've got both '*.inc' and '*.dxl' files defined with Crimson. When I double click on a inc or dxl file, it invokes Crimson Editor and I see very nice syntax highlighting.

Not sure how I got here, but this is what I see:

In Windows Explorer Tools menu >Options >File types, I tell Windows to invoke Crimson when I double click on a file of type 'inc' and of type 'dxl'. Crimson executable is file 'cedt.exe'. Today I see I have no rights to change that, IT at work...

I see in folder 'C:\Program Files\Crimson Editor\spec' I have a file named 'doors-dxl.key' dated recently and very large, and also a file 'doors-dxl.spc' which is very old and small.

I see in folder 'C:\Program Files\Crimson Editor\link' I have these two files: 'extension.dxl' and 'extension.inc', both of which have these two lines in them (which point to the above two files):
LANGSPEC:DOORS-DXL.SPC
KEYWORDS:DOORS-DXL.KEY

I see no other special Crimson files. I wonder if I have rights to modify files inside Program Files...

Make your Crimson files as above. Then start Crimson Editor. I don't recall if I had to specify the following, or if the program deduces that based on the existence of the files when you start Crimson.

I see inside Crimson, Tools menu >Preferences >Syntax Types, I have a 'DOORS DXL-INC' type that points to the SPC and KEY files above.

Preferences >Association, I see that .dxl and .inc files are 'Managed by Crimson Editor'. I see that I have a .dxl type (in the long list), that when selected selects the 'dxl' in the Managed By box, and its description is 'DOORS DXL'. I also have a type '.dxl~' which looks like an error to me. Further down in the big list I see type '.inc' which uses Managed By type '.inc', and has description 'DOORS Include Files'.

I don't see anything else interesting inside Crimson Editor.

Good luck.

>Louie

BTW, when I double click on an encrypted inc file, Crimson of course displays the binary and its useless.

Louie or anyone else--mind posting the DOORS 8.2 files?

Re: Making Crimson work for DXL and INC files
SystemAdmin - Tue Apr 07 13:42:08 EDT 2009

kbmurphy - Tue Apr 07 12:12:32 EDT 2009
Louie or anyone else--mind posting the DOORS 8.2 files?

Available at SmartDXL http://smartdxl.com/editors.html

Re: Making Crimson work for DXL and INC files
ozgury - Thu Apr 30 07:40:35 EDT 2009

SystemAdmin - Tue Apr 07 13:42:08 EDT 2009
Available at SmartDXL http://smartdxl.com/editors.html

As an alternative you can use Notepad++ as an editor. It is free.
You can define new languages. It has very nice features and also extension capability. I defined DXL and it is very nice.
I have been using it for more than 2 years. I advice you to look at
http://notepad-plus.sourceforge.net/

Özgür

Re: Making Crimson work for DXL and INC files
SystemAdmin - Tue May 05 18:07:57 EDT 2009

ozgury - Thu Apr 30 07:40:35 EDT 2009
As an alternative you can use Notepad++ as an editor. It is free.
You can define new languages. It has very nice features and also extension capability. I defined DXL and it is very nice.
I have been using it for more than 2 years. I advice you to look at
http://notepad-plus.sourceforge.net/

Özgür

I just downloaded notepad plus plus today for DXL editing. Do you have a setup file that implements the DXL extension? Would love it if you could email it to tim dot jones @ l-3com dot com (no spaces, replace the dots). Perhaps others here would like it too?

Re: Making Crimson work for DXL and INC files
didalm - Mon May 25 11:08:07 EDT 2009

SystemAdmin - Tue May 05 18:07:57 EDT 2009
I just downloaded notepad plus plus today for DXL editing. Do you have a setup file that implements the DXL extension? Would love it if you could email it to tim dot jones @ l-3com dot com (no spaces, replace the dots). Perhaps others here would like it too?

If somebody found the langage files definition .key .spc for DOORS 8.2, 8.3, 9.0,...
It will be a good idea to put them on this thread available for all users off crimson editor or nodepad++
Thank you

Re: Making Crimson work for DXL and INC files
ozgury - Fri Aug 21 09:27:22 EDT 2009

SystemAdmin - Tue May 05 18:07:57 EDT 2009
I just downloaded notepad plus plus today for DXL editing. Do you have a setup file that implements the DXL extension? Would love it if you could email it to tim dot jones @ l-3com dot com (no spaces, replace the dots). Perhaps others here would like it too?

Sorry for this very late response. I didn't look at the forum so long. And I realized today from my watch list.
I am attaching language file to use Notepad++ as a DXL editor.
I assume that copying this file to C:\Documents and Settings\<username>\Application Data\Notepad++ directory.
Attachments

attachment_14287649_userDefineLang.xml

Re: Making Crimson work for DXL and INC files
llandale - Mon Aug 24 10:16:33 EDT 2009

ozgury - Fri Aug 21 09:27:22 EDT 2009
Sorry for this very late response. I didn't look at the forum so long. And I realized today from my watch list.
I am attaching language file to use Notepad++ as a DXL editor.
I assume that copying this file to C:\Documents and Settings\<username>\Application Data\Notepad++ directory.

What's the version of DOORS/DXL for this xml file?

Re: Making Crimson work for DXL and INC files
ozgury - Tue Aug 25 00:41:06 EDT 2009

llandale - Mon Aug 24 10:16:33 EDT 2009
What's the version of DOORS/DXL for this xml file?

I use it for 9.0.

Re: Crimson Editor Syntax
Strad - Wed Aug 26 10:05:13 EDT 2009

Just to add another item to this thread, this is an ultraedit wordfile that has been mainly updated for 9.2 (apologies I haven't had time to go through item by item, it's just as I've used them.) It also fixes some delimiter mark up issues I found in the original from IDM.
Attachments

attachment_14289034_DXL_v2.uew

UltraEdit Syntax File
BobSherman - Thu Nov 27 07:03:07 EST 2014

Strad - Wed Aug 26 10:05:13 EDT 2009
Just to add another item to this thread, this is an ultraedit wordfile that has been mainly updated for 9.2 (apologies I haven't had time to go through item by item, it's just as I've used them.) It also fixes some delimiter mark up issues I found in the original from IDM.

I've been using the attached UltraEdit syntax file for >5 years; adding to it as needed.  I've been using it with 9.6 (since release)... so it's reasonably current/complete.


Attachments

WORDFILE.TXT