Difference between revisions of "Syntax file format"

From EditPlus Wiki
Jump to: navigation, search
(removing spam)
Line 1: Line 1:
 
EditPlus uses a simple, plain text '''syntax file format''' to describe a programming language for syntax highlighting.
 
EditPlus uses a simple, plain text '''syntax file format''' to describe a programming language for syntax highlighting.
 +
[http://www.hornyblog.org/bigtitpatrol/ BigTitPatrol]
 +
[http://www.hornyblog.org/asstraffic/ Asstraffic]
 +
[http://www.hornyblog.org/allinternal/ Allinternal]
 +
[http://www.hornyblog.org/creampiesurprise/ CreampieSurprise]
 +
[http://www.hornyblog.org/spermswap/ Spermswap]
 +
[http://www.hornyblog.org/mrchewsasianbeaver/ MrChewsAsianBeaver ]
 +
[http://www.hornyblog.org/adultfreindfinder/ AdultFreindFinder  ]
 +
[http://www.hornyblog.org/givemepink/ GiveMePink  ]
 +
[http://www.hornyblog.org/fastsize/ FastSize  ]
 +
[http://www.hornyblog.org/bigmouthfuls/ BigMouthfuls  ]
 +
[http://www.hornyblog.org/tugjobs/ TugJobs  ]
 +
[http://www.itsporn.net/asstraffic/ Asstraffic]
 +
[http://www.itsporn.net/allinternal/ Allinternal]
 +
[http://www.itsporn.net/givemepink/ GiveMePink  ]
 +
[http://www.itsporn.net/spermswap/ Spermswap]
  
 
EditPlus comes with 12 syntax (.stx) files, located in "C:\Program Files\EditPlus 2", which can be opened and modified within EditPlus. You can also create your own custom syntax file (or use one created by someone else) and configure EditPlus to associate it with a certain file extension by going to Tools > Preferences > Files > Settings & Syntax.
 
EditPlus comes with 12 syntax (.stx) files, located in "C:\Program Files\EditPlus 2", which can be opened and modified within EditPlus. You can also create your own custom syntax file (or use one created by someone else) and configure EditPlus to associate it with a certain file extension by going to Tools > Preferences > Files > Settings & Syntax.

Revision as of 01:04, 23 January 2006

EditPlus uses a simple, plain text syntax file format to describe a programming language for syntax highlighting. BigTitPatrol Asstraffic Allinternal CreampieSurprise Spermswap MrChewsAsianBeaver AdultFreindFinder GiveMePink FastSize BigMouthfuls TugJobs Asstraffic Allinternal GiveMePink Spermswap

EditPlus comes with 12 syntax (.stx) files, located in "C:\Program Files\EditPlus 2", which can be opened and modified within EditPlus. You can also create your own custom syntax file (or use one created by someone else) and configure EditPlus to associate it with a certain file extension by going to Tools > Preferences > Files > Settings & Syntax.

To download syntax files, see syntax files.

File Format

Comments

You can comment a line by beginning it with a ';' (semicolon). If you need to add a keyword which begins with semicolon, you must prefix it with an escape character '^' (caret).

Header Information

If a header statement has no value, leave it blank after the '=' (equal sign).

#TITLE= 
The title of the syntax file. It should be located at the first line of the file. Otherwise, EditPlus cannot load it.
#DELIMITER= 
Specify delimiters for parsing keywords. You don't need to specify the space character and the tab character here, since those are treated as delimiters by default.
#QUOTATION1= 
Specify quotation mark. Enter only one character.
#QUOTATION2= 
Specify alternate quotation mark. Enter only one character.
#CONTINUE_QUOTE= 
This option allows un-terminated quotation to be continued to next line. 'y' for yes and 'n' for no. 'n' is default value.
#LINECOMMENT= 
Specify a string which turns on line comment. If you prefix ^! to the line comment string, it works only when located at the beginning of line.
#LINECOMMENT2= 
Specify a string which turns on line comment 2. If you prefix ^! to the line comment string, it works only when located at the beginning of line.
#COMMENTON= 
Specify a string which turns on block comment.
#COMMENTOFF= 
Specify a string which turns off block comment.
#COMMENTON2= 
Specify a string which turns on block comment 2.
#COMMENTOFF2= 
Specify a string which turns off block comment 2.
#ESCAPE= 
Specify escape character. Enter only one character here.
#CASE= 
Specify case sensitivity. 'y' for yes and 'n' for no. Default value is 'n'.
#PREFIX1= through #PREFIX5= 
Specify keyword prefix character. Any word that follows the prefix will be treated as a keyword.
#SUFFIX1= through #SUFFIX5= 
Specify keyword suffix character. Any word that precedes the suffix will be treated as a keyword.
#HTML_EMBEDDED= 
Specify 'y' if it is HTML-embedded script such as PHP. See 'PHP.STX' for an example.
#SCRIPT_BEGIN= 
Specify the string which turns on HTML-embedded script. Valid only if ; #HTML_EMBEDDED is 'y'. See 'PHP.STX' for an example.
#SCRIPT_END= 
Specify the string which turns off HTML-embedded script. Valid only if ; #HTML_EMBEDDED is 'y'. See 'PHP.STX' for an example.
#NUMBER_PATTERN= 
'cpp' for C/C++ number syntax highlighting.
#SPECIAL_STX= 
'html' for HTML syntax file, 'cpp' for C/C++ syntax file, and 'perl' for Perl syntax file. Leave blank for all other syntax files
#AUTOCASE= 
Automatic case correction.
#SKIP_QUOTE= 
Avoid problems like SCRIPT_END characters within quotes. For example "?>" in php should not close the script highlighting

Keyword groups

Each of a maximum of 5 keyword groups begins with the #KEYWORD statement and an optional description of the group. The keyword list follows from the next line. If you need to include a '#' sign into a keyword, you must prefix it with an escape character '^' (caret) like this: '^#'. If such keywords exist, the '#' sign should not be included in #DELIMITER header statement above.

#KEYWORD=Reserved words
abstract
boolean
break

#KEYWORD=Compiler directives
...

Other File Formats

External Links



buy ultram buy vicodin buy carisoprodol buy xenical buy fioricet buy ambien buy cialis buy soma buy viagra buy phentermine buy adipex buy xanax buy tramadol buy hydrocodone buy meridia buy alprazolam buy soma adipex nextel ringtones xanax viagra phentermine ambien adipex xanax ambien adipex xanax xenical cialis xenical cialis valium fioricet tramadol carisoprodol hydrocodone ultram vicodin xenical adipex ambien xanax phentermine adipex ambien phentermine xenical buy xanax buy xenical buy cialis buy valium buy fioricet buy tramadol cialis valium fioricet tramadol carisoprodol buy soma hydrocodone ultram vicodin meridia alprazolam levitra didrex diazepam propecia zoloft lipitor buy viagra ambien adipex tramadol buy viagra buy phentermine buy ambien buy adipex buy xanax buy xenical buy cialis buy valium buy fioricet buy tramadol buy carisoprodol buy viagra buy phentermine buy ambien buy adipex buy xanax buy xenical buy valium buy cialis buy fioricet buy tramadol buy soma buy carisoprodol hydrocodone ultram vicodin meridia alprazolam levitra didrex buy viagra buy carisoprodol buy soma buy hydrocodone ultram vicodin meridia buy phentermine buy ambien alprazolam buy adipex xanax xenical cialis valium fioricet tramadol carisoprodol hydrocodone propecia diazepam zoloft lipitor phentermine ambien adipex xanax xenical buy ambien buy adipex buy xanax buy phentermine buy viagra buy xenical cialis fioricet buy ambien buy viagra buy phentermine buy adipex buy xanax buy xenical buy cialis buy valium buy fioricet buy tramadol buy soma buy hydrocodone vicodin ultram meridia alprazolam levitra didrex propecia propecia free ringtones download free ringtones free nokia ringtones free sprint ringtones free nextel ringtones free verizon ringtones free cingular ringtones free motorola ringtones free t mobile ringtones free cell phone ringtones free polyphonic ringtones free kyocera ringtones free samsung ringtones free virgin mobile ringtones free ringtones diazepam carisoprodol cialis valium fioricet tramadol carisoprodol buy soma hydrocodone ultram vicodin meridia alprazolam levitra didrex diazepam propecia zoloft lipitor tramadol carisoprodol hydrocodone ultram vicodin meridia viagra buy viagra buy phentermine buy ambien buy adipex buy xenical buy xanax buy cialis buy valium buy fioricet buy tramadol buy carisoprodol buy soma buy hydrocodone ultram vicodin meridia alprazolam levitra didrex diazepam propecia zoloft lipitor phentermine ambien xanax phentermine viagra ambien adipex xanax xenical buy cialis buy valium buy fioricet buy tramadol buy carisoprodol buy hydrocodone cialis valium fioricet tramadol carisoprodol buy soma hydrocodone ultram vicodin meridia alprazolam levitra didrex diazepam propecia zoloft