[interchange] eg/jedit/interchange.xml

Jon Jensen interchange-cvs at icdevgroup.org
Thu Feb 2 17:08:12 UTC 2012


commit babdd648e73c5c4870c84855a154f93edfd20e46
Author: Justin La Sotten <justin.lasotten at gmail.com>
Date:   Wed Feb 1 15:27:45 2012 -0500

    eg/jedit/interchange.xml
    ------------------------
    * Added support for [PREFIX-calc] blocks, now syntax highlights contents as perl code

 eg/jedit/interchange.xml |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/eg/jedit/interchange.xml b/eg/jedit/interchange.xml
index 5f24631..0ad4300 100644
--- a/eg/jedit/interchange.xml
+++ b/eg/jedit/interchange.xml
@@ -2,8 +2,9 @@
 <!DOCTYPE MODE SYSTEM "xmode.dtd">
 <!--
 	Interchange (IC) mode by Chris Jesseman (chris at sitemajic.net)
-	Extended by Justin Otten (justino at 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="<<" TYPE="LITERAL2" DELEGATE="perl::MAIN">



More information about the interchange-cvs mailing list