Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8475 | bpr | 1 | |
2 | editAreaLoader.load_syntax['scilab'] = { |
||
3 | 'QUOTEMARKS' : {1: ' " '} |
||
4 | ,'COMMENT_SINGLE' : {1 : '\\'} |
||
5 | ,'COMMENT_MULTI' : {'/\*' : '\*/'} |
||
6 | ,'KEYWORD_CASE_SENSITIVE' : true |
||
7 | ,'KEYWORDS' : { |
||
8 | 'scilab' : ['abcd','abinv','abort','abs','acoshm','acosh','acosm','acos','addcolor', |
||
9 | 'addf','addinter','addmenu','add_edge','add_node','adj2sp','adj_lists','aff2ab', |
||
10 | 'amell','analpf','analyze','ans','apropos','arc_graph','arc_number','argn','arhnk', |
||
11 | 'arl2','arma2p','armac','armax1','armax','arma','arsimul','artest','articul','ascii', |
||
12 | 'asinhm','asinh','asinm','asin','atanhm','atanh','atanm','atan','augment','auread', |
||
13 | 'auwrite','balanc','balreal','bandwr','basename','bdiag','besseli','besselj', |
||
14 | 'besselk','bessely','best_match','bezout','bifish','bilin','binomial','black', |
||
15 | 'bloc2exp','bloc2ss','bode','bool2s','boolean','boucle','break','bstap','buttmag', |
||
16 | 'bvode','cainv','calerf','calfrq','call','canon','casc','case','ccontrg','cdfbet', |
||
17 | 'cdfbin','cdfchi','cdfchn','cdffnc','cdff','cdfgam','cdfnbn','cdfnor','cdfpoi', |
||
18 | 'cdft','ceil','center','cepstrum','chaintest','chain_struct','champ1','champ', |
||
19 | 'chart','chdir','cheb1mag','cheb2mag','check_graph','check_io','chepol','chfact', |
||
20 | 'chol','chsolve','circuit','classmarkov','clean','clearfun','clearglobal', |
||
21 | 'clear','close','cls2dls','cmb_lin','cmndred','cmoment','code2str','coeff','coffg', |
||
22 | 'coff','colcompr','colcomp','colinout','colormap','colregul','companion','comp', |
||
23 | 'cond','conj','connex','contour2di','contour2d','contourf','contour', |
||
24 | 'contract_edge','contrss','contr','cont_frm','cont_mat','convex_hull','convol', |
||
25 | 'convstr','con_nodes','copfac','copy','correl','corr','coshm','cosh','cosm','cos', |
||
26 | 'cotg','cothm','coth','covar','csim','cspect','ctr_gram','cumprod','cumsum', |
||
27 | 'curblock','cycle_basis','czt','c_link','dasrt','dassl','datafit','date','dbphi', |
||
28 | 'dcf','ddp','debug','dec2hex','deff','definedfields','degree','delbpt', |
||
29 | 'delete_arcs','delete_nodes','delete','delip','delmenu','demos','denom', |
||
30 | 'derivative','derivat','des2ss','des2tf','determ','detr','det','dft','dhinf', |
||
31 | 'dhnorm','diag','diary','diff','diophant','dirname','dispbpt','dispfiles','disp', |
||
32 | 'dlgamma','double','dragrect','drawaxis','drawlater','drawnow','draw','driver', |
||
33 | 'dscr','dsearch','dsimul','dtsi','dt_ility','duplicate','edge_number', |
||
34 | 'edit_curv','edit_graph_menus','edit_graph','edit','eigenmarkov','ell1mag', |
||
35 | 'elseif','else','emptystr','endfunction','end','eqfir','eqiir','equil1','equil', |
||
36 | 'ereduc','erfcx','erfc','erf','errbar','errcatch','errclear','error','eval3dp', |
||
37 | 'eval3d','eval','evans','evstr','excel2sci','execstr','exec','exists','exit','expm', |
||
38 | 'exp','external','eye','fac3d','factors','faurre','fchamp','fcontour2d','fcontour', |
||
39 | 'fec','feedback','feval','ffilt','fftshift','fft','fgrayplot','figure','fileinfo', |
||
40 | 'file','filter','findm','findobj','findx0BD','find_freq','find_path','find', |
||
41 | 'findABCD','findAC','findBD','findBDK','findR','fit_dat','fix','floor','flts','foo', |
||
42 | 'formatman','format','fort','for','fourplan','fplot2d','fplot3d1','fplot3d', |
||
43 | 'fprintf','fprintfMat','frep2tf','freq','freson','frexp','frfit','frmag','fscanf', |
||
44 | 'fscanfMat','fsfirlin','fsolve','fspecg','fstabst','fstair','ftest','ftuneq', |
||
45 | 'fullrfk','fullrf','full','fun2string','funcprot','functions','function', |
||
46 | 'funptr','fusee','gainplot','gamitg','gammaln','gamma','gcare','gcd','gcf', |
||
47 | 'genfac3d','genlib','genmarkov','gen_net','geom3d','geomean','getblocklabel', |
||
48 | 'getcolor','getcurblock','getcwd','getdate','getd','getenv','getfield','getfont', |
||
49 | 'getf','getio','getlinestyle','getmark','getpid','getscicosvars','getsymbol', |
||
50 | 'getvalue','getversion','get_function_path','get','gfare','gfrancis','girth', |
||
51 | 'givens','glever','glist','global','glue','gpeche','graduate','grand', |
||
52 | 'graphics_entities','graph_2_mat','graph_center','graph_complement', |
||
53 | 'graph_diameter','graph_power','graph_simp','graph_sum','graph_union', |
||
54 | 'graph-list','graycolormap','grayplot','graypolarplot','grep','group', |
||
55 | 'gr_menu','gschur','gsort','gspec','gstacksize','gtild','g_margin','h2norm','halt', |
||
56 | 'hamilton','hankelsv','hank','harmean','havewindow','help','hermit','hess', |
||
57 | 'hex2dec','hilb','hinf','hist3d','histplot','horner','host','hotcolormap', |
||
58 | 'householder','hrmt','htrianr','hypermat','h_cl','h_inf_st','h_inf','h_norm', |
||
59 | 'iconvert','icon_edit','ieee','if','iirgroup','iirlp','iir','ilib_build', |
||
60 | 'ilib_compile','ilib_for_link','ilib_gen_gateway','ilib_gen_loader', |
||
61 | 'ilib_gen_Make','imag','impl','imrep2ss','imult','im_inv','inistate','input', |
||
62 | 'int16','int2d','int32','int3d','int8','intc','intdec','integrate','interpln', |
||
63 | 'interp','intersci','intersect','intg','intl','intppty','intsplin','inttrap', |
||
64 | 'inttype','int','invr','invsyslin','inv_coeff','inv','iqr','isdef','isdir','isequal', |
||
65 | 'iserror','isglobal','isinf','isnan','isoview','isreal','is_connex','jmat', |
||
66 | 'justify','kalm','karmarkar','kernel','keyboard','knapsack','kpure','krac2', |
||
67 | 'kroneck','kron','lasterror','lattn','lattp','lcf','lcmdiag','lcm','ldivf','ldiv', |
||
68 | 'leastsq','legends','length','leqr','levin','lev','lex_sort','lft','lgfft','library', |
||
69 | 'lib','lin2mu','lincos','lindquist','lines','line_graph','linfn','linf','link', |
||
70 | 'linmeq','linpro','linsolve','linspace','lin','listfiles','list','lmisolver', |
||
71 | 'lmitool','loadmatfile','loadplots','loadwave','load_graph','load','locate', |
||
72 | 'log10','log1p','log2','logm','logspace','log','lotest','lqe','lqg2stan','lqg_ltr', |
||
73 | 'lqg','lqr','lsq','lsslist','lstcat','lstsize','ltitr','ludel','lufact','luget', |
||
74 | 'lusolve','lu','lyap','macglov','macr2lst','macrovar','macro','mad','make_graph', |
||
75 | 'make_index','manedit','man','mapsound','markp2ss','matfile2sci','matrix', |
||
76 | 'mat_2_graph','maxi','max_cap_path','max_clique','max_flow','max','mclearerr', |
||
77 | 'mclose','meanf','mean','median','meof','mese','mesh2d','mfft','mfile2sci','mgeti', |
||
78 | 'mgetl','mgetstr','mget','milk_drop','mine','mini','minreal','minss', |
||
79 | 'min_lcost_cflow','min_lcost_flow1','min_lcost_flow2','min_qcost_flow', |
||
80 | 'min_weight_tree','min','mlist','mode','modulo','moment','mopen','move', |
||
81 | 'mps2linpro','mputl','mputstr','mput','mrfit','msd','mseek','mtell','mtlb_load', |
||
82 | 'mtlb_mode','mtlb_save','mtlb_sparse','mu2lin','mulf','mvvacov','m_circle', |
||
83 | 'names','nand2mean','nanmax','nanmeanf','nanmean','nanmedian','nanmin', |
||
84 | 'nanstdev','nansum','narsimul','ndims','nearfloat','nehari','neighbors', |
||
85 | 'netclose','netwindows','netwindow','newest','newfun','nextpow2','nf3d','nfreq', |
||
86 | 'nlev','nnz','nodes_2_path','nodes_degrees','node_number','noisegen','norm', |
||
87 | 'null','numdiff','numer','nyquist','obscont1','obscont','observer','obsvss', |
||
88 | 'obsv_mat','obs_gram','odedc','odedi','odeoptions','ode_discrete','ode_root', |
||
89 | 'ode','oldload','oldsave','ones','optim','orth','param3d1','param3d', |
||
90 | 'paramfplot2d','parrot','part','pathconvert','path_2_nodes','pause','pbig', |
||
91 | 'pdiv','pen2ea','pencan','penlaur','perctl','perfect_match','pertrans','pfss', |
||
92 | 'phasemag','phc','pinv','pipe_network','playsnd','plot2d1','plot2d2','plot2d3', |
||
93 | 'plot2d4','plot2d','plot3d1','plot3d2','plot3d3','plot3d','plotframe', |
||
94 | 'plotprofile','plot_graph','plot','plzr','pmodulo','pol2des','pol2str','pol2tex', |
||
95 | 'polarplot','polar','polfact','poly','portr3d','portrait','power','ppol','prbs_a', |
||
96 | 'predecessors','predef','printf','printing','print','prod','profile','projsl', |
||
97 | 'projspec','proj','psmall','pspect','pvm_addhosts','pvm_barrier','pvm_bcast', |
||
98 | 'pvm_bufinfo','pvm_config','pvm_delhosts','pvm_error','pvm_exit', |
||
99 | 'pvm_f772sci','pvm_getinst','pvm_gettid','pvm_get_timer','pvm_gsize', |
||
100 | 'pvm_halt','pvm_joingroup','pvm_kill','pvm_lvgroup','pvm_mytid','pvm_parent', |
||
101 | 'pvm_probe','pvm_recv','pvm_reduce','pvm_sci2f77','pvm_send','pvm_set_timer', |
||
102 | 'pvm_spawn_independent','pvm_spawn','pvm_start','pvm_tasks', |
||
103 | 'pvm_tidtohost','pvm','pwd','p_margin','qassign','qr','quapro','quart','quaskro', |
||
104 | 'quit','randpencil','rand','range','rankqr','rank','rat','rcond','rdivf','read4b', |
||
105 | 'readb','readc_','readmps','read','real','recur','reglin','regress','remezb','remez', |
||
106 | 'repfreq','replot','residu','resume','return','riccati','riccsl','ricc','ric_desc', |
||
107 | 'rlist','roots','rotate','round','routh_t','rowcompr','rowcomp','rowinout', |
||
108 | 'rowregul','rowshuff','rpem','rref','rtitr','rubberbox','salesman','savewave', |
||
109 | 'save_graph','save','scaling','scanf','schur','sci2exp','sci2for','sci2map', |
||
110 | 'sciargs','scicosim','scicos','scifunc_block','sd2sci','secto3d','select', |
||
111 | 'semidef','sensi','setbpt','seteventhandler','setfield','setmenu', |
||
112 | 'setscicosvars','set','sfact','sgrid','shortest_path','showprofile', |
||
113 | 'show_arcs','show_graph','show_nodes','sident','signm','sign','simp_mode','simp', |
||
114 | 'sincd','sinc','sinc','sinhm','sinh','sinm','sin','size','sm2des','sm2ss','smooth', |
||
115 | 'solve','sorder','sort','sound','sp2adj','spaninter','spanplus','spantwo','sparse', |
||
116 | 'spchol','spcompack','specfact','spec','speye','spget','splin','split_edge', |
||
117 | 'spones','sprand','sprintf','spzeros','sqroot','sqrtm','sqrt','squarewave', |
||
118 | 'square','srfaur','srkf','ss2des','ss2ss','ss2tf','sscanf','sskf','ssprint','ssrand', |
||
119 | 'stabil','stacksize','standard_define','standard_draw','standard_input', |
||
120 | 'standard_origin','standard_output','startup','stdevf','stdev','steadycos', |
||
121 | 'str2code','strange','strcat','strindex','strings','string','stripblanks', |
||
122 | 'strong_connex','strong_con_nodes','strsubst','st_deviation','st_ility', |
||
123 | 'subf','subgraph','subplot','successors','sum','supernode','sva','svd','svplot', |
||
124 | 'sylm','sylv','sysconv','sysdiag','sysfact','syslin','syssize','systems','system', |
||
125 | 'systmat','tabul','tangent','tanhm','tanh','tanm','tan','tdinit','testmatrix', |
||
126 | 'texprint','tf2des','tf2ss','then','thrownan','timer','time_id','titlepage', |
||
127 | 'tk_getdir','tk_getfile','tlist','toeplitz','tokenpos','tokens','trace', |
||
128 | 'translatepaths','trans_closure','trans','trfmod','trianfml','tril','trimmean', |
||
129 | 'trisolve','triu','trzeros','typename','typeof','type','uicontrol','uimenu', |
||
130 | 'uint16','uint32','uint8','ui_observer','ulink','unglue','union','unique','unix_g', |
||
131 | 'unix_s','unix_w','unix_x','unix','unobs','unsetmenu','user','varargin', |
||
132 | 'varargout','variancef','variance','varn','warning','wavread','wavwrite', |
||
133 | 'wcenter','wfir','what','whereami','whereis','where','while','whos','who_user','who', |
||
134 | 'wiener','wigner','window','winsid','with_gtk','with_pvm','with_texmacs', |
||
135 | 'with_tk','writb','write4b','write','xarcs','xarc','xarrows','xaxis','xbasc', |
||
136 | 'xbasimp','xbasr','xchange','xclear','xclea','xclick','xclip','xdel','xend','xfarcs', |
||
137 | 'xfarc','xfpolys','xfpoly','xfrect','xgetech','xgetfile','xgetmouse','xget', |
||
138 | 'xgraduate','xgrid','xinfo','xinit','xlfont','xload','xname','xnumb','xpause', |
||
139 | 'xpolys','xpoly','xrects','xrect','xrpoly','xs2fig','xs2gif','xs2ppm','xs2ps', |
||
140 | 'xsave','xsegs','select','xsetech','xsetm','xset','xstringb','xstringl','xstring', |
||
141 | 'xtape','xtitle','x_choices','x_choose','x_dialog','x_matrix','x_mdialog', |
||
142 | 'x_message_modeless','x_message','yulewalk','zeropen','zeros','zgrid','zpbutt', |
||
143 | 'zpch1','zpch2','zpell','mfprintf','mfscanf','mprintf','mscanf','msprintf', |
||
144 | 'msscanf','mucomp', |
||
145 | 'ABSBLK_f','AFFICH_f','ANDLOG_f','ANIMXY_f','BIGSOM_f','CLINDUMMY_f','CLKIN_f', |
||
146 | 'CLKINV_f','CLKOUT_f','CLKOUTV_f','CLKSOM_f','CLKSOMV_f','CLKSPLIT_f', |
||
147 | 'CLOCK_f','CLR_f','CLSS_f','CONST_f','COSBLK_f','CURV_f','DELAY_f','DELAYV_f', |
||
148 | 'DEMUX_f','DLR_f','DLRADAPT_f','DLSS_f','EVENTSCOPE_f','EVTDLY_f','EVTGEN_f', |
||
149 | 'EXPBLK_f','G_make','GAIN_f','GAINBLK_f','GENERAL_f','GENERIC_f','GENSIN_f', |
||
150 | 'GENSQR_f','HALT_f','IFTHEL_f','IN_f','INTEGRAL_f','INTRP2BLK_f','INTRPLBLK_f', |
||
151 | 'INVBLK_f','LOGBLK_f','LOOKUP_f','Matplot1','Matplot','MAX_f','MCLOCK_f', |
||
152 | 'MFCLCK_f','MIN_f','MUX_f','NDcost','NEGTOPOS_f','OUT_f','POSTONEG_f','POWBLK_f', |
||
153 | 'PROD_f','QUANT_f','RAND_f','READC_f','REGISTER_f','RELAY_f','RFILE_f', |
||
154 | 'ScilabEval','Sfgrayplot','Sgrayplot','SAMPLEHOLD_f','SAT_f','SAWTOOTH_f', |
||
155 | 'SCOPE_f','SCOPXY_f','SELECT_f','SINBLK_f','SOM_f','SPLIT_f','STOP_f','SUPER_f', |
||
156 | 'TANBLK_f','TCLSS_f','TEXT_f','TIME_f','TK_EvalFile','TK_EvalStr','TK_GetVar', |
||
157 | 'TK_SetVar','TRASH_f','WFILE_f','WRITEC_f','ZCROSS_f'] |
||
158 | } |
||
159 | ,'OPERATORS' :[ |
||
160 | '*', '+', '-', '/', '^', ':=', '<', '=', '>' |
||
161 | ] |
||
162 | ,'DELIMITERS' :[ |
||
163 | '(', ')', '[', ']','{','}','\(', '\)' |
||
164 | ] |
||
165 | ,'STYLES' : { |
||
166 | 'COMMENTS': 'color: #0000CD;' |
||
167 | ,'QUOTESMARKS': 'color: #6381F8;' |
||
168 | ,'KEYWORDS' : { |
||
169 | 'scilab' : 'color: #3399FF;' |
||
170 | } |
||
171 | ,'OPERATORS' : 'color: #CD00CD;' |
||
172 | ,'DELIMITERS' : 'color: #60CA00;' |
||
173 | } |
||
174 | }; |