Subversion Repositories wimsdev

Rev

Blame | Last modification | View Log | RSS feed

  1. editAreaLoader.load_syntax["diff"] = {
  2.     'QUOTEMARKS' : {1: ' " '}
  3.         ,'KEYWORD_CASE_SENSITIVE' : true
  4.         ,'KEYWORDS' : { 'diff' : ['-r' ]}
  5.         ,'OPERATORS' :[
  6.                 '*', '+', '-', '/', '^', '=', '>', '<', '//','--'
  7.         ]
  8.         ,'DELIMITERS' :[
  9.                 '(', ')', '[', ']','{','}'
  10.         ]
  11.         ,'REGEXPS' :
  12.         {
  13.            'diff2' : { 'search': '(\n<)(.*)()',
  14.                         'class' : 'diff2',
  15.                         'modifiers' : 'g', 'execute' : 'before' }
  16.          ,'diff1' : { 'search': '(\n>)(.*)()',
  17.                         'class' : 'diff1',
  18.                         'modifiers' : 'g', 'execute' : 'before' }
  19.         }
  20.         ,'STYLES' : {
  21.                 'COMMENTS': 'color: #0000CD;'
  22.                 ,'QUOTESMARKS': 'color: #6381F8;'
  23.                 ,'KEYWORDS' : {
  24.                         'flydraw' : 'color: #48BDDF;'
  25.                         }
  26.                 ,'OPERATORS' : 'color: #FF00FF;'
  27.                 ,'DELIMITERS' : 'color: #60CA00;'
  28.                 ,'REGEXPS': {
  29.                          'diff1' : 'color: #FF3A6E;'
  30.                         ,'diff2' : 'color: #48BDDF;'
  31.                 }
  32.         }
  33. };
  34.  
  35.