using semantic link and meta classes for highlighting
authorNicholas Bollweg <nicholas.bollweg@gtri.gatech.edu>
Tue, 22 Oct 2013 15:07:48 -0400
changeset 2078 aa13876c276a
parent 2077 134f64d36775
child 2079 f866fde00fd7
using semantic link and meta classes for highlighting
playground/codemirror.jsonld.js
--- a/playground/codemirror.jsonld.js	Tue Oct 22 14:59:32 2013 -0400
+++ b/playground/codemirror.jsonld.js	Tue Oct 22 15:07:48 2013 -0400
@@ -205,10 +205,10 @@
           ch = stream.peek();
           
           if(ch === "@" && stream.match(ldKeywordRE)){
-            ty_st = ret("jsonld-keyword", "keyword");
+            ty_st = ret("jsonld-keyword", "meta");
           }
           else if(ch === "h" && stream.match(ldUriRE)){
-            ty_st = ret("jsonld-uri", "string-2");
+            ty_st = ret("jsonld-uri", "link");
           }
           
           // consume the quote, reset the tokenizer