Wiki

Changes between Initial Version and Version 1 of jEditSupport

Show
Ignore:
Timestamp:
12/28/08 12:33:58 (16 years ago)
Author:
pchapin
Comment:

Created a page about Cobra support in jEdit

Legend:

Unmodified
Added
Removed
Modified
  • jEditSupport

    v1 v1  
     1Last update: 2008-12-28 
     2 
     3The attached editing mode provides basic support for Cobra programming on [http://www.jedit.org/ jEdit]. Keep in mind that this mode is a work in progress (so check back regularly for updates). It provides reasonably complete support for colorizing Cobra code, and it provides a useful degree of auto-indentation. However, some syntactic forms are not handled as well as one might like. 
     4 
     5To install this editing mode, copy the attached cobra.xml into your jEdit modes folder. The precise location of this folder depends on your platform. On Windows XP it should be, for example, at a location like "C:\Documents and Settings\Peter\.jedit\modes" (replace 'Peter' with your username). On Linux and other Unix-like systems it should be in the .jedit/modes directory in your home directory. 
     6 
     7Next edit the catalog.xml file in the same modes folder as where you placed cobra.xml. Add a line such as the following: 
     8 
     9{{{ 
     10<MODE FILE="cobra.xml" NAME="cobra" FILE_NAME_GLOB="*.{cobra}"/> 
     11}}} 
     12 
     13This allows jEdit to recognize files ending with .cobra as being associated with this new mode. You will then be able to modify other attributes associated with the mode, such as indentation depth, as usual (in the Global Settings dialog). 
     14 
     15Please post any questions, suggestions, or problems that you may have on the forums.