Permalink
Browse files

eg/jedit/interchange.xml

------------------------
* Added support for [PREFIX-calc] blocks, now syntax highlights contents as perl code
  • Loading branch information...
1 parent f0479d1 commit babdd648e73c5c4870c84855a154f93edfd20e46 @justino justino committed Feb 1, 2012
Showing with 7 additions and 2 deletions.
  1. +7 −2 eg/jedit/interchange.xml
@@ -2,8 +2,9 @@
<!DOCTYPE MODE SYSTEM "xmode.dtd">
<!--
Interchange (IC) mode by Chris Jesseman (chris@sitemajic.net)
- Extended by Justin Otten (justino@fragrancenet.com)
- Works on IC 4.6.x, should be backwards compatible with Minivend 4.04x
+ Extended by Justin La Sotten (justin [dot] lasotten [at] gmail [dot] com)
+ formerly Justin Otten (same great person, new upgraded name!)
+ Works on IC 5.7.7, should be backwards compatible with Minivend 4.04x
This is a work in progress!
Interchange tags in jEdit:
@@ -45,6 +46,10 @@
<BEGIN>[condition</BEGIN>
<END>[/condition]</END>
</SPAN>
+ <SPAN_REGEXP HASH_CHAR="[" TYPE="FUNCTION" DELEGATE="PERL">
+ <BEGIN>\[(.+)\-calc</BEGIN>
+ <END>[/$1-calc]</END>
+ </SPAN_REGEXP>
<!-- Heredocs -->
<SPAN_REGEXP HASH_CHAR="&lt;&lt;" TYPE="LITERAL2" DELEGATE="perl::MAIN">

0 comments on commit babdd64

Please sign in to comment.