Selecting the proper edit mode
Submitted by Tuesday, 17 February, 2004 - 20:13
on
I am very new to jEdit and I am trying to set up my initial environment.
I hope to use jEdit to write/edit short text programs for a proprietary extension of a CAD application. The syntax of these files are somewhat similar to Fortran, with some exceptions.
I am trying to select a edit mode that will allow for syntax highlighting. Since text mode will not show highlighting, I have selected Fortran. This mode seems to distiguish comments but nothing else.
Is there a resource I could use for selecting the best edit mode to allow for syntax highlighting? Or can a syntax standard be created for use in jEdit?
Some examples of the syntax:
---------------------------------
! used for comments in the programs
! first if end statement
IF_1
...
END_IF_1
! second if end statement
IF_2
...
END_IF_2
SEARCH_MDL_REF !typical reference call but a variable is added
USER_SELECT !typical user input
...
etc.
--------------------------------
I hope to use jEdit to write/edit short text programs for a proprietary extension of a CAD application. The syntax of these files are somewhat similar to Fortran, with some exceptions.
I am trying to select a edit mode that will allow for syntax highlighting. Since text mode will not show highlighting, I have selected Fortran. This mode seems to distiguish comments but nothing else.
Is there a resource I could use for selecting the best edit mode to allow for syntax highlighting? Or can a syntax standard be created for use in jEdit?
Some examples of the syntax:
---------------------------------
! used for comments in the programs
! first if end statement
IF_1
...
END_IF_1
! second if end statement
IF_2
...
END_IF_2
SEARCH_MDL_REF !typical reference call but a variable is added
USER_SELECT !typical user input
...
etc.
--------------------------------