[interchange] eg/jedit/interchange.xml

Jon Jensen <[email protected]>
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
commit babdd648e73c5c4870c84855a154f93edfd20e46
Author: Justin La Sotten <[email protected]>
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 ([email protected])
-	Extended by Justin Otten ([email protected])
-	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">
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.