]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/js/codepress/languages/generic.js
Wordpress 3.0
[autoinstalls/wordpress.git] / wp-includes / js / codepress / languages / generic.js
diff --git a/wp-includes/js/codepress/languages/generic.js b/wp-includes/js/codepress/languages/generic.js
deleted file mode 100644 (file)
index 4c866de..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * CodePress regular expressions for generic syntax highlighting
- */
-// generic languages
-Language.syntax = [
-       { input : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>' }, // strings double quote
-       { input : /\'(.*?)(\'|<br>|<\/P>)/g, output : '<s>\'$1$2</s>' }, // strings single quote
-       { input : /\b(abstract|continue|for|new|switch|default|goto|boolean|do|if|private|this|break|double|protected|throw|byte|else|import|public|throws|case|return|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|const|float|while|function|label)\b/g, output : '<b>$1</b>' }, // reserved words
-       { input : /([\(\){}])/g, output : '<em>$1</em>' }, // special chars;
-       { input : /([^:]|^)\/\/(.*?)(<br|<\/P)/g, output : '$1<i>//$2</i>$3' }, // comments //
-       { input : /\/\*(.*?)\*\//g, output : '<i>/*$1*/</i>' } // comments /* */
-]
-
-Language.snippets = []
-
-Language.complete = [
-       { input : '\'', output : '\'$0\'' },
-       { input : '"', output : '"$0"' },
-       { input : '(', output : '\($0\)' },
-       { input : '[', output : '\[$0\]' },
-       { input : '{', output : '{\n\t$0\n}' }          
-]
-
-Language.shortcuts = []