Subversion Repositories wimsdev

Rev

Rev 4870 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. editAreaLoader.load_syntax["wimsdata"] = {
  2.     'QUOTEMARKS' : {1: ' " '}
  3.         ,'KEYWORD_CASE_SENSITIVE' : true
  4.         ,'KEYWORDS' : {
  5.       'c' : ['|']
  6.       }
  7.         ,'OPERATORS' :[
  8.                 '@', '*', '+', '-', '/', '^', ':=', '<', '=', '>','//','$'
  9.         ]
  10.         ,'DELIMITERS' :[
  11.                 '(', ')', '[', ']','{','}','\(', '\)','??','??'
  12.         ]
  13.         ,'REGEXPS' :
  14.         {
  15.                 'wimsvariables' : { 'search': '(\\$)([a-zA-Z0-9_]*)()',
  16.                         'class' : 'wimsvariables',
  17.                         'modifiers' : 'g', 'execute' : 'before' },
  18.                 'record' : { 'search': '(\n)(:)()',
  19.                         'class' : 'record',
  20.                         'modifiers' : 'g', 'execute' : 'before' },
  21.                 'question' : { 'search': '(\\?\\?)([^\\?]+)(\\?\\?)',
  22.                         'class' : 'question',
  23.                         'modifiers' : 'g', 'execute' : 'after' }
  24.         }
  25.         ,'STYLES' : {
  26.                 'COMMENTS': 'color: #0000CD;'
  27.                 ,'QUOTESMARKS': 'color: #6381F8;'
  28.                 ,'KEYWORDS' : {
  29.                         'c' : 'color: #48BDDF;'
  30.                         }
  31.                 ,'OPERATORS' : 'color: #60CA00;'
  32.                 ,'DELIMITERS' : 'color: #60CA00;',
  33.                 'REGEXPS': {
  34.                         'wimsvariables' : 'color: #FF3A6E;'
  35.                         ,'question' : 'color:#985717;'
  36.                         ,'record' : 'color:blue;'
  37.                 }
  38.         }
  39. };
  40.