To add Cobra support for Editra, copy the attached file ( into Editra's syntax directory (on Linux: /usr/local/lib/python2.6/dist-packages/Editra/src/syntax, replacing 2.6 with the correct version of python; on Windows: perhaps somewhere under C:\Program Files\Editra)

Then in that same directory edit, adding:


to the end of the LANG_MAP assignment.

Then edit, adding:

LANG_COBRA = u'Cobra'

right before the line that states:

#---- End Language Identifier Keys ----#

and adding:

'cobra'              : LANG_COBRA,

at the end of the EXT_MAP assignment.

Please note that the attached file is still in development and will be provided to the Editra project once it is stable.