r2367 - list new keywords in the highlighter
authorDenis Ovsienko <infrastation@yandex.ru>
Sun, 25 Jan 2009 20:57:00 +0000 (20:57 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Sun, 25 Jan 2009 20:57:00 +0000 (20:57 +0000)
js/codepress/languages/rackcode.js

index cbaba6c117bb80386b689a518a0672595bba0165..684345a79d67f98f8d7aae90982e1a1a66ae298d 100644 (file)
@@ -4,6 +4,6 @@ Language.shortcuts = []
 Language.syntax = [
        { input : /{(.*?)(}|<br>|<\/P>)/g, output : '<s>{$1$2</s>'}, // tags
        { input : /\[(.*?)(\]|<br>|<\/P>)/g, output : '<s>[$1$2</s>'}, // predicatess
-       { input : /\b(define|allow|deny|and|not|or)\b/g, output : '<b>$1</b>'}, // keywords
+       { input : /\b(define|allow|deny|and|not|or|context|clear|insert|remove|on)\b/g, output : '<b>$1</b>'}, // keywords
        { input : /([^:]|^)#(.*?)(<br|<\/P)/g, output : '$1<i>#$2</i>$3'} // comments //        
 ]