Rev 4876 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
4876 | bpr | 1 | |
2 | editAreaLoader.load_syntax['octave'] = { |
||
3 | 'QUOTEMARKS' : {1: ' " '} |
||
4 | ,'COMMENT_SINGLE' : {1 : '\\'} |
||
5 | ,'COMMENT_MULTI' : {'/\*' : '\*/'} |
||
6 | ,'KEYWORD_CASE_SENSITIVE' : true |
||
7 | ,'KEYWORDS' : { |
||
4887 | bpr | 8 | 'octstatement' : ['function', 'break', 'case', 'catch', 'classdef', 'continue', 'else', 'elseif', 'end', 'for', 'function', 'global', 'if', 'otherwise', 'parfor', 'persistent', 'return', 'spmd', 'switch', 'try', 'while','error' , 'length' , 'size' , 'ones' , 'zeros' , 'rand' , |
9 | 'log' , 'log2' , 'log10' , 'exp' , 'sqrt' , 'sin' , 'cos' , 'tan' , |
||
10 | 'asin' , 'acos' , 'atan' , 'abs' , 'ceil' , 'floor' , 'round' , |
||
11 | 'fix' , 'power' , 'atan2' , 'mod' , 'true' , 'false' , 'pi' , |
||
12 | 'Inf' , 'NaN' , 'eye' , 'diag' , 'repmat' , 'reshape' , 'strvcat' , |
||
13 | 'all' , 'any' , 'find' , 'linspace' , 'logspace' , 'mean' , 'sum' , 'max' , |
||
14 | 'min' , 'ind2sub' , 'sub2ind' , 'fopen' , 'fclose' , 'fscanf' , 'fprintf' , |
||
15 | 'fread' , 'fwrite' , 'disp' , 'input' ] |
||
4876 | bpr | 16 | ,'octfunction' : ['betacdf', 'empirical_rnd', 'laplace_inv', 'stdnormal_cdf', 'betainv', 'expcdf', 'laplace_pdf', 'stdnormal_inv', 'betapdf', 'expinv', 'laplace_rnd', 'stdnormal_pdf', 'betarnd', 'exppdf', 'logistic_cdf', 'stdnormal_rnd', 'binocdf', 'exprnd', 'logistic_inv', 'tcdf', 'binoinv', 'binopdf', 'finv', 'logistic_rnd', 'tpdf', 'binornd', 'fpdf', 'logncdf', 'trnd', 'cauchy_cdf', 'frnd', 'logninv', 'unidcdf', 'cauchy_inv', 'gamcdf', 'lognpdf', 'unidinv', 'cauchy_pdf', 'gaminv', 'lognrnd', 'unidpdf', 'cauchy_rnd', 'gampdf', 'nbincdf', 'unidrnd', 'chi2cdf', 'gamrnd', 'nbininv', 'unifcdf', 'chi2inv', 'geocdf', 'nbinpdf', 'unifinv', 'chi2pdf', 'geoinv', 'nbinrnd', 'unifpdf', 'chi2rnd', 'geopdf', 'normcdf', 'unifrnd', 'discrete_cdf', 'geornd', 'norminv', 'wblcdf', 'discrete_inv', 'hygecdf', 'normpdf', 'wblinv', 'discrete_pdf', 'hygeinv', 'normrnd', 'wblpdf', 'discrete_rnd', 'hygepdf', 'poisscdf', 'wblrnd', 'empirical_cdf', 'hygernd', 'poissinv', 'wienrnd', 'empirical_inv', 'kolmogorov_smirnov_cdf', 'poisspdf', 'empirical_pdf', 'laplace_cdf', 'poissrnd'] |
17 | } |
||
18 | ,'OPERATORS' :[ |
||
19 | '*', '+', '-', '/', '^', ':=', '<', '=', '>' |
||
20 | ] |
||
21 | ,'DELIMITERS' :[ |
||
22 | '(', ')', '[', ']','{','}','\(', '\)' |
||
23 | ] |
||
24 | ,'STYLES' : { |
||
25 | 'COMMENTS': 'color: #0000CD;' |
||
26 | ,'QUOTESMARKS': 'color: #6381F8;' |
||
27 | ,'KEYWORDS' : { |
||
28 | 'octstatement' : 'color: #3399FF;' |
||
29 | ,'octfunction' : 'color: #FF3A6E;' |
||
30 | } |
||
31 | ,'OPERATORS' : 'color: #CD00CD;' |
||
32 | ,'DELIMITERS' : 'color: #60CA00;' |
||
33 | } |
||
34 | }; |