From: <jpi...@us...> - 2012-05-22 14:02:58
|
Revision: 10491 http://octave.svn.sourceforge.net/octave/?rev=10491&view=rev Author: jpicarbajal Date: 2012-05-22 14:02:47 +0000 (Tue, 22 May 2012) Log Message: ----------- admin: language file for geshi Modified Paths: -------------- trunk/octave-forge/admin/langfiles/octave.php Modified: trunk/octave-forge/admin/langfiles/octave.php =================================================================== --- trunk/octave-forge/admin/langfiles/octave.php 2012-05-22 08:52:30 UTC (rev 10490) +++ trunk/octave-forge/admin/langfiles/octave.php 2012-05-22 14:02:47 UTC (rev 10491) @@ -52,212 +52,158 @@ 'QUOTEMARKS' => array('"',"'"), 'ESCAPE_CHAR' => '', 'KEYWORDS' => array( - // Data types - 1 => array( - 'cell', 'char ', 'double ', 'uint8', 'uint16', 'uint32', 'uint64', - 'int8','int16', 'int32', 'int64', 'logical ', 'single ', 'struct ' - ), - //Function handle - 2 => array( - GESHI_SEARCH => '(@([A-Za-z_][A-Za-z1-9_]*)?)', - GESHI_REPLACE => '\\1', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '' - ), - // Storage type - 3 => array( - 'global ', 'persistent ', 'static ' - ), - // Boolean - // false and true can be used as functions too. - // Do not highlight as boolean if followed by parentheses. - 4 => array( - GESHI_SEARCH => '([false|true])(\b(?!(\s)*\())', - GESHI_REPLACE => '\\1', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '' - ), - // Decimal - 5 => array( - GESHI_SEARCH => '(\b([1-9][0-9]*|0)([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b)', - GESHI_REPLACE => '\\1', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '' - ), - // Floating point number - 6 => array( - GESHI_SEARCH => '(\b([0-9]+[Ee][-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFlL]?)', - GESHI_REPLACE => '\\1', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '' - ), - // Octal number - 7 => array( - GESHI_SEARCH => '(\b0[0-7]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b)', - GESHI_REPLACE => '\\1', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '' - ), - // Hex number - 8 => array( - GESHI_SEARCH => '(\b0[xX][0-9a-fA-F]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b)', - GESHI_REPLACE => '\\1', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '' - ), - // Internal variables - 9 => array( - 'ans' - ), - // Reserved constants - // Most of the constants can be used as functions too. Do not highlight - // as constants if followed by parentheses. - 10 => array( - GESHI_SEARCH => '([e|eps|(J|j|I|i)|(Inf|inf)|(NaN|nan)|NA|ones|pi|rand|randn|zeros])(\b(?!(\s)*\())', - GESHI_REPLACE => '\\1', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '' - ), - // Package manager - 11 => array( - GESHI_SEARCH => '((\b)pkg(?!(\s)*\()(\s)+(((un)?install|(un)?load|list|(global|local)_list|describe|prefix|(re)?build)(\b))?)', - GESHI_REPLACE => '\\1', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '' - ), - // Reserved words - 12 => array( - 'break ', 'case ', 'catch ', 'continue ', 'do ', 'else ', - 'elseif ','end_try_catch ', 'end_unwind_protect ', 'endfor ', - 'endfunction ', 'endif ', 'endswitch ', 'endwhile ', 'for ', - 'function ', 'if ','otherwise ', 'return ', 'switch ', 'try ', - 'until ', 'unwind_protect ', 'unwind_protect_cleanup ', 'varargin ', - 'varargout ', 'while ' - ), - // Built in + // Data types + 1 => array( + 'cell', 'char ', 'double ', 'uint8', 'uint16', 'uint32', 'uint64', + 'int8','int16', 'int32', 'int64', 'logical ', 'single ', 'struct ' + ), + //Function handle + 2 => array("@([A-Za-z_][A-Za-z1-9_]*)?"), + // Storage type + 3 => array( + 'global ', 'persistent ', 'static ' + ), + // Boolean + // false and true can be used as functions too. + // Do not highlight as boolean if followed by parentheses. + 4 => array("[false|true](\b(?!(\s)*\()"), + // Decimal + 5 => array("\b([1-9][0-9]*|0)([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), + // Floating point number + 6 => array("\b([0-9]+[Ee][-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFlL]?" + ), + // Octal number + 7 => array("\b0[0-7]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), + // Hex number + 8 => array("\b0[xX][0-9a-fA-F]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), + // Internal variables + 9 => array( + 'ans' + ), + // Reserved constants + // Most of the constants can be used as functions too. Do not highlight + // as constants if followed by parentheses. + 10 => array("[e|eps|(J|j|I|i)|(Inf|inf)|(NaN|nan)|NA|ones|pi|rand|randn|zeros])(\b(?!(\s)*\()"), + // Package manager + 11 => array("(\b)pkg(?!(\s)*\()(\s)+(((un)?install|(un)?load|list|(global|local)_list|describe|prefix|(re)?build)(\b))?"), + // Reserved words + 12 => array( + 'break ', 'case ', 'catch ', 'continue ', 'do ', 'else ', + 'elseif ','end_try_catch ', 'end_unwind_protect ', 'endfor ', + 'endfunction ', 'endif ', 'endswitch ', 'endwhile ', 'for ', + 'function ', 'if ','otherwise ', 'return ', 'switch ', 'try ', + 'until ', 'unwind_protect ', 'unwind_protect_cleanup ', 'varargin ', + 'varargout ', 'while ' + ), + // Built in 13 => array( - 'all','any','exist','is','logical','mislocked', - - 'abs','acos','acosh','acot','acoth','acsc','acsch','airy','angle', - 'ans','area','asec','asech','asin','asinh','atan','atan2','atanh', - 'auread','autumn','auwrite','axes','axis','balance','bar','bar3', - 'bar3h','barh','besselh','besseli','besselj','besselk','Bessely', - 'beta','betainc','betaln','bicg','bicgstab','bin2dec','bitand', - 'bitcmp','bitget','bitmax','bitor','bitset','bitshift','bitxor', - 'blkdiag','bone','box','brighten','builtin','bwcontr','calendar', - 'camdolly','camlight','camlookat','camorbit','campan','campos', - 'camproj','camroll','camtarget','camup','camva','camzoom','capture', - 'cart2pol','cart2sph','cat','caxis','cdf2rdf','ceil','cell', - 'cell2struct','celldisp','cellfun','cellplot','cellstr','cgs', - 'char','chol','cholinc','cholupdate','cla','clabel','class','clc', - 'clf','clg','clock','close','colmmd','colorbar','colorcube', - 'colordef','colormap','colperm','comet','comet3','compan','compass', - 'complex','computer','cond','condeig','condest','coneplot','conj', - 'contour','contourc','contourf','contourslice','contrast','conv', - 'conv2','convhull','cool','copper','copyobj','corrcoef','cos', - 'cosh','cot','coth','cov','cplxpair','cputime','cross','csc','csch', - 'cumprod','cumsum','cumtrapz','cylinder','daspect','date','datenum', - 'datestr','datetick','datevec','dbclear','dbcont','dbdown', - 'dblquad','dbmex','dbquit','dbstack','dbstatus','dbstep','dbstop', - 'dbtype','dbup','deblank','dec2bin','dec2hex','deconv','del2', - 'delaunay','det','diag','dialog','diff','diffuse','dlmread', - 'dlmwrite','dmperm','double','dragrect','drawnow','dsearch','eig', - 'eigs','ellipj','ellipke','eomday','eps','erf','erfc','erfcx', - 'erfiny','error','errorbar','errordlg','etime','eval','evalc', - 'evalin','exp','expint','expm','eye','ezcontour','ezcontourf', - 'ezmesh','ezmeshc','ezplot','ezplot3','ezpolar','ezsurf','ezsurfc', - 'factor','factorial','fclose','feather','feof','ferror','feval', - 'fft','fft2','fftshift','fgetl','fgets','fieldnames','figure', - 'fill','fill3','filter','filter2','find','findfigs','findobj', - 'findstr','fix','flag','flipdim','fliplr','flipud','floor','flops', - 'fmin','fmins','fopen','fplot','fprintf','fread','frewind','fscanf', - 'fseek','ftell','full','funm','fwrite','fzero','gallery','gamma', - 'gammainc','gammaln','gca','gcbo','gcd','gcf','gco','get', - 'getfield','ginput','gmres','gradient','gray','graymon','grid', - 'griddata','gsvd','gtext','hadamard','hankel','hdf','helpdlg', - 'hess','hex2dec','hex2num','hidden','hilb','hist','hold','hot', - 'hsv','hsv2rgb','i','ifft','ifft2','ifftn','ifftshift','imag', - 'image','imfinfo','imread','imwrite','ind2sub','Inf','inferiorto', - 'inline','inpolygon','input','inputdlg','inputname','int16', - 'int2str','int32','int8','interp1','interp2','interp3','interpft', - 'interpn','intersect','inv','invhilb','ipermute','isa','ishandle', - 'ismember','isocaps','isonormals','isosurface','j','jet','keyboard', - 'lcm','legend','legendre','light','lighting','lightingangle', - 'lin2mu','line','lines','linspace','listdlg','loadobj','log', - 'log10','log2','loglog','logm','logspace','lower','lscov','lu', - 'luinc','magic','mat2str','material','max','mean','median','menu', - 'menuedit','mesh','meshc','meshgrid','min','mod','msgbox','mu2lin', - 'NaN','nargchk','nargin','nargout','nchoosek','ndgrid','ndims', - 'newplot','nextpow2','nnls','nnz','nonzeros','norm','normest','now', - 'null','num2cell','num2str','nzmax','ode113,','ode15s,','ode23s,', - 'ode23t,','ode23tb','ode45,','odefile','odeget','odeset','ones', - 'orient','orth','pagedlg','pareto','pascal','patch','pause', - 'pbaspect','pcg','pcolor','peaks','perms','permute','pi','pie', - 'pie3','pinv','plot','plot3','plotmatrix','plotyy','pol2cart', - 'polar','poly','polyarea','polyder','polyeig','polyfit','polyval', - 'polyvalm','pow2','primes','print','printdlg','printopt','prism', - 'prod','propedit','qmr','qr','qrdelete','qrinsert','qrupdate', - 'quad','questdlg','quiver','quiver3','qz','rand','randn','randperm', - 'rank','rat','rats','rbbox','rcond','real','realmax','realmin', - 'rectangle','reducepatch','reducevolume','refresh','rem','repmat', - 'reset','reshape','residue','rgb2hsv','rgbplot','ribbon','rmfield', - 'roots','rose','rot90','rotate','rotate3d','round','rref', - 'rrefmovie','rsf2csf','saveobj','scatter','scatter3','schur', - 'script','sec','sech','selectmoveresize','semilogx','semilogy', - 'set','setdiff','setfield','setxor','shading','shg','shiftdim', - 'shrinkfaces','sign','sin','single','sinh','slice','smooth3','sort', - 'sortrows','sound','soundsc','spalloc','sparse','spconvert', - 'spdiags','specular','speye','spfun','sph2cart','sphere','spinmap', - 'spline','spones','spparms','sprand','sprandn','sprandsym','spring', - 'sprintf','sqrt','sqrtm','squeeze','sscanf','stairs','std','stem', - 'stem3','str2double','str2num','strcat','strcmp','strcmpi', - 'stream2','stream3','streamline','strings','strjust','strmatch', - 'strncmp','strrep','strtok','struct','struct2cell','strvcat', - 'sub2ind','subplot','subspace','subvolume','sum','summer', - 'superiorto','surf','surf2patch','surface','surfc','surfl', - 'surfnorm','svd','svds','symmmd','symrcm','symvar','tan','tanh', - 'texlabel','text Create','textread','textwrap','tic','title','toc', - 'toeplitz','trace','trapz','tril','trimesh','trisurf','triu', - 'tsearch','uicontext Create','uicontextmenu','uicontrol', - 'uigetfile','uimenu','uint32','uint8','uiputfile','uiresume', - 'uisetcolor','uisetfont','uiwait Used','union','unique','unwrap', - 'upper','var','varargin','varargout','vectorize','view','viewmtx', - 'voronoi','waitbar','waitforbuttonpress','warndlg','warning', - 'waterfall','wavread','wavwrite','weekday','whitebg','wilkinson', - 'winter','wk1read','wk1write','xlabel','xlim','ylabel','ylim', - 'zeros','zlabel','zlim','zoom', - - 'addpath','cd','clear','copyfile','delete','diary','dir','disp', - 'doc','docopt','echo','edit','fileparts','format','fullfile','help', - 'helpdesk','helpwin','home','inmem','lasterr','lastwarn','length', - 'load','lookfor','ls','matlabrc','matlabroot','mkdir','mlock', - 'more','munlock','open','openvar','pack','partialpath','path', - 'pathtool','profile','profreport','pwd','quit','rmpath','save', - 'saveas','size','tempdir','tempname','type','ver','version','web', - 'what','whatsnew','which','who','whos','workspace' - ) + 'all','any','exist','is','logical','mislocked', + 'abs','acos','acosh','acot','acoth','acsc','acsch','airy','angle', + 'area','asec','asech','asin','asinh','atan','atan2','atanh', + 'auread','autumn','auwrite','axes','axis','balance','bar','bar3', + 'bar3h','barh','besselh','besseli','besselj','besselk','Bessely', + 'beta','betainc','betaln','bicg','bicgstab','bin2dec','bitand', + 'bitcmp','bitget','bitmax','bitor','bitset','bitshift','bitxor', + 'blkdiag','bone','box','brighten','builtin','bwcontr','calendar', + 'camdolly','camlight','camlookat','camorbit','campan','campos', + 'camproj','camroll','camtarget','camup','camva','camzoom','capture', + 'cart2pol','cart2sph','cat','caxis','cdf2rdf','ceil', + 'cell2struct','celldisp','cellfun','cellplot','cellstr','cgs', + 'char','chol','cholinc','cholupdate','cla','clabel','class','clc', + 'clf','clg','clock','close','colmmd','colorbar','colorcube', + 'colordef','colormap','colperm','comet','comet3','compan','compass', + 'complex','computer','cond','condeig','condest','coneplot','conj', + 'contour','contourc','contourf','contourslice','contrast','conv', + 'conv2','convhull','cool','copper','copyobj','corrcoef','cos', + 'cosh','cot','coth','cov','cplxpair','cputime','cross','csc','csch', + 'cumprod','cumsum','cumtrapz','cylinder','daspect','date','datenum', + 'datestr','datetick','datevec','dbclear','dbcont','dbdown', + 'dblquad','dbmex','dbquit','dbstack','dbstatus','dbstep','dbstop', + 'dbtype','dbup','deblank','dec2bin','dec2hex','deconv','del2', + 'delaunay','det','diag','dialog','diff','diffuse','dlmread', + 'dlmwrite','dmperm','double','dragrect','drawnow','dsearch','eig', + 'eigs','ellipj','ellipke','eomday','eps','erf','erfc','erfcx', + 'erfiny','error','errorbar','errordlg','etime','eval','evalc', + 'evalin','exp','expint','expm','eye','ezcontour','ezcontourf', + 'ezmesh','ezmeshc','ezplot','ezplot3','ezpolar','ezsurf','ezsurfc', + 'factor','factorial','fclose','feather','feof','ferror','feval', + 'fft','fft2','fftshift','fgetl','fgets','fieldnames','figure', + 'fill','fill3','filter','filter2','find','findfigs','findobj', + 'findstr','fix','flag','flipdim','fliplr','flipud','floor','flops', + 'fmin','fmins','fopen','fplot','fprintf','fread','frewind','fscanf', + 'fseek','ftell','full','funm','fwrite','fzero','gallery','gamma', + 'gammainc','gammaln','gca','gcbo','gcd','gcf','gco','get', + 'getfield','ginput','gmres','gradient','gray','graymon','grid', + 'griddata','gsvd','gtext','hadamard','hankel','hdf','helpdlg', + 'hess','hex2dec','hex2num','hidden','hilb','hist','hold','hot', + 'hsv','hsv2rgb','i','ifft','ifft2','ifftn','ifftshift','imag', + 'image','imfinfo','imread','imwrite','ind2sub','Inf','inferiorto', + 'inline','inpolygon','input','inputdlg','inputname', + 'int2str','interp1','interp2','interp3','interpft', + 'interpn','intersect','inv','invhilb','ipermute','isa','ishandle', + 'ismember','isocaps','isonormals','isosurface','j','jet','keyboard', + 'lcm','legend','legendre','light','lighting','lightingangle', + 'lin2mu','line','lines','linspace','listdlg','loadobj','log', + 'log10','log2','loglog','logm','logspace','lower','lscov','lu', + 'luinc','magic','mat2str','material','max','mean','median','menu', + 'menuedit','mesh','meshc','meshgrid','min','mod','msgbox','mu2lin', + 'NaN','nargchk','nargin','nargout','nchoosek','ndgrid','ndims', + 'newplot','nextpow2','nnls','nnz','nonzeros','norm','normest','now', + 'null','num2cell','num2str','nzmax','ode113,','ode15s,','ode23s,', + 'ode23t,','ode23tb','ode45,','odefile','odeget','odeset','ones', + 'orient','orth','pagedlg','pareto','pascal','patch','pause', + 'pbaspect','pcg','pcolor','peaks','perms','permute','pi','pie', + 'pie3','pinv','plot','plot3','plotmatrix','plotyy','pol2cart', + 'polar','poly','polyarea','polyder','polyeig','polyfit','polyval', + 'polyvalm','pow2','primes','print','printdlg','printopt','prism', + 'prod','propedit','qmr','qr','qrdelete','qrinsert','qrupdate', + 'quad','questdlg','quiver','quiver3','qz','rand','randn','randperm', + 'rank','rat','rats','rbbox','rcond','real','realmax','realmin', + 'rectangle','reducepatch','reducevolume','refresh','rem','repmat', + 'reset','reshape','residue','rgb2hsv','rgbplot','ribbon','rmfield', + 'roots','rose','rot90','rotate','rotate3d','round','rref', + 'rrefmovie','rsf2csf','saveobj','scatter','scatter3','schur', + 'script','sec','sech','selectmoveresize','semilogx','semilogy', + 'set','setdiff','setfield','setxor','shading','shg','shiftdim', + 'shrinkfaces','sign','sin','single','sinh','slice','smooth3','sort', + 'sortrows','sound','soundsc','spalloc','sparse','spconvert', + 'spdiags','specular','speye','spfun','sph2cart','sphere','spinmap', + 'spline','spones','spparms','sprand','sprandn','sprandsym','spring', + 'sprintf','sqrt','sqrtm','squeeze','sscanf','stairs','std','stem', + 'stem3','str2double','str2num','strcat','strcmp','strcmpi', + 'stream2','stream3','streamline','strings','strjust','strmatch', + 'strncmp','strrep','strtok','struct','struct2cell','strvcat', + 'sub2ind','subplot','subspace','subvolume','sum','summer', + 'superiorto','surf','surf2patch','surface','surfc','surfl', + 'surfnorm','svd','svds','symmmd','symrcm','symvar','tan','tanh', + 'texlabel','text Create','textread','textwrap','tic','title','toc', + 'toeplitz','trace','trapz','tril','trimesh','trisurf','triu', + 'tsearch','uicontext Create','uicontextmenu','uicontrol', + 'uigetfile','uimenu','uiputfile','uiresume', + 'uisetcolor','uisetfont','uiwait Used','union','unique','unwrap', + 'upper','var','varargin','varargout','vectorize','view','viewmtx', + 'voronoi','waitbar','waitforbuttonpress','warndlg','warning', + 'waterfall','wavread','wavwrite','weekday','whitebg','wilkinson', + 'winter','wk1read','wk1write','xlabel','xlim','ylabel','ylim', + 'zeros','zlabel','zlim','zoom', + 'addpath','cd','clear','copyfile','delete','diary','dir','disp', + 'doc','docopt','echo','edit','fileparts','format','fullfile','help', + 'helpdesk','helpwin','home','inmem','lasterr','lastwarn','length', + 'load','lookfor','ls','matlabrc','matlabroot','mkdir','mlock', + 'more','munlock','open','openvar','pack','partialpath','path', + 'pathtool','profile','profreport','pwd','quit','rmpath','save', + 'saveas','size','tempdir','tempname','type','ver','version','web', + 'what','whatsnew','which','who','whos','workspace' + ) + ), + 'SYMBOLS' => array("((\.)?\+{1,2}?(?!\+) | (\.)?\-{1,2}?(?!\-) | + (\.)?\*{1,2}?(?!\*) | (\.)?\/(?!\^) | + (\.)?\\(?!\^) | (\.)?\^(?!\^) | + (?<=[0-9a-zA-Z_)\]}])(\.)?' | <=? | + >=? | != | ~= | == | <> | + &{1,2}?(?!&) | \|{1,2}?(?!\|) | ! | ~ | + = | : | ...)" ), - 'SYMBOLS' => array( - GESHI_SEARCH => "((\.)?\+{1,2}?(?!\+) | (\.)?\-{1,2}?(?!\-) | - (\.)?\*{1,2}?(?!\*) | (\.)?\/(?!\^) | - (\.)?\\(?!\^) | (\.)?\^(?!\^) | - (?<=[0-9a-zA-Z_)\]}])(\.)?' | <=? | - >=? | != | ~= | == | <> | - &{1,2}?(?!&) | \|{1,2}?(?!\|) | ! | ~ | - = | : | ...)", - GESHI_REPLACE => '\\1', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '' - ), 'CASE_SENSITIVE' => array( GESHI_COMMENTS => false, 1 => false, @@ -281,18 +227,7 @@ ), 'COMMENTS' => array( 1 => 'color: #228B22;', - 2 => 'color:#A020F0;', - 3 => 'color:#A020F0;' - 4 => 'color:#A020F0;' - 5 => 'color:#A020F0;' - 6 => 'color:#A020F0;' - 7 => 'color:#A020F0;' - 8 => 'color:#A020F0;' - 9 => 'color:#A020F0;' - 10 => 'color:#A020F0;' - 11 => 'color:#A020F0;' - 12 => 'color:#A020F0;' - 13 => 'color:#A020F0;' + 2 => 'color:#A020F0;' ), 'ESCAPE_CHAR' => array( 0 => '' @@ -322,22 +257,31 @@ ), 'URLS' => array( 1 => '', - 2 => '' + 2 => '', + 3 => '', + 4 => '', + 5 => '', + 6 => '', + 7 => '', + 8 => '', + 9 => '', + 10 => '', + 11 => '', + 12 => '', + 13 => '' ), -// 'OOLANG' => true, -// 'OBJECT_SPLITTERS' => array( -// 1 => '.', -// 2 => '::' -// ), + 'OOLANG' => true, + 'OBJECT_SPLITTERS' => array( + 1 => '.', + 2 => '::' + ), 'REGEXPS' => array( //Complex numbers 0 => '(?<![\\w\\/])[+-]?[\\d]*([\\d]\\.|\\.[\\d])?[\\d]*[ij](?![\\w]|\<DOT>html)' ), 'STRICT_MODE_APPLIES' => GESHI_NEVER, - 'SCRIPT_DELIMITERS' => array( - ), - 'HIGHLIGHT_STRICT_BLOCK' => array( - ) + 'SCRIPT_DELIMITERS' => array(), + 'HIGHLIGHT_STRICT_BLOCK' => array() ); ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpi...@us...> - 2012-05-22 14:48:38
|
Revision: 10492 http://octave.svn.sourceforge.net/octave/?rev=10492&view=rev Author: jpicarbajal Date: 2012-05-22 14:48:27 +0000 (Tue, 22 May 2012) Log Message: ----------- admin: language file for geshi Modified Paths: -------------- trunk/octave-forge/admin/langfiles/octave.php Modified: trunk/octave-forge/admin/langfiles/octave.php =================================================================== --- trunk/octave-forge/admin/langfiles/octave.php 2012-05-22 14:02:47 UTC (rev 10491) +++ trunk/octave-forge/admin/langfiles/octave.php 2012-05-22 14:48:27 UTC (rev 10492) @@ -57,144 +57,144 @@ 'cell', 'char ', 'double ', 'uint8', 'uint16', 'uint32', 'uint64', 'int8','int16', 'int32', 'int64', 'logical ', 'single ', 'struct ' ), - //Function handle - 2 => array("@([A-Za-z_][A-Za-z1-9_]*)?"), // Storage type - 3 => array( + 2 => array( 'global ', 'persistent ', 'static ' ), + // Internal variables + 3 => array( + 'ans' + ), + // Reserved words + 4 => array( + 'break', 'case', 'catch', 'continue', 'do', 'else', + 'elseif','end_try_catch', 'end_unwind_protect', 'endfor', + 'endfunction', 'endif', 'endswitch', 'endwhile', 'for', + 'function', 'if','otherwise', 'return', 'switch ', 'try', + 'until', 'unwind_protect', 'unwind_protect_cleanup', 'varargin', + 'varargout', 'while' + ), + // Built in + 5 => array( + 'all','any','exist','is','logical','mislocked', + 'abs','acos','acosh','acot','acoth','acsc','acsch','airy','angle', + 'area','asec','asech','asin','asinh','atan','atan2','atanh', + 'auread','autumn','auwrite','axes','axis','balance','bar','bar3', + 'bar3h','barh','besselh','besseli','besselj','besselk','Bessely', + 'beta','betainc','betaln','bicg','bicgstab','bin2dec','bitand', + 'bitcmp','bitget','bitmax','bitor','bitset','bitshift','bitxor', + 'blkdiag','bone','box','brighten','builtin','bwcontr','calendar', + 'camdolly','camlight','camlookat','camorbit','campan','campos', + 'camproj','camroll','camtarget','camup','camva','camzoom','capture', + 'cart2pol','cart2sph','cat','caxis','cdf2rdf','ceil', + 'cell2struct','celldisp','cellfun','cellplot','cellstr','cgs', + 'char','chol','cholinc','cholupdate','cla','clabel','class','clc', + 'clf','clg','clock','close','colmmd','colorbar','colorcube', + 'colordef','colormap','colperm','comet','comet3','compan','compass', + 'complex','computer','cond','condeig','condest','coneplot','conj', + 'contour','contourc','contourf','contourslice','contrast','conv', + 'conv2','convhull','cool','copper','copyobj','corrcoef','cos', + 'cosh','cot','coth','cov','cplxpair','cputime','cross','csc','csch', + 'cumprod','cumsum','cumtrapz','cylinder','daspect','date','datenum', + 'datestr','datetick','datevec','dbclear','dbcont','dbdown', + 'dblquad','dbmex','dbquit','dbstack','dbstatus','dbstep','dbstop', + 'dbtype','dbup','deblank','dec2bin','dec2hex','deconv','del2', + 'delaunay','det','diag','dialog','diff','diffuse','dlmread', + 'dlmwrite','dmperm','double','dragrect','drawnow','dsearch','eig', + 'eigs','ellipj','ellipke','eomday','eps','erf','erfc','erfcx', + 'erfiny','error','errorbar','errordlg','etime','eval','evalc', + 'evalin','exp','expint','expm','eye','ezcontour','ezcontourf', + 'ezmesh','ezmeshc','ezplot','ezplot3','ezpolar','ezsurf','ezsurfc', + 'factor','factorial','fclose','feather','feof','ferror','feval', + 'fft','fft2','fftshift','fgetl','fgets','fieldnames','figure', + 'fill','fill3','filter','filter2','find','findfigs','findobj', + 'findstr','fix','flag','flipdim','fliplr','flipud','floor','flops', + 'fmin','fmins','fopen','fplot','fprintf','fread','frewind','fscanf', + 'fseek','ftell','full','funm','fwrite','fzero','gallery','gamma', + 'gammainc','gammaln','gca','gcbo','gcd','gcf','gco','get', + 'getfield','ginput','gmres','gradient','gray','graymon','grid', + 'griddata','gsvd','gtext','hadamard','hankel','hdf','helpdlg', + 'hess','hex2dec','hex2num','hidden','hilb','hist','hold','hot', + 'hsv','hsv2rgb','i','ifft','ifft2','ifftn','ifftshift','imag', + 'image','imfinfo','imread','imwrite','ind2sub','Inf','inferiorto', + 'inline','inpolygon','input','inputdlg','inputname', + 'int2str','interp1','interp2','interp3','interpft', + 'interpn','intersect','inv','invhilb','ipermute','isa','ishandle', + 'ismember','isocaps','isonormals','isosurface','j','jet','keyboard', + 'lcm','legend','legendre','light','lighting','lightingangle', + 'lin2mu','line','lines','linspace','listdlg','loadobj','log', + 'log10','log2','loglog','logm','logspace','lower','lscov','lu', + 'luinc','magic','mat2str','material','max','mean','median','menu', + 'menuedit','mesh','meshc','meshgrid','min','mod','msgbox','mu2lin', + 'NaN','nargchk','nargin','nargout','nchoosek','ndgrid','ndims', + 'newplot','nextpow2','nnls','nnz','nonzeros','norm','normest','now', + 'null','num2cell','num2str','nzmax','ode113,','ode15s,','ode23s,', + 'ode23t,','ode23tb','ode45,','odefile','odeget','odeset','ones', + 'orient','orth','pagedlg','pareto','pascal','patch','pause', + 'pbaspect','pcg','pcolor','peaks','perms','permute','pi','pie', + 'pie3','pinv','plot','plot3','plotmatrix','plotyy','pol2cart', + 'polar','poly','polyarea','polyder','polyeig','polyfit','polyval', + 'polyvalm','pow2','primes','print','printdlg','printopt','prism', + 'prod','propedit','qmr','qr','qrdelete','qrinsert','qrupdate', + 'quad','questdlg','quiver','quiver3','qz','rand','randn','randperm', + 'rank','rat','rats','rbbox','rcond','real','realmax','realmin', + 'rectangle','reducepatch','reducevolume','refresh','rem','repmat', + 'reset','reshape','residue','rgb2hsv','rgbplot','ribbon','rmfield', + 'roots','rose','rot90','rotate','rotate3d','round','rref', + 'rrefmovie','rsf2csf','saveobj','scatter','scatter3','schur', + 'script','sec','sech','selectmoveresize','semilogx','semilogy', + 'set','setdiff','setfield','setxor','shading','shg','shiftdim', + 'shrinkfaces','sign','sin','single','sinh','slice','smooth3','sort', + 'sortrows','sound','soundsc','spalloc','sparse','spconvert', + 'spdiags','specular','speye','spfun','sph2cart','sphere','spinmap', + 'spline','spones','spparms','sprand','sprandn','sprandsym','spring', + 'sprintf','sqrt','sqrtm','squeeze','sscanf','stairs','std','stem', + 'stem3','str2double','str2num','strcat','strcmp','strcmpi', + 'stream2','stream3','streamline','strings','strjust','strmatch', + 'strncmp','strrep','strtok','struct','struct2cell','strvcat', + 'sub2ind','subplot','subspace','subvolume','sum','summer', + 'superiorto','surf','surf2patch','surface','surfc','surfl', + 'surfnorm','svd','svds','symmmd','symrcm','symvar','tan','tanh', + 'texlabel','text Create','textread','textwrap','tic','title','toc', + 'toeplitz','trace','trapz','tril','trimesh','trisurf','triu', + 'tsearch','uicontext Create','uicontextmenu','uicontrol', + 'uigetfile','uimenu','uiputfile','uiresume', + 'uisetcolor','uisetfont','uiwait Used','union','unique','unwrap', + 'upper','var','varargin','varargout','vectorize','view','viewmtx', + 'voronoi','waitbar','waitforbuttonpress','warndlg','warning', + 'waterfall','wavread','wavwrite','weekday','whitebg','wilkinson', + 'winter','wk1read','wk1write','xlabel','xlim','ylabel','ylim', + 'zeros','zlabel','zlim','zoom', + 'addpath','cd','clear','copyfile','delete','diary','dir','disp', + 'doc','docopt','echo','edit','fileparts','format','fullfile','help', + 'helpdesk','helpwin','home','inmem','lasterr','lastwarn','length', + 'load','lookfor','ls','matlabrc','matlabroot','mkdir','mlock', + 'more','munlock','open','openvar','pack','partialpath','path', + 'pathtool','profile','profreport','pwd','quit','rmpath','save', + 'saveas','size','tempdir','tempname','type','ver','version','web', + 'what','whatsnew','which','who','whos','workspace' + ), + //Function handle + 6 => array("@([A-Za-z_][A-Za-z1-9_]*)?"), // Boolean // false and true can be used as functions too. // Do not highlight as boolean if followed by parentheses. - 4 => array("[false|true](\b(?!(\s)*\()"), + 7 => array("\b([false|true])(\b(?!(\s)*\()"), // Decimal - 5 => array("\b([1-9][0-9]*|0)([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), + 8 => array("\b([1-9][0-9]*|0)([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), // Floating point number - 6 => array("\b([0-9]+[Ee][-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFlL]?" + 9 => array("\b([0-9]+[Ee][-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFlL]?" ), // Octal number - 7 => array("\b0[0-7]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), + 10 => array("\b0[0-7]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), // Hex number - 8 => array("\b0[xX][0-9a-fA-F]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), - // Internal variables - 9 => array( - 'ans' - ), + 11 => array("\b0[xX][0-9a-fA-F]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), // Reserved constants // Most of the constants can be used as functions too. Do not highlight // as constants if followed by parentheses. - 10 => array("[e|eps|(J|j|I|i)|(Inf|inf)|(NaN|nan)|NA|ones|pi|rand|randn|zeros])(\b(?!(\s)*\()"), + 12 => array("[e|eps|(J|j|I|i)|(Inf|inf)|(NaN|nan)|NA|ones|pi|rand|randn|zeros])(\b(?!(\s)*\()"), // Package manager - 11 => array("(\b)pkg(?!(\s)*\()(\s)+(((un)?install|(un)?load|list|(global|local)_list|describe|prefix|(re)?build)(\b))?"), - // Reserved words - 12 => array( - 'break ', 'case ', 'catch ', 'continue ', 'do ', 'else ', - 'elseif ','end_try_catch ', 'end_unwind_protect ', 'endfor ', - 'endfunction ', 'endif ', 'endswitch ', 'endwhile ', 'for ', - 'function ', 'if ','otherwise ', 'return ', 'switch ', 'try ', - 'until ', 'unwind_protect ', 'unwind_protect_cleanup ', 'varargin ', - 'varargout ', 'while ' - ), - // Built in - 13 => array( - 'all','any','exist','is','logical','mislocked', - 'abs','acos','acosh','acot','acoth','acsc','acsch','airy','angle', - 'area','asec','asech','asin','asinh','atan','atan2','atanh', - 'auread','autumn','auwrite','axes','axis','balance','bar','bar3', - 'bar3h','barh','besselh','besseli','besselj','besselk','Bessely', - 'beta','betainc','betaln','bicg','bicgstab','bin2dec','bitand', - 'bitcmp','bitget','bitmax','bitor','bitset','bitshift','bitxor', - 'blkdiag','bone','box','brighten','builtin','bwcontr','calendar', - 'camdolly','camlight','camlookat','camorbit','campan','campos', - 'camproj','camroll','camtarget','camup','camva','camzoom','capture', - 'cart2pol','cart2sph','cat','caxis','cdf2rdf','ceil', - 'cell2struct','celldisp','cellfun','cellplot','cellstr','cgs', - 'char','chol','cholinc','cholupdate','cla','clabel','class','clc', - 'clf','clg','clock','close','colmmd','colorbar','colorcube', - 'colordef','colormap','colperm','comet','comet3','compan','compass', - 'complex','computer','cond','condeig','condest','coneplot','conj', - 'contour','contourc','contourf','contourslice','contrast','conv', - 'conv2','convhull','cool','copper','copyobj','corrcoef','cos', - 'cosh','cot','coth','cov','cplxpair','cputime','cross','csc','csch', - 'cumprod','cumsum','cumtrapz','cylinder','daspect','date','datenum', - 'datestr','datetick','datevec','dbclear','dbcont','dbdown', - 'dblquad','dbmex','dbquit','dbstack','dbstatus','dbstep','dbstop', - 'dbtype','dbup','deblank','dec2bin','dec2hex','deconv','del2', - 'delaunay','det','diag','dialog','diff','diffuse','dlmread', - 'dlmwrite','dmperm','double','dragrect','drawnow','dsearch','eig', - 'eigs','ellipj','ellipke','eomday','eps','erf','erfc','erfcx', - 'erfiny','error','errorbar','errordlg','etime','eval','evalc', - 'evalin','exp','expint','expm','eye','ezcontour','ezcontourf', - 'ezmesh','ezmeshc','ezplot','ezplot3','ezpolar','ezsurf','ezsurfc', - 'factor','factorial','fclose','feather','feof','ferror','feval', - 'fft','fft2','fftshift','fgetl','fgets','fieldnames','figure', - 'fill','fill3','filter','filter2','find','findfigs','findobj', - 'findstr','fix','flag','flipdim','fliplr','flipud','floor','flops', - 'fmin','fmins','fopen','fplot','fprintf','fread','frewind','fscanf', - 'fseek','ftell','full','funm','fwrite','fzero','gallery','gamma', - 'gammainc','gammaln','gca','gcbo','gcd','gcf','gco','get', - 'getfield','ginput','gmres','gradient','gray','graymon','grid', - 'griddata','gsvd','gtext','hadamard','hankel','hdf','helpdlg', - 'hess','hex2dec','hex2num','hidden','hilb','hist','hold','hot', - 'hsv','hsv2rgb','i','ifft','ifft2','ifftn','ifftshift','imag', - 'image','imfinfo','imread','imwrite','ind2sub','Inf','inferiorto', - 'inline','inpolygon','input','inputdlg','inputname', - 'int2str','interp1','interp2','interp3','interpft', - 'interpn','intersect','inv','invhilb','ipermute','isa','ishandle', - 'ismember','isocaps','isonormals','isosurface','j','jet','keyboard', - 'lcm','legend','legendre','light','lighting','lightingangle', - 'lin2mu','line','lines','linspace','listdlg','loadobj','log', - 'log10','log2','loglog','logm','logspace','lower','lscov','lu', - 'luinc','magic','mat2str','material','max','mean','median','menu', - 'menuedit','mesh','meshc','meshgrid','min','mod','msgbox','mu2lin', - 'NaN','nargchk','nargin','nargout','nchoosek','ndgrid','ndims', - 'newplot','nextpow2','nnls','nnz','nonzeros','norm','normest','now', - 'null','num2cell','num2str','nzmax','ode113,','ode15s,','ode23s,', - 'ode23t,','ode23tb','ode45,','odefile','odeget','odeset','ones', - 'orient','orth','pagedlg','pareto','pascal','patch','pause', - 'pbaspect','pcg','pcolor','peaks','perms','permute','pi','pie', - 'pie3','pinv','plot','plot3','plotmatrix','plotyy','pol2cart', - 'polar','poly','polyarea','polyder','polyeig','polyfit','polyval', - 'polyvalm','pow2','primes','print','printdlg','printopt','prism', - 'prod','propedit','qmr','qr','qrdelete','qrinsert','qrupdate', - 'quad','questdlg','quiver','quiver3','qz','rand','randn','randperm', - 'rank','rat','rats','rbbox','rcond','real','realmax','realmin', - 'rectangle','reducepatch','reducevolume','refresh','rem','repmat', - 'reset','reshape','residue','rgb2hsv','rgbplot','ribbon','rmfield', - 'roots','rose','rot90','rotate','rotate3d','round','rref', - 'rrefmovie','rsf2csf','saveobj','scatter','scatter3','schur', - 'script','sec','sech','selectmoveresize','semilogx','semilogy', - 'set','setdiff','setfield','setxor','shading','shg','shiftdim', - 'shrinkfaces','sign','sin','single','sinh','slice','smooth3','sort', - 'sortrows','sound','soundsc','spalloc','sparse','spconvert', - 'spdiags','specular','speye','spfun','sph2cart','sphere','spinmap', - 'spline','spones','spparms','sprand','sprandn','sprandsym','spring', - 'sprintf','sqrt','sqrtm','squeeze','sscanf','stairs','std','stem', - 'stem3','str2double','str2num','strcat','strcmp','strcmpi', - 'stream2','stream3','streamline','strings','strjust','strmatch', - 'strncmp','strrep','strtok','struct','struct2cell','strvcat', - 'sub2ind','subplot','subspace','subvolume','sum','summer', - 'superiorto','surf','surf2patch','surface','surfc','surfl', - 'surfnorm','svd','svds','symmmd','symrcm','symvar','tan','tanh', - 'texlabel','text Create','textread','textwrap','tic','title','toc', - 'toeplitz','trace','trapz','tril','trimesh','trisurf','triu', - 'tsearch','uicontext Create','uicontextmenu','uicontrol', - 'uigetfile','uimenu','uiputfile','uiresume', - 'uisetcolor','uisetfont','uiwait Used','union','unique','unwrap', - 'upper','var','varargin','varargout','vectorize','view','viewmtx', - 'voronoi','waitbar','waitforbuttonpress','warndlg','warning', - 'waterfall','wavread','wavwrite','weekday','whitebg','wilkinson', - 'winter','wk1read','wk1write','xlabel','xlim','ylabel','ylim', - 'zeros','zlabel','zlim','zoom', - 'addpath','cd','clear','copyfile','delete','diary','dir','disp', - 'doc','docopt','echo','edit','fileparts','format','fullfile','help', - 'helpdesk','helpwin','home','inmem','lasterr','lastwarn','length', - 'load','lookfor','ls','matlabrc','matlabroot','mkdir','mlock', - 'more','munlock','open','openvar','pack','partialpath','path', - 'pathtool','profile','profreport','pwd','quit','rmpath','save', - 'saveas','size','tempdir','tempname','type','ver','version','web', - 'what','whatsnew','which','who','whos','workspace' - ) + 13 => array("(\b)pkg(?!(\s)*\()(\s)+(((un)?install|(un)?load|list|(global|local)_list|describe|prefix|(re)?build)(\b))?") ), 'SYMBOLS' => array("((\.)?\+{1,2}?(?!\+) | (\.)?\-{1,2}?(?!\-) | (\.)?\*{1,2}?(?!\*) | (\.)?\/(?!\^) | @@ -222,12 +222,16 @@ ), 'STYLES' => array( 'KEYWORDS' => array( - 1 => 'color: #0000FF;', - 2 => 'color: #0000FF;' + 1 => 'color: #2E8B57; font-weight:bold;', // Data types + 2 => 'color: #2E8B57; font-weight:bold;', // Storage type + 3 => 'color: #0000FF;', // Internal variable + 4 => 'color: #FF0000; font-weight:bold;', // Reserved words + 5 => 'color: #008A8C;' // Built-in ), 'COMMENTS' => array( - 1 => 'color: #228B22;', - 2 => 'color:#A020F0;' + 1 => 'color: #0000FF; font-style: italic;', + 2 => 'color: #0000FF; font-style: italic;', + 'MULTI' => 'color: #0000FF; font-style: italic;' ), 'ESCAPE_CHAR' => array( 0 => '' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpi...@us...> - 2012-05-22 14:49:47
|
Revision: 10493 http://octave.svn.sourceforge.net/octave/?rev=10493&view=rev Author: jpicarbajal Date: 2012-05-22 14:49:36 +0000 (Tue, 22 May 2012) Log Message: ----------- admin: language file for geshi Modified Paths: -------------- trunk/octave-forge/admin/langfiles/octave.php Modified: trunk/octave-forge/admin/langfiles/octave.php =================================================================== --- trunk/octave-forge/admin/langfiles/octave.php 2012-05-22 14:48:27 UTC (rev 10492) +++ trunk/octave-forge/admin/langfiles/octave.php 2012-05-22 14:49:36 UTC (rev 10493) @@ -224,7 +224,7 @@ 'KEYWORDS' => array( 1 => 'color: #2E8B57; font-weight:bold;', // Data types 2 => 'color: #2E8B57; font-weight:bold;', // Storage type - 3 => 'color: #0000FF;', // Internal variable + 3 => 'color: #0000FF; font-weight:bold;', // Internal variable 4 => 'color: #FF0000; font-weight:bold;', // Reserved words 5 => 'color: #008A8C;' // Built-in ), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpi...@us...> - 2012-05-22 14:51:25
|
Revision: 10494 http://octave.svn.sourceforge.net/octave/?rev=10494&view=rev Author: jpicarbajal Date: 2012-05-22 14:51:19 +0000 (Tue, 22 May 2012) Log Message: ----------- admin: language file for geshi Modified Paths: -------------- trunk/octave-forge/admin/langfiles/octave.php Modified: trunk/octave-forge/admin/langfiles/octave.php =================================================================== --- trunk/octave-forge/admin/langfiles/octave.php 2012-05-22 14:49:36 UTC (rev 10493) +++ trunk/octave-forge/admin/langfiles/octave.php 2012-05-22 14:51:19 UTC (rev 10494) @@ -225,7 +225,7 @@ 1 => 'color: #2E8B57; font-weight:bold;', // Data types 2 => 'color: #2E8B57; font-weight:bold;', // Storage type 3 => 'color: #0000FF; font-weight:bold;', // Internal variable - 4 => 'color: #FF0000; font-weight:bold;', // Reserved words + 4 => 'color: #990000; font-weight:bold;', // Reserved words 5 => 'color: #008A8C;' // Built-in ), 'COMMENTS' => array( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpi...@us...> - 2012-05-22 15:24:52
|
Revision: 10495 http://octave.svn.sourceforge.net/octave/?rev=10495&view=rev Author: jpicarbajal Date: 2012-05-22 15:24:41 +0000 (Tue, 22 May 2012) Log Message: ----------- admin: language file for geshi Modified Paths: -------------- trunk/octave-forge/admin/langfiles/octave.php Modified: trunk/octave-forge/admin/langfiles/octave.php =================================================================== --- trunk/octave-forge/admin/langfiles/octave.php 2012-05-22 14:51:19 UTC (rev 10494) +++ trunk/octave-forge/admin/langfiles/octave.php 2012-05-22 15:24:41 UTC (rev 10495) @@ -174,27 +174,183 @@ 'saveas','size','tempdir','tempname','type','ver','version','web', 'what','whatsnew','which','who','whos','workspace' ), + // Octave functions Function __list_functions__ lists them all + 6 => array( + '__all_opts__', '__contourc__', '__delaunayn__', '__dispatch__', + '__dsearchn__', '__error_text__', '__finish__', '__fltk_uigetfile__', + '__glpk__', '__gnuplot_drawnow__', '__init_fltk__', '__init_gnuplot__', + '__lin_interpn__', '__magick_read__', '__makeinfo__', '__pchip_deriv__', + '__plt_get_axis_arg__', '__qp__', '__voronoi__', 'accumarray', 'accumdim', + 'acosd', 'acot', 'acotd', 'acoth', 'acsc', 'acscd', 'acsch', 'addpref', + 'addtodate', 'allchild', 'amd', 'ancestor', 'anova', 'ans', 'arch_fit', + 'arch_rnd', 'arch_test', 'area', 'arma_rnd', 'asctime', 'asec', 'asecd', + 'asech', 'asind', 'assert', 'atand', 'autocor', 'autocov', 'autoreg_matrix', + 'autumn', 'axes', 'axis', 'balance', 'bar', 'barh', 'bartlett', + 'bartlett_test', 'base2dec', 'beep', 'bessel', 'besselj', 'beta', 'betacdf', + 'betai', 'betainc', 'betainv', 'betaln', 'betapdf', 'betarnd', 'bicg', + 'bicgstab', 'bicubic', 'bin2dec', 'bincoeff', 'binocdf', 'binoinv', + 'binopdf', 'binornd', 'bitcmp', 'bitget', 'bitset', 'blackman', 'blanks', + 'blkdiag', 'bone', 'box', 'brighten', 'bsxfun', 'bug_report', 'bunzip2', + 'bzip2', 'calendar', 'cart2pol', 'cart2sph', 'cast', 'cauchy_cdf', + 'cauchy_inv', 'cauchy_pdf', 'cauchy_rnd', 'caxis', 'ccolamd', 'cell2mat', + 'celldisp', 'cellfun', 'cellidx', 'center', 'cgs', 'chi2cdf', 'chi2inv', + 'chi2pdf', 'chi2rnd', 'chisquare_test_homogeneity', + 'chisquare_test_independence', 'chol', 'chop', 'circshift', 'cla', 'clabel', + 'clf', 'clg', 'clock', 'cloglog', 'close', 'closereq', 'colamd', 'colloc', + 'colon', 'colorbar', 'colormap', 'colperm', 'colstyle', 'comet', 'comet3', + 'comma', 'common_size', 'commutation_matrix', 'compan', 'compare_versions', + 'compass', 'computer', 'cond', 'condest', 'contour', 'contour3', 'contourc', + 'contourf', 'contrast', 'conv', 'conv2', 'convhull', 'convhulln', 'cool', + 'copper', 'copyfile', 'cor', 'cor_test', 'corr', 'corrcoef', 'cosd', 'cot', + 'cotd', 'coth', 'cov', 'cplxpair', 'cquad', 'cross', 'csc', 'cscd', 'csch', + 'cstrcat', 'csvread', 'csvwrite', 'ctime', 'cumtrapz', 'curl', 'cut', + 'cylinder', 'daspect', 'daspk', 'dasrt', 'dassl', 'date', 'datenum', + 'datestr', 'datetick', 'datevec', 'dblquad', 'deal', 'deblank', 'debug', + 'dec2base', 'dec2bin', 'dec2hex', 'deconv', 'del2', 'delaunay', 'delaunay3', + 'delaunayn', 'delete', 'demo', 'det', 'detrend', 'diffpara', 'diffuse', + 'dir', 'discrete_cdf', 'discrete_inv', 'discrete_pdf', 'discrete_rnd', + 'dispatch', 'display', 'divergence', 'dlmread', 'dlmwrite', 'dmperm', 'doc', + 'dos', 'dot', 'dsearch', 'dsearchn', 'dump_prefs', 'duplication_matrix', + 'durbinlevinson', 'edit', 'eig', 'eigs', 'ellipsoid', 'empirical_cdf', + 'empirical_inv', 'empirical_pdf', 'empirical_rnd', 'eomday', 'error_text', + 'errorbar', 'etime', 'etreeplot', 'example', 'expcdf', 'expinv', 'expm', + 'exppdf', 'exprnd', 'ezcontour', 'ezcontourf', 'ezmesh', 'ezmeshc', + 'ezplot', 'ezplot3', 'ezpolar', 'ezsurf', 'ezsurfc', 'f_test_regression', + 'fact', 'factor', 'factorial', 'fail', 'fcdf', 'feather', 'fft', 'fft2', + 'fftconv', 'fftfilt', 'fftn', 'fftshift', 'fftw', 'figure', 'fileattrib', + 'fileparts', 'fileread', 'fill', 'filter', 'filter2', 'find', 'findall', + 'findobj', 'findstr', 'finv', 'flag', 'flipdim', 'fliplr', 'flipud', + 'fminbnd', 'fminunc', 'fpdf', 'fplot', 'fractdiff', 'freqz', 'freqz_plot', + 'frnd', 'fsolve', 'fstat', 'fullfile', 'fzero', 'gamcdf', 'gaminv', + 'gammai', 'gammainc', 'gampdf', 'gamrnd', 'gca', 'gcbf', 'gcbo', 'gcd', + 'gcf', 'gen_doc_cache', 'genvarname', 'geocdf', 'geoinv', 'geopdf', + 'geornd', 'get_first_help_sentence', 'getappdata', 'getfield', 'getgrent', + 'getpref', 'getpwent', 'getrusage', 'ginput', 'givens', 'glpk', 'glpkmex', + 'gls', 'gmap40', 'gmres', 'gnuplot_binary', 'gplot', 'gradient', + 'graphics_toolkit', 'gray', 'gray2ind', 'grid', 'griddata', 'griddata3', + 'griddatan', 'gtext', 'guidata', 'guihandles', 'gunzip', 'gzip', 'hadamard', + 'hamming', 'hankel', 'hanning', 'help', 'hess', 'hex2dec', 'hex2num', + 'hggroup', 'hidden', 'hilb', 'hist', 'histc', 'hold', 'hot', + 'hotelling_test', 'hotelling_test_2', 'housh', 'hsv', 'hsv2rgb', 'hurst', + 'hygecdf', 'hygeinv', 'hygepdf', 'hygernd', 'idivide', 'ifftshift', 'image', + 'imagesc', 'imfinfo', 'imread', 'imshow', 'imwrite', 'ind2gray', 'ind2rgb', + 'index', 'info', 'inpolygon', 'inputname', 'int2str', 'interp1', 'interp1q', + 'interp2', 'interp3', 'interpft', 'interpn', 'intersect', 'intwarning', + 'inv', 'invhilb', 'iqr', 'is_duplicate_entry', 'is_global', 'is_leap_year', + 'is_valid_file_id', 'isa', 'isappdata', 'iscolumn', 'isdefinite', + 'isdeployed', 'isdir', 'isequal', 'isequalwithequalnans', 'isfigure', + 'ishermitian', 'ishghandle', 'ishold', 'isletter', 'ismac', 'ismember', + 'isocolors', 'isonormals', 'isosurface', 'ispc', 'ispref', 'isprime', + 'isprop', 'isrow', 'isscalar', 'issquare', 'isstr', 'isstrprop', + 'issymmetric', 'isunix', 'isvector', 'jet', 'kendall', + 'kolmogorov_smirnov_cdf', 'kolmogorov_smirnov_test', + 'kolmogorov_smirnov_test_2', 'kron', 'kruskal_wallis_test', 'krylov', + 'krylovb', 'kurtosis', 'laplace_cdf', 'laplace_inv', 'laplace_pdf', + 'laplace_rnd', 'lcm', 'legend', 'legendre', 'license', 'lin2mu', 'line', + 'linkprop', 'list_primes', 'loadaudio', 'loadobj', 'logistic_cdf', + 'logistic_inv', 'logistic_pdf', 'logistic_regression', 'logistic_rnd', + 'logit', 'loglog', 'loglogerr', 'logm', 'logncdf', 'logninv', 'lognpdf', + 'lognrnd', 'logspace', 'lookfor', 'lookup', 'ls', 'ls_command', 'lsode', + 'lsqnonneg', 'lu', 'luinc', 'magic', 'mahalanobis', 'manova', 'mat2str', + 'matlabroot', 'matrix_type', 'max', 'mcnemar_test', 'md5sum', 'mean', + 'meansq', 'median', 'menu', 'mesh', 'meshc', 'meshgrid', 'meshz', 'mex', + 'mexext', 'mgorth', 'mkoctfile', 'mkpp', 'mode', 'moment', 'movefile', + 'mpoles', 'mu2lin', 'namelengthmax', 'nargchk', 'narginchk', 'nargoutchk', + 'nbincdf', 'nbininv', 'nbinpdf', 'nbinrnd', 'nchoosek', 'ndgrid', 'newplot', + 'news', 'nextpow2', 'nonzeros', 'normcdf', 'normest', 'norminv', 'normpdf', + 'normrnd', 'now', 'nproc', 'nthargout', 'nthroot', 'ntsc2rgb', 'null', + 'num2str', 'ocean', 'ols', 'onenormest', 'optimget', 'optimset', + 'orderfields', 'orient', 'orth', 'pack', 'paren', 'pareto', 'parseparams', + 'pascal', 'patch', 'pathdef', 'pbaspect', 'pcg', 'pchip', 'pcolor', 'pcr', + 'peaks', 'periodogram', 'perl', 'perms', 'perror', 'pie', 'pie3', 'pink', + 'pinv', 'pkg', 'planerot', 'playaudio', 'plot', 'plot3', 'plotmatrix', + 'plotyy', 'poisscdf', 'poissinv', 'poisspdf', 'poissrnd', 'pol2cart', + 'polar', 'poly', 'polyaffine', 'polyarea', 'polyder', 'polyderiv', + 'polyfit', 'polygcd', 'polyint', 'polyout', 'polyreduce', 'polyval', + 'polyvalm', 'postpad', 'pow2', 'powerset', 'ppder', 'ppint', 'ppjumps', + 'ppplot', 'ppval', 'pqpnonneg', 'prctile', 'prepad', 'primes', 'print', + 'print_usage', 'prism', 'probit', 'profexplore', 'profile', 'profshow', + 'prop_test_2', 'python', 'qp', 'qqplot', 'qr', 'quad', 'quadcc', 'quadgk', + 'quadl', 'quadv', 'quantile', 'quiver', 'quiver3', 'qz', 'qzhess', + 'rainbow', 'rand', 'randi', 'range', 'rank', 'ranks', 'rat', 'rcond', + 'reallog', 'realpow', 'realsqrt', 'record', 'rectangle', 'rectint', + 'recycle', 'refresh', 'refreshdata', 'regexp', 'regexptranslate', + 'releasePKG', 'replot', 'repmat', 'residue', 'rgb2hsv', 'rgb2ind', + 'rgb2ntsc', 'ribbon', 'rindex', 'rmappdata', 'rmpref', 'roots', 'rose', + 'rosser', 'rot90', 'rotdim', 'rref', 'run', 'run_count', 'run_test', + 'rundemos', 'runlength', 'runtests', 'saveas', 'saveaudio', 'saveimage', + 'saveobj', 'savepath', 'scatter', 'scatter3', 'schur', 'sec', 'secd', + 'sech', 'semicolon', 'semilogx', 'semilogxerr', 'semilogy', 'semilogyerr', + 'setappdata', 'setaudio', 'setdiff', 'setfield', 'setpref', 'setstr', + 'setxor', 'shading', 'shell_cmd', 'shg', 'shift', 'shiftdim', 'sign_test', + 'sinc', 'sind', 'sinetone', 'sinewave', 'skewness', 'slice', 'sombrero', + 'sortrows', 'spaugment', 'spconvert', 'spdiags', 'spearman', 'spectral_adf', + 'spectral_xdf', 'specular', 'speed', 'spencer', 'speye', 'spfun', + 'sph2cart', 'sphere', 'spinmap', 'spline', 'spones', 'spparms', 'sprand', + 'sprandn', 'sprandsym', 'spring', 'spstats', 'spy', 'sqp', 'sqrtm', + 'stairs', 'statistics', 'std', 'stdnormal_cdf', 'stdnormal_inv', + 'stdnormal_pdf', 'stdnormal_rnd', 'stem', 'stem3', 'stft', 'str2double', + 'str2num', 'strcat', 'strchr', 'strerror', 'strfind', 'strjust', 'strmatch', + 'strread', 'strsplit', 'strtok', 'strtrim', 'strtrunc', 'structfun', + 'studentize', 'sub2ind', 'subplot', 'subsindex', 'subspace', 'substr', + 'substruct', 'summer', 'surf', 'surface', 'surfc', 'surfl', 'surfnorm', + 'svd', 'svds', 'swapbytes', 'syl', 'sylvester_matrix', 'symbfact', 'symrcm', + 'symvar', 'synthesis', 't_test', 't_test_2', 't_test_regression', 'table', + 'tand', 'tar', 'tcdf', 'tempdir', 'tempname', 'test', 'text', 'textread', + 'textscan', 'time', 'tinv', 'title', 'toeplitz', 'tpdf', 'trace', 'trapz', + 'treelayout', 'treeplot', 'tril', 'trimesh', 'triplequad', 'triplot', + 'trisurf', 'trnd', 'tsearch', 'tsearchn', 'type', 'typecast', 'u_test', + 'uicontextmenu', 'uicontrol', 'uigetdir', 'uigetfile', 'uimenu', 'uipanel', + 'uipushtool', 'uiputfile', 'uiresume', 'uitoggletool', 'uitoolbar', + 'uiwait', 'unidcdf', 'unidinv', 'unidpdf', 'unidrnd', 'unifcdf', 'unifinv', + 'unifpdf', 'unifrnd', 'unimplemented', 'union', 'unique', 'unix', 'unmkpp', + 'unpack', 'untabify', 'untar', 'unwrap', 'unzip', 'urlwrite', 'usejava', + 'validatestring', 'values', 'vander', 'var', 'var_test', 'vech', 'ver', + 'version', 'view', 'voronoi', 'voronoin', 'waitbar', 'waitforbuttonpress', + 'warning_ids', 'wavread', 'wavwrite', 'wblcdf', 'wblinv', 'wblpdf', + 'wblrnd', 'weekday', 'weibcdf', 'weibinv', 'weibpdf', 'weibrnd', + 'welch_test', 'what', 'which', 'white', 'whitebg', 'wienrnd', + 'wilcoxon_test', 'wilkinson', 'winter', 'xlabel', 'xlim', 'xor', 'ylabel', + 'ylim', 'yulewalker', 'z_test', 'z_test_2', 'zip', 'zlabel', 'zlim', + 'zscore', '__fltk_maxtime__', '__fltk_redraw__', '__ftp__', '__ftp_ascii__', + '__ftp_binary__', '__ftp_close__', '__ftp_cwd__', '__ftp_delete__', + '__ftp_dir__', '__ftp_mget__', '__ftp_mkdir__', '__ftp_mode__', + '__ftp_mput__', '__ftp_pwd__', '__ftp_rename__', '__ftp_rmdir__', + '__magick_finfo__', '__magick_format_list__', '__magick_write__', 'airy', + 'arrayfun', 'besselh', 'besseli', 'besselk', 'bessely', 'bitpack', + 'bitunpack', 'blkmm', 'cellindexmat', 'cellslices', 'chol2inv', + 'choldelete', 'cholinsert', 'cholinv', 'cholshift', 'cholupdate', 'convn', + 'csymamd', 'cummax', 'cummin', 'daspk_options', 'dasrt_options', + 'dassl_options', 'endgrent', 'endpwent', 'etree', 'getgrgid', 'getgrnam', + 'getpwnam', 'getpwuid', 'gmtime', 'gui_mode', 'ifft', 'ifft2', 'ifftn', + 'ind2sub', 'inverse', 'localtime', 'lsode_options', 'luupdate', 'mat2cell', + 'min', 'mktime', 'mouse_wheel_zoom', 'num2cell', 'num2hex', 'qrdelete', + 'qrinsert', 'qrshift', 'qrupdate', 'quad_options', 'rande', 'randg', + 'randn', 'randp', 'randperm', 'regexpi', 'regexprep', 'rsf2csf', 'setgrent', + 'setpwent', 'sprank', 'strftime', 'strptime', 'strrep', 'svd_driver', + 'symamd', 'triu', 'urlread' + ), //Function handle - 6 => array("@([A-Za-z_][A-Za-z1-9_]*)?"), + 7 => array("@([A-Za-z_][A-Za-z1-9_]*)?"), // Boolean // false and true can be used as functions too. // Do not highlight as boolean if followed by parentheses. - 7 => array("\b([false|true])(\b(?!(\s)*\()"), + 8 => array("\b([false|true])(\b(?!(\s)*\()"), // Decimal - 8 => array("\b([1-9][0-9]*|0)([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), + 9 => array("\b([1-9][0-9]*|0)([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), // Floating point number - 9 => array("\b([0-9]+[Ee][-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFlL]?" + 10 => array("\b([0-9]+[Ee][-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFlL]?" ), // Octal number - 10 => array("\b0[0-7]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), + 11 => array("\b0[0-7]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), // Hex number - 11 => array("\b0[xX][0-9a-fA-F]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), + 12 => array("\b0[xX][0-9a-fA-F]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), // Reserved constants // Most of the constants can be used as functions too. Do not highlight // as constants if followed by parentheses. - 12 => array("[e|eps|(J|j|I|i)|(Inf|inf)|(NaN|nan)|NA|ones|pi|rand|randn|zeros])(\b(?!(\s)*\()"), + 13 => array("[e|eps|(J|j|I|i)|(Inf|inf)|(NaN|nan)|NA|ones|pi|rand|randn|zeros])(\b(?!(\s)*\()"), // Package manager - 13 => array("(\b)pkg(?!(\s)*\()(\s)+(((un)?install|(un)?load|list|(global|local)_list|describe|prefix|(re)?build)(\b))?") + 14 => array("(\b)pkg(?!(\s)*\()(\s)+(((un)?install|(un)?load|list|(global|local)_list|describe|prefix|(re)?build)(\b))?") ), 'SYMBOLS' => array("((\.)?\+{1,2}?(?!\+) | (\.)?\-{1,2}?(?!\-) | (\.)?\*{1,2}?(?!\*) | (\.)?\/(?!\^) | @@ -218,7 +374,8 @@ 10 => false, 11 => false, 12 => false, - 13 => false + 13 => false, + 14 => false ), 'STYLES' => array( 'KEYWORDS' => array( @@ -226,7 +383,8 @@ 2 => 'color: #2E8B57; font-weight:bold;', // Storage type 3 => 'color: #0000FF; font-weight:bold;', // Internal variable 4 => 'color: #990000; font-weight:bold;', // Reserved words - 5 => 'color: #008A8C;' // Built-in + 5 => 'color: #008A8C; font-weight:bold;', // Built-in + 6 => 'color: #33CC33;' // Octave functions ), 'COMMENTS' => array( 1 => 'color: #0000FF; font-style: italic;', @@ -272,7 +430,8 @@ 10 => '', 11 => '', 12 => '', - 13 => '' + 13 => '', + 14 => '' ), 'OOLANG' => true, 'OBJECT_SPLITTERS' => array( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpi...@us...> - 2012-05-23 12:18:20
|
Revision: 10501 http://octave.svn.sourceforge.net/octave/?rev=10501&view=rev Author: jpicarbajal Date: 2012-05-23 12:18:13 +0000 (Wed, 23 May 2012) Log Message: ----------- admin: lang files Modified Paths: -------------- trunk/octave-forge/admin/langfiles/octave.php Modified: trunk/octave-forge/admin/langfiles/octave.php =================================================================== --- trunk/octave-forge/admin/langfiles/octave.php 2012-05-23 09:50:30 UTC (rev 10500) +++ trunk/octave-forge/admin/langfiles/octave.php 2012-05-23 12:18:13 UTC (rev 10501) @@ -67,299 +67,334 @@ ), // Reserved words 4 => array( - 'break', 'case', 'catch', 'continue', 'do', 'else', - 'elseif','end_try_catch', 'end_unwind_protect', 'endfor', - 'endfunction', 'endif', 'endswitch', 'endwhile', 'for', - 'function', 'if','otherwise', 'return', 'switch ', 'try', - 'until', 'unwind_protect', 'unwind_protect_cleanup', 'varargin', - 'varargout', 'while' + 'break', 'case', 'catch', 'continue', 'do', 'else', 'elseif', 'end', + 'end_try_catch', 'end_unwind_protect', 'endfor', 'endfunction', + 'endif', 'endparfor', 'endswitch', 'endwhile', 'for', 'function', + 'global', 'if', 'otherwise', 'parfor', 'persistent', 'return', + 'static', 'switch', 'try', 'until', 'unwind_protect', + 'unwind_protect_cleanup', 'varargin', 'varargout', 'while' ), // Built in 5 => array( - 'all','any','exist','is','logical','mislocked', - 'abs','acos','acosh','acot','acoth','acsc','acsch','airy','angle', - 'area','asec','asech','asin','asinh','atan','atan2','atanh', - 'auread','autumn','auwrite','axes','axis','balance','bar','bar3', - 'bar3h','barh','besselh','besseli','besselj','besselk','Bessely', - 'beta','betainc','betaln','bicg','bicgstab','bin2dec','bitand', - 'bitcmp','bitget','bitmax','bitor','bitset','bitshift','bitxor', - 'blkdiag','bone','box','brighten','builtin','bwcontr','calendar', - 'camdolly','camlight','camlookat','camorbit','campan','campos', - 'camproj','camroll','camtarget','camup','camva','camzoom','capture', - 'cart2pol','cart2sph','cat','caxis','cdf2rdf','ceil', - 'cell2struct','celldisp','cellfun','cellplot','cellstr','cgs', - 'char','chol','cholinc','cholupdate','cla','clabel','class','clc', - 'clf','clg','clock','close','colmmd','colorbar','colorcube', - 'colordef','colormap','colperm','comet','comet3','compan','compass', - 'complex','computer','cond','condeig','condest','coneplot','conj', - 'contour','contourc','contourf','contourslice','contrast','conv', - 'conv2','convhull','cool','copper','copyobj','corrcoef','cos', - 'cosh','cot','coth','cov','cplxpair','cputime','cross','csc','csch', - 'cumprod','cumsum','cumtrapz','cylinder','daspect','date','datenum', - 'datestr','datetick','datevec','dbclear','dbcont','dbdown', - 'dblquad','dbmex','dbquit','dbstack','dbstatus','dbstep','dbstop', - 'dbtype','dbup','deblank','dec2bin','dec2hex','deconv','del2', - 'delaunay','det','diag','dialog','diff','diffuse','dlmread', - 'dlmwrite','dmperm','double','dragrect','drawnow','dsearch','eig', - 'eigs','ellipj','ellipke','eomday','eps','erf','erfc','erfcx', - 'erfiny','error','errorbar','errordlg','etime','eval','evalc', - 'evalin','exp','expint','expm','eye','ezcontour','ezcontourf', - 'ezmesh','ezmeshc','ezplot','ezplot3','ezpolar','ezsurf','ezsurfc', - 'factor','factorial','fclose','feather','feof','ferror','feval', - 'fft','fft2','fftshift','fgetl','fgets','fieldnames','figure', - 'fill','fill3','filter','filter2','find','findfigs','findobj', - 'findstr','fix','flag','flipdim','fliplr','flipud','floor','flops', - 'fmin','fmins','fopen','fplot','fprintf','fread','frewind','fscanf', - 'fseek','ftell','full','funm','fwrite','fzero','gallery','gamma', - 'gammainc','gammaln','gca','gcbo','gcd','gcf','gco','get', - 'getfield','ginput','gmres','gradient','gray','graymon','grid', - 'griddata','gsvd','gtext','hadamard','hankel','hdf','helpdlg', - 'hess','hex2dec','hex2num','hidden','hilb','hist','hold','hot', - 'hsv','hsv2rgb','i','ifft','ifft2','ifftn','ifftshift','imag', - 'image','imfinfo','imread','imwrite','ind2sub','Inf','inferiorto', - 'inline','inpolygon','input','inputdlg','inputname', - 'int2str','interp1','interp2','interp3','interpft', - 'interpn','intersect','inv','invhilb','ipermute','isa','ishandle', - 'ismember','isocaps','isonormals','isosurface','j','jet','keyboard', - 'lcm','legend','legendre','light','lighting','lightingangle', - 'lin2mu','line','lines','linspace','listdlg','loadobj','log', - 'log10','log2','loglog','logm','logspace','lower','lscov','lu', - 'luinc','magic','mat2str','material','max','mean','median','menu', - 'menuedit','mesh','meshc','meshgrid','min','mod','msgbox','mu2lin', - 'NaN','nargchk','nargin','nargout','nchoosek','ndgrid','ndims', - 'newplot','nextpow2','nnls','nnz','nonzeros','norm','normest','now', - 'null','num2cell','num2str','nzmax','ode113,','ode15s,','ode23s,', - 'ode23t,','ode23tb','ode45,','odefile','odeget','odeset','ones', - 'orient','orth','pagedlg','pareto','pascal','patch','pause', - 'pbaspect','pcg','pcolor','peaks','perms','permute','pi','pie', - 'pie3','pinv','plot','plot3','plotmatrix','plotyy','pol2cart', - 'polar','poly','polyarea','polyder','polyeig','polyfit','polyval', - 'polyvalm','pow2','primes','print','printdlg','printopt','prism', - 'prod','propedit','qmr','qr','qrdelete','qrinsert','qrupdate', - 'quad','questdlg','quiver','quiver3','qz','rand','randn','randperm', - 'rank','rat','rats','rbbox','rcond','real','realmax','realmin', - 'rectangle','reducepatch','reducevolume','refresh','rem','repmat', - 'reset','reshape','residue','rgb2hsv','rgbplot','ribbon','rmfield', - 'roots','rose','rot90','rotate','rotate3d','round','rref', - 'rrefmovie','rsf2csf','saveobj','scatter','scatter3','schur', - 'script','sec','sech','selectmoveresize','semilogx','semilogy', - 'set','setdiff','setfield','setxor','shading','shg','shiftdim', - 'shrinkfaces','sign','sin','single','sinh','slice','smooth3','sort', - 'sortrows','sound','soundsc','spalloc','sparse','spconvert', - 'spdiags','specular','speye','spfun','sph2cart','sphere','spinmap', - 'spline','spones','spparms','sprand','sprandn','sprandsym','spring', - 'sprintf','sqrt','sqrtm','squeeze','sscanf','stairs','std','stem', - 'stem3','str2double','str2num','strcat','strcmp','strcmpi', - 'stream2','stream3','streamline','strings','strjust','strmatch', - 'strncmp','strrep','strtok','struct','struct2cell','strvcat', - 'sub2ind','subplot','subspace','subvolume','sum','summer', - 'superiorto','surf','surf2patch','surface','surfc','surfl', - 'surfnorm','svd','svds','symmmd','symrcm','symvar','tan','tanh', - 'texlabel','text Create','textread','textwrap','tic','title','toc', - 'toeplitz','trace','trapz','tril','trimesh','trisurf','triu', - 'tsearch','uicontext Create','uicontextmenu','uicontrol', - 'uigetfile','uimenu','uiputfile','uiresume', - 'uisetcolor','uisetfont','uiwait Used','union','unique','unwrap', - 'upper','var','varargin','varargout','vectorize','view','viewmtx', - 'voronoi','waitbar','waitforbuttonpress','warndlg','warning', - 'waterfall','wavread','wavwrite','weekday','whitebg','wilkinson', - 'winter','wk1read','wk1write','xlabel','xlim','ylabel','ylim', - 'zeros','zlabel','zlim','zoom', - 'addpath','cd','clear','copyfile','delete','diary','dir','disp', - 'doc','docopt','echo','edit','fileparts','format','fullfile','help', - 'helpdesk','helpwin','home','inmem','lasterr','lastwarn','length', - 'load','lookfor','ls','matlabrc','matlabroot','mkdir','mlock', - 'more','munlock','open','openvar','pack','partialpath','path', - 'pathtool','profile','profreport','pwd','quit','rmpath','save', - 'saveas','size','tempdir','tempname','type','ver','version','web', - 'what','whatsnew','which','who','whos','workspace' + 'Inf', 'NaN', 'P_tmpdir', 'abs', 'acos', 'acosh', + 'add_input_event_hook', 'addlistener', 'addpath', 'addproperty', + 'all', 'allow_noninteger_range_as_index', 'and', 'angle', 'any', + 'arg', 'argnames', 'argv', 'asin', 'asinh', 'assignin', 'atan', + 'atan2', 'atanh', 'atexit', 'autoload', 'available_graphics_toolkits', + 'beep_on_error', 'bitand', 'bitmax', 'bitor', 'bitshift', 'bitxor', + 'builtin', 'canonicalize_file_name', 'cat', 'cbrt', 'cd', 'ceil', + 'cell', 'cell2struct', 'cellstr', 'char', 'chdir', 'class', 'clc', + 'clear', 'columns', 'command_line_path', 'completion_append_char', + 'completion_matches', 'complex', 'confirm_recursive_rmdir', 'conj', + 'cos', 'cosh', 'cputime', 'crash_dumps_octave_core', 'ctranspose', + 'cumprod', 'cumsum', 'dbclear', 'dbcont', 'dbdown', 'dbnext', + 'dbquit', 'dbstack', 'dbstatus', 'dbstep', 'dbstop', 'dbtype', 'dbup', + 'dbwhere', 'debug_on_error', 'debug_on_interrupt', 'debug_on_warning', + 'default_save_options', 'dellistener', 'diag', 'diary', 'diff', + 'disp', 'do_braindead_shortcircuit_evaluation', 'do_string_escapes', + 'doc_cache_file', 'double', 'drawnow', 'dup2', 'e', 'echo', + 'echo_executing_commands', 'edit_history', 'eps', 'eq', 'erf', 'erfc', + 'erfcx', 'erfinv', 'errno', 'errno_list', 'error', 'eval', 'evalin', + 'exec', 'exist', 'exit', 'exp', 'expm1', 'eye', 'false', 'fclear', + 'fclose', 'fcntl', 'fdisp', 'feof', 'ferror', 'feval', 'fflush', + 'fgetl', 'fgets', 'fieldnames', 'file_in_loadpath', 'file_in_path', + 'filemarker', 'filesep', 'find_dir_in_path', 'finite', 'fix', + 'fixed_point_format', 'floor', 'fmod', 'fnmatch', 'fopen', 'fork', + 'format', 'formula', 'fprintf', 'fputs', 'fread', 'freport', + 'frewind', 'fscanf', 'fseek', 'fskipl', 'ftell', 'full', 'func2str', + 'functions', 'fwrite', 'gamma', 'gammaln', 'ge', 'genpath', 'get', + 'get_help_text', 'get_help_text_from_file', 'getegid', 'getenv', + 'geteuid', 'getgid', 'gethostname', 'getpgrp', 'getpid', 'getppid', + 'getuid', 'glob', 'gt', 'history', 'history_control', 'history_file', + 'history_size', 'history_timestamp_format_string', 'home', 'horzcat', + 'hypot', 'i', 'ifelse', 'ignore_function_time_stamp', 'imag', 'inf', + 'inferiorto', 'info_file', 'info_program', 'inline', 'input', 'int16', + 'int32', 'int64', 'int8', 'intmax', 'intmin', 'ipermute', + 'is_absolute_filename', 'is_dq_string', 'is_function_handle', + 'is_rooted_relative_filename', 'is_sq_string', 'isalnum', 'isalpha', + 'isargout', 'isascii', 'isbool', 'iscell', 'iscellstr', 'ischar', + 'iscntrl', 'iscomplex', 'isdebugmode', 'isdigit', 'isempty', + 'isfield', 'isfinite', 'isfloat', 'isglobal', 'isgraph', 'ishandle', + 'isieee', 'isindex', 'isinf', 'isinteger', 'iskeyword', 'islogical', + 'islower', 'ismatrix', 'ismethod', 'isna', 'isnan', 'isnull', + 'isnumeric', 'isobject', 'isprint', 'ispunct', 'isreal', 'issorted', + 'isspace', 'issparse', 'isstruct', 'isupper', 'isvarname', 'isxdigit', + 'j', 'kbhit', 'keyboard', 'kill', 'lasterr', 'lasterror', 'lastwarn', + 'ldivide', 'le', 'length', 'lgamma', 'link', 'linspace', + 'list_in_columns', 'load', 'loaded_graphics_toolkits', 'log', 'log10', + 'log1p', 'log2', 'logical', 'lower', 'lstat', 'lt', + 'make_absolute_filename', 'makeinfo_program', 'max_recursion_depth', + 'merge', 'methods', 'mfilename', 'minus', 'mislocked', + 'missing_function_hook', 'mkdir', 'mkfifo', 'mkstemp', 'mldivide', + 'mlock', 'mod', 'more', 'mpower', 'mrdivide', 'mtimes', 'munlock', + 'nan', 'nargin', 'nargout', 'native_float_format', 'ndims', 'ne', + 'nfields', 'nnz', 'norm', 'not', 'nth_element', 'numel', 'nzmax', + 'octave_config_info', 'octave_core_file_limit', + 'octave_core_file_name', 'octave_core_file_options', + 'octave_tmp_file_name', 'onCleanup', 'ones', + 'optimize_subsasgn_calls', 'or', 'output_max_field_width', + 'output_precision', 'page_output_immediately', 'page_screen_output', + 'path', 'pathsep', 'pause', 'pclose', 'permute', 'pi', 'pipe', 'plus', + 'popen', 'popen2', 'power', 'print_empty_dimensions', + 'print_struct_array_contents', 'printf', 'prod', + 'program_invocation_name', 'program_name', 'putenv', 'puts', 'pwd', + 'quit', 'rats', 'rdivide', 're_read_readline_init_file', + 'read_readline_init_file', 'readdir', 'readlink', 'real', 'realmax', + 'realmin', 'register_graphics_toolkit', 'rehash', 'rem', + 'remove_input_event_hook', 'rename', 'repelems', 'reset', 'reshape', + 'resize', 'restoredefaultpath', 'rethrow', 'rmdir', 'rmfield', + 'rmpath', 'round', 'roundb', 'rows', 'run_history', 'save', + 'save_header_format_string', 'save_precision', 'saving_history', + 'scanf', 'set', 'setenv', 'sighup_dumps_octave_core', 'sign', + 'sigterm_dumps_octave_core', 'silent_functions', 'sin', 'single', + 'sinh', 'size', 'size_equal', 'sizemax', 'sizeof', 'sleep', 'sort', + 'source', 'spalloc', 'sparse', 'sparse_auto_mutate', + 'split_long_rows', 'sprintf', 'sqrt', 'squeeze', 'sscanf', 'stat', + 'stderr', 'stdin', 'stdout', 'str2func', 'strcmp', 'strcmpi', + 'string_fill_char', 'strncmp', 'strncmpi', 'struct', 'struct2cell', + 'struct_levels_to_print', 'strvcat', 'subsasgn', 'subsref', 'sum', + 'sumsq', 'superiorto', 'suppress_verbose_help_message', 'symlink', + 'system', 'tan', 'tanh', 'terminal_size', 'tic', 'tilde_expand', + 'times', 'tmpfile', 'tmpnam', 'toascii', 'toc', 'tolower', 'toupper', + 'transpose', 'true', 'typeinfo', 'uint16', 'uint32', 'uint64', + 'uint8', 'umask', 'uminus', 'uname', 'undo_string_escapes', 'unlink', + 'uplus', 'upper', 'usage', 'usleep', 'vec', 'vectorize', 'vertcat', + 'waitfor', 'waitpid', 'warning', 'warranty', 'who', 'whos', + 'whos_line_format', 'yes_or_no', 'zeros' ), - // Octave functions Function __list_functions__ lists them all + // Octave functions 6 => array( - '__all_opts__', '__contourc__', '__delaunayn__', '__dispatch__', - '__dsearchn__', '__error_text__', '__finish__', '__fltk_uigetfile__', - '__glpk__', '__gnuplot_drawnow__', '__init_fltk__', '__init_gnuplot__', - '__lin_interpn__', '__magick_read__', '__makeinfo__', '__pchip_deriv__', - '__plt_get_axis_arg__', '__qp__', '__voronoi__', 'accumarray', 'accumdim', - 'acosd', 'acot', 'acotd', 'acoth', 'acsc', 'acscd', 'acsch', 'addpref', - 'addtodate', 'allchild', 'amd', 'ancestor', 'anova', 'ans', 'arch_fit', - 'arch_rnd', 'arch_test', 'area', 'arma_rnd', 'asctime', 'asec', 'asecd', - 'asech', 'asind', 'assert', 'atand', 'autocor', 'autocov', 'autoreg_matrix', - 'autumn', 'axes', 'axis', 'balance', 'bar', 'barh', 'bartlett', - 'bartlett_test', 'base2dec', 'beep', 'bessel', 'besselj', 'beta', 'betacdf', - 'betai', 'betainc', 'betainv', 'betaln', 'betapdf', 'betarnd', 'bicg', - 'bicgstab', 'bicubic', 'bin2dec', 'bincoeff', 'binocdf', 'binoinv', - 'binopdf', 'binornd', 'bitcmp', 'bitget', 'bitset', 'blackman', 'blanks', - 'blkdiag', 'bone', 'box', 'brighten', 'bsxfun', 'bug_report', 'bunzip2', - 'bzip2', 'calendar', 'cart2pol', 'cart2sph', 'cast', 'cauchy_cdf', - 'cauchy_inv', 'cauchy_pdf', 'cauchy_rnd', 'caxis', 'ccolamd', 'cell2mat', - 'celldisp', 'cellfun', 'cellidx', 'center', 'cgs', 'chi2cdf', 'chi2inv', - 'chi2pdf', 'chi2rnd', 'chisquare_test_homogeneity', - 'chisquare_test_independence', 'chol', 'chop', 'circshift', 'cla', 'clabel', - 'clf', 'clg', 'clock', 'cloglog', 'close', 'closereq', 'colamd', 'colloc', - 'colon', 'colorbar', 'colormap', 'colperm', 'colstyle', 'comet', 'comet3', - 'comma', 'common_size', 'commutation_matrix', 'compan', 'compare_versions', - 'compass', 'computer', 'cond', 'condest', 'contour', 'contour3', 'contourc', - 'contourf', 'contrast', 'conv', 'conv2', 'convhull', 'convhulln', 'cool', - 'copper', 'copyfile', 'cor', 'cor_test', 'corr', 'corrcoef', 'cosd', 'cot', - 'cotd', 'coth', 'cov', 'cplxpair', 'cquad', 'cross', 'csc', 'cscd', 'csch', - 'cstrcat', 'csvread', 'csvwrite', 'ctime', 'cumtrapz', 'curl', 'cut', - 'cylinder', 'daspect', 'daspk', 'dasrt', 'dassl', 'date', 'datenum', - 'datestr', 'datetick', 'datevec', 'dblquad', 'deal', 'deblank', 'debug', - 'dec2base', 'dec2bin', 'dec2hex', 'deconv', 'del2', 'delaunay', 'delaunay3', - 'delaunayn', 'delete', 'demo', 'det', 'detrend', 'diffpara', 'diffuse', - 'dir', 'discrete_cdf', 'discrete_inv', 'discrete_pdf', 'discrete_rnd', - 'dispatch', 'display', 'divergence', 'dlmread', 'dlmwrite', 'dmperm', 'doc', - 'dos', 'dot', 'dsearch', 'dsearchn', 'dump_prefs', 'duplication_matrix', - 'durbinlevinson', 'edit', 'eig', 'eigs', 'ellipsoid', 'empirical_cdf', - 'empirical_inv', 'empirical_pdf', 'empirical_rnd', 'eomday', 'error_text', - 'errorbar', 'etime', 'etreeplot', 'example', 'expcdf', 'expinv', 'expm', - 'exppdf', 'exprnd', 'ezcontour', 'ezcontourf', 'ezmesh', 'ezmeshc', - 'ezplot', 'ezplot3', 'ezpolar', 'ezsurf', 'ezsurfc', 'f_test_regression', - 'fact', 'factor', 'factorial', 'fail', 'fcdf', 'feather', 'fft', 'fft2', - 'fftconv', 'fftfilt', 'fftn', 'fftshift', 'fftw', 'figure', 'fileattrib', - 'fileparts', 'fileread', 'fill', 'filter', 'filter2', 'find', 'findall', - 'findobj', 'findstr', 'finv', 'flag', 'flipdim', 'fliplr', 'flipud', - 'fminbnd', 'fminunc', 'fpdf', 'fplot', 'fractdiff', 'freqz', 'freqz_plot', - 'frnd', 'fsolve', 'fstat', 'fullfile', 'fzero', 'gamcdf', 'gaminv', - 'gammai', 'gammainc', 'gampdf', 'gamrnd', 'gca', 'gcbf', 'gcbo', 'gcd', - 'gcf', 'gen_doc_cache', 'genvarname', 'geocdf', 'geoinv', 'geopdf', - 'geornd', 'get_first_help_sentence', 'getappdata', 'getfield', 'getgrent', - 'getpref', 'getpwent', 'getrusage', 'ginput', 'givens', 'glpk', 'glpkmex', - 'gls', 'gmap40', 'gmres', 'gnuplot_binary', 'gplot', 'gradient', - 'graphics_toolkit', 'gray', 'gray2ind', 'grid', 'griddata', 'griddata3', - 'griddatan', 'gtext', 'guidata', 'guihandles', 'gunzip', 'gzip', 'hadamard', - 'hamming', 'hankel', 'hanning', 'help', 'hess', 'hex2dec', 'hex2num', - 'hggroup', 'hidden', 'hilb', 'hist', 'histc', 'hold', 'hot', - 'hotelling_test', 'hotelling_test_2', 'housh', 'hsv', 'hsv2rgb', 'hurst', - 'hygecdf', 'hygeinv', 'hygepdf', 'hygernd', 'idivide', 'ifftshift', 'image', - 'imagesc', 'imfinfo', 'imread', 'imshow', 'imwrite', 'ind2gray', 'ind2rgb', - 'index', 'info', 'inpolygon', 'inputname', 'int2str', 'interp1', 'interp1q', - 'interp2', 'interp3', 'interpft', 'interpn', 'intersect', 'intwarning', - 'inv', 'invhilb', 'iqr', 'is_duplicate_entry', 'is_global', 'is_leap_year', - 'is_valid_file_id', 'isa', 'isappdata', 'iscolumn', 'isdefinite', - 'isdeployed', 'isdir', 'isequal', 'isequalwithequalnans', 'isfigure', - 'ishermitian', 'ishghandle', 'ishold', 'isletter', 'ismac', 'ismember', - 'isocolors', 'isonormals', 'isosurface', 'ispc', 'ispref', 'isprime', - 'isprop', 'isrow', 'isscalar', 'issquare', 'isstr', 'isstrprop', - 'issymmetric', 'isunix', 'isvector', 'jet', 'kendall', - 'kolmogorov_smirnov_cdf', 'kolmogorov_smirnov_test', - 'kolmogorov_smirnov_test_2', 'kron', 'kruskal_wallis_test', 'krylov', - 'krylovb', 'kurtosis', 'laplace_cdf', 'laplace_inv', 'laplace_pdf', - 'laplace_rnd', 'lcm', 'legend', 'legendre', 'license', 'lin2mu', 'line', - 'linkprop', 'list_primes', 'loadaudio', 'loadobj', 'logistic_cdf', - 'logistic_inv', 'logistic_pdf', 'logistic_regression', 'logistic_rnd', - 'logit', 'loglog', 'loglogerr', 'logm', 'logncdf', 'logninv', 'lognpdf', - 'lognrnd', 'logspace', 'lookfor', 'lookup', 'ls', 'ls_command', 'lsode', - 'lsqnonneg', 'lu', 'luinc', 'magic', 'mahalanobis', 'manova', 'mat2str', - 'matlabroot', 'matrix_type', 'max', 'mcnemar_test', 'md5sum', 'mean', - 'meansq', 'median', 'menu', 'mesh', 'meshc', 'meshgrid', 'meshz', 'mex', - 'mexext', 'mgorth', 'mkoctfile', 'mkpp', 'mode', 'moment', 'movefile', - 'mpoles', 'mu2lin', 'namelengthmax', 'nargchk', 'narginchk', 'nargoutchk', - 'nbincdf', 'nbininv', 'nbinpdf', 'nbinrnd', 'nchoosek', 'ndgrid', 'newplot', - 'news', 'nextpow2', 'nonzeros', 'normcdf', 'normest', 'norminv', 'normpdf', - 'normrnd', 'now', 'nproc', 'nthargout', 'nthroot', 'ntsc2rgb', 'null', - 'num2str', 'ocean', 'ols', 'onenormest', 'optimget', 'optimset', - 'orderfields', 'orient', 'orth', 'pack', 'paren', 'pareto', 'parseparams', - 'pascal', 'patch', 'pathdef', 'pbaspect', 'pcg', 'pchip', 'pcolor', 'pcr', - 'peaks', 'periodogram', 'perl', 'perms', 'perror', 'pie', 'pie3', 'pink', - 'pinv', 'pkg', 'planerot', 'playaudio', 'plot', 'plot3', 'plotmatrix', - 'plotyy', 'poisscdf', 'poissinv', 'poisspdf', 'poissrnd', 'pol2cart', - 'polar', 'poly', 'polyaffine', 'polyarea', 'polyder', 'polyderiv', - 'polyfit', 'polygcd', 'polyint', 'polyout', 'polyreduce', 'polyval', - 'polyvalm', 'postpad', 'pow2', 'powerset', 'ppder', 'ppint', 'ppjumps', - 'ppplot', 'ppval', 'pqpnonneg', 'prctile', 'prepad', 'primes', 'print', - 'print_usage', 'prism', 'probit', 'profexplore', 'profile', 'profshow', - 'prop_test_2', 'python', 'qp', 'qqplot', 'qr', 'quad', 'quadcc', 'quadgk', - 'quadl', 'quadv', 'quantile', 'quiver', 'quiver3', 'qz', 'qzhess', - 'rainbow', 'rand', 'randi', 'range', 'rank', 'ranks', 'rat', 'rcond', - 'reallog', 'realpow', 'realsqrt', 'record', 'rectangle', 'rectint', - 'recycle', 'refresh', 'refreshdata', 'regexp', 'regexptranslate', - 'releasePKG', 'replot', 'repmat', 'residue', 'rgb2hsv', 'rgb2ind', - 'rgb2ntsc', 'ribbon', 'rindex', 'rmappdata', 'rmpref', 'roots', 'rose', - 'rosser', 'rot90', 'rotdim', 'rref', 'run', 'run_count', 'run_test', - 'rundemos', 'runlength', 'runtests', 'saveas', 'saveaudio', 'saveimage', - 'saveobj', 'savepath', 'scatter', 'scatter3', 'schur', 'sec', 'secd', - 'sech', 'semicolon', 'semilogx', 'semilogxerr', 'semilogy', 'semilogyerr', - 'setappdata', 'setaudio', 'setdiff', 'setfield', 'setpref', 'setstr', - 'setxor', 'shading', 'shell_cmd', 'shg', 'shift', 'shiftdim', 'sign_test', - 'sinc', 'sind', 'sinetone', 'sinewave', 'skewness', 'slice', 'sombrero', - 'sortrows', 'spaugment', 'spconvert', 'spdiags', 'spearman', 'spectral_adf', - 'spectral_xdf', 'specular', 'speed', 'spencer', 'speye', 'spfun', - 'sph2cart', 'sphere', 'spinmap', 'spline', 'spones', 'spparms', 'sprand', - 'sprandn', 'sprandsym', 'spring', 'spstats', 'spy', 'sqp', 'sqrtm', - 'stairs', 'statistics', 'std', 'stdnormal_cdf', 'stdnormal_inv', - 'stdnormal_pdf', 'stdnormal_rnd', 'stem', 'stem3', 'stft', 'str2double', - 'str2num', 'strcat', 'strchr', 'strerror', 'strfind', 'strjust', 'strmatch', - 'strread', 'strsplit', 'strtok', 'strtrim', 'strtrunc', 'structfun', - 'studentize', 'sub2ind', 'subplot', 'subsindex', 'subspace', 'substr', - 'substruct', 'summer', 'surf', 'surface', 'surfc', 'surfl', 'surfnorm', - 'svd', 'svds', 'swapbytes', 'syl', 'sylvester_matrix', 'symbfact', 'symrcm', - 'symvar', 'synthesis', 't_test', 't_test_2', 't_test_regression', 'table', - 'tand', 'tar', 'tcdf', 'tempdir', 'tempname', 'test', 'text', 'textread', - 'textscan', 'time', 'tinv', 'title', 'toeplitz', 'tpdf', 'trace', 'trapz', - 'treelayout', 'treeplot', 'tril', 'trimesh', 'triplequad', 'triplot', - 'trisurf', 'trnd', 'tsearch', 'tsearchn', 'type', 'typecast', 'u_test', - 'uicontextmenu', 'uicontrol', 'uigetdir', 'uigetfile', 'uimenu', 'uipanel', - 'uipushtool', 'uiputfile', 'uiresume', 'uitoggletool', 'uitoolbar', - 'uiwait', 'unidcdf', 'unidinv', 'unidpdf', 'unidrnd', 'unifcdf', 'unifinv', - 'unifpdf', 'unifrnd', 'unimplemented', 'union', 'unique', 'unix', 'unmkpp', - 'unpack', 'untabify', 'untar', 'unwrap', 'unzip', 'urlwrite', 'usejava', - 'validatestring', 'values', 'vander', 'var', 'var_test', 'vech', 'ver', - 'version', 'view', 'voronoi', 'voronoin', 'waitbar', 'waitforbuttonpress', - 'warning_ids', 'wavread', 'wavwrite', 'wblcdf', 'wblinv', 'wblpdf', - 'wblrnd', 'weekday', 'weibcdf', 'weibinv', 'weibpdf', 'weibrnd', - 'welch_test', 'what', 'which', 'white', 'whitebg', 'wienrnd', - 'wilcoxon_test', 'wilkinson', 'winter', 'xlabel', 'xlim', 'xor', 'ylabel', - 'ylim', 'yulewalker', 'z_test', 'z_test_2', 'zip', 'zlabel', 'zlim', - 'zscore', '__fltk_maxtime__', '__fltk_redraw__', '__ftp__', '__ftp_ascii__', - '__ftp_binary__', '__ftp_close__', '__ftp_cwd__', '__ftp_delete__', - '__ftp_dir__', '__ftp_mget__', '__ftp_mkdir__', '__ftp_mode__', - '__ftp_mput__', '__ftp_pwd__', '__ftp_rename__', '__ftp_rmdir__', - '__magick_finfo__', '__magick_format_list__', '__magick_write__', 'airy', - 'arrayfun', 'besselh', 'besseli', 'besselk', 'bessely', 'bitpack', - 'bitunpack', 'blkmm', 'cellindexmat', 'cellslices', 'chol2inv', - 'choldelete', 'cholinsert', 'cholinv', 'cholshift', 'cholupdate', 'convn', - 'csymamd', 'cummax', 'cummin', 'daspk_options', 'dasrt_options', - 'dassl_options', 'endgrent', 'endpwent', 'etree', 'getgrgid', 'getgrnam', - 'getpwnam', 'getpwuid', 'gmtime', 'gui_mode', 'ifft', 'ifft2', 'ifftn', - 'ind2sub', 'inverse', 'localtime', 'lsode_options', 'luupdate', 'mat2cell', - 'min', 'mktime', 'mouse_wheel_zoom', 'num2cell', 'num2hex', 'qrdelete', - 'qrinsert', 'qrshift', 'qrupdate', 'quad_options', 'rande', 'randg', - 'randn', 'randp', 'randperm', 'regexpi', 'regexprep', 'rsf2csf', 'setgrent', - 'setpwent', 'sprank', 'strftime', 'strptime', 'strrep', 'svd_driver', - 'symamd', 'triu', 'urlread' + 'accumarray', 'accumdim', 'acosd', 'acot', 'acotd', 'acoth', 'acsc', + 'acscd', 'acsch', 'addpref', 'addtodate', 'allchild', 'amd', + 'ancestor', 'anova', 'ans', 'arch_fit', 'arch_rnd', 'arch_test', + 'area', 'arma_rnd', 'asctime', 'asec', 'asecd', 'asech', 'asind', + 'assert', 'atand', 'autocor', 'autocov', 'autoreg_matrix', 'autumn', + 'axes', 'axis', 'balance', 'bar', 'barh', 'bartlett', 'bartlett_test', + 'base2dec', 'beep', 'bessel', 'besselj', 'beta', 'betacdf', 'betai', + 'betainc', 'betainv', 'betaln', 'betapdf', 'betarnd', 'bicg', + 'bicgstab', 'bicubic', 'bin2dec', 'bincoeff', 'binocdf', 'binoinv', + 'binopdf', 'binornd', 'bitcmp', 'bitget', 'bitset', 'blackman', + 'blanks', 'blkdiag', 'bone', 'box', 'brighten', 'bsxfun', + 'bug_report', 'bunzip2', 'bzip2', 'calendar', 'cart2pol', 'cart2sph', + 'cast', 'cauchy_cdf', 'cauchy_inv', 'cauchy_pdf', 'cauchy_rnd', + 'caxis', 'ccolamd', 'cell2mat', 'celldisp', 'cellfun', 'cellidx', + 'center', 'cgs', 'chi2cdf', 'chi2inv', 'chi2pdf', 'chi2rnd', + 'chisquare_test_homogeneity', 'chisquare_test_independence', 'chol', + 'chop', 'circshift', 'cla', 'clabel', 'clf', 'clg', 'clock', + 'cloglog', 'close', 'closereq', 'colamd', 'colloc', 'colon', + 'colorbar', 'colormap', 'colperm', 'colstyle', 'comet', 'comet3', + 'comma', 'common_size', 'commutation_matrix', 'compan', + 'compare_versions', 'compass', 'computer', 'cond', 'condest', + 'contour', 'contour3', 'contourc', 'contourf', 'contrast', 'conv', + 'conv2', 'convhull', 'convhulln', 'cool', 'copper', 'copyfile', 'cor', + 'cor_test', 'corr', 'corrcoef', 'cosd', 'cot', 'cotd', 'coth', 'cov', + 'cplxpair', 'cquad', 'cross', 'csc', 'cscd', 'csch', 'cstrcat', + 'csvread', 'csvwrite', 'ctime', 'cumtrapz', 'curl', 'cut', 'cylinder', + 'daspect', 'daspk', 'dasrt', 'dassl', 'date', 'datenum', 'datestr', + 'datetick', 'datevec', 'dblquad', 'deal', 'deblank', 'debug', + 'dec2base', 'dec2bin', 'dec2hex', 'deconv', 'del2', 'delaunay', + 'delaunay3', 'delaunayn', 'delete', 'demo', 'det', 'detrend', + 'diffpara', 'diffuse', 'dir', 'discrete_cdf', 'discrete_inv', + 'discrete_pdf', 'discrete_rnd', 'dispatch', 'display', 'divergence', + 'dlmread', 'dlmwrite', 'dmperm', 'doc', 'dos', 'dot', 'dsearch', + 'dsearchn', 'dump_prefs', 'duplication_matrix', 'durbinlevinson', + 'edit', 'eig', 'eigs', 'ellipsoid', 'empirical_cdf', 'empirical_inv', + 'empirical_pdf', 'empirical_rnd', 'eomday', 'error_text', 'errorbar', + 'etime', 'etreeplot', 'example', 'expcdf', 'expinv', 'expm', 'exppdf', + 'exprnd', 'ezcontour', 'ezcontourf', 'ezmesh', 'ezmeshc', 'ezplot', + 'ezplot3', 'ezpolar', 'ezsurf', 'ezsurfc', 'f_test_regression', + 'fact', 'factor', 'factorial', 'fail', 'fcdf', 'feather', 'fft', + 'fft2', 'fftconv', 'fftfilt', 'fftn', 'fftshift', 'fftw', 'figure', + 'fileattrib', 'fileparts', 'fileread', 'fill', 'filter', 'filter2', + 'find', 'findall', 'findobj', 'findstr', 'finv', 'flag', 'flipdim', + 'fliplr', 'flipud', 'fminbnd', 'fminunc', 'fpdf', 'fplot', + 'fractdiff', 'freqz', 'freqz_plot', 'frnd', 'fsolve', 'fstat', + 'fullfile', 'fzero', 'gamcdf', 'gaminv', 'gammai', 'gammainc', + 'gampdf', 'gamrnd', 'gca', 'gcbf', 'gcbo', 'gcd', 'gcf', + 'gen_doc_cache', 'genvarname', 'geocdf', 'geoinv', 'geopdf', 'geornd', + 'get_first_help_sentence', 'getappdata', 'getfield', 'getgrent', + 'getpref', 'getpwent', 'getrusage', 'ginput', 'givens', 'glpk', + 'glpkmex', 'gls', 'gmap40', 'gmres', 'gnuplot_binary', 'gplot', + 'gradient', 'graphics_toolkit', 'gray', 'gray2ind', 'grid', + 'griddata', 'griddata3', 'griddatan', 'gtext', 'guidata', + 'guihandles', 'gunzip', 'gzip', 'hadamard', 'hamming', 'hankel', + 'hanning', 'help', 'hess', 'hex2dec', 'hex2num', 'hggroup', 'hidden', + 'hilb', 'hist', 'histc', 'hold', 'hot', 'hotelling_test', + 'hotelling_test_2', 'housh', 'hsv', 'hsv2rgb', 'hurst', 'hygecdf', + 'hygeinv', 'hygepdf', 'hygernd', 'idivide', 'ifftshift', 'image', + 'imagesc', 'imfinfo', 'imread', 'imshow', 'imwrite', 'ind2gray', + 'ind2rgb', 'index', 'info', 'inpolygon', 'inputname', 'int2str', + 'interp1', 'interp1q', 'interp2', 'interp3', 'interpft', 'interpn', + 'intersect', 'intwarning', 'inv', 'invhilb', 'iqr', + 'is_duplicate_entry', 'is_global', 'is_leap_year', 'is_valid_file_id', + 'isa', 'isappdata', 'iscolumn', 'isdefinite', 'isdeployed', 'isdir', + 'isequal', 'isequalwithequalnans', 'isfigure', 'ishermitian', + 'ishghandle', 'ishold', 'isletter', 'ismac', 'ismember', 'isocolors', + 'isonormals', 'isosurface', 'ispc', 'ispref', 'isprime', 'isprop', + 'isrow', 'isscalar', 'issquare', 'isstr', 'isstrprop', 'issymmetric', + 'isunix', 'isvector', 'jet', 'kendall', 'kolmogorov_smirnov_cdf', + 'kolmogorov_smirnov_test', 'kolmogorov_smirnov_test_2', 'kron', + 'kruskal_wallis_test', 'krylov', 'krylovb', 'kurtosis', 'laplace_cdf', + 'laplace_inv', 'laplace_pdf', 'laplace_rnd', 'lcm', 'legend', + 'legendre', 'license', 'lin2mu', 'line', 'linkprop', 'list_primes', + 'loadaudio', 'loadobj', 'logistic_cdf', 'logistic_inv', + 'logistic_pdf', 'logistic_regression', 'logistic_rnd', 'logit', + 'loglog', 'loglogerr', 'logm', 'logncdf', 'logninv', 'lognpdf', + 'lognrnd', 'logspace', 'lookfor', 'lookup', 'ls', 'ls_command', + 'lsode', 'lsqnonneg', 'lu', 'luinc', 'magic', 'mahalanobis', 'manova', + 'mat2str', 'matlabroot', 'matrix_type', 'max', 'mcnemar_test', + 'md5sum', 'mean', 'meansq', 'median', 'menu', 'mesh', 'meshc', + 'meshgrid', 'meshz', 'mex', 'mexext', 'mgorth', 'mkoctfile', 'mkpp', + 'mode', 'moment', 'movefile', 'mpoles', 'mu2lin', 'namelengthmax', + 'nargchk', 'narginchk', 'nargoutchk', 'nbincdf', 'nbininv', 'nbinpdf', + 'nbinrnd', 'nchoosek', 'ndgrid', 'newplot', 'news', 'nextpow2', + 'nonzeros', 'normcdf', 'normest', 'norminv', 'normpdf', 'normrnd', + 'now', 'nproc', 'nthargout', 'nthroot', 'ntsc2rgb', 'null', 'num2str', + 'ocean', 'ols', 'onenormest', 'optimget', 'optimset', 'orderfields', + 'orient', 'orth', 'pack', 'paren', 'pareto', 'parseparams', 'pascal', + 'patch', 'pathdef', 'pbaspect', 'pcg', 'pchip', 'pcolor', 'pcr', + 'peaks', 'periodogram', 'perl', 'perms', 'perror', 'pie', 'pie3', + 'pink', 'pinv', 'pkg', 'planerot', 'playaudio', 'plot', 'plot3', + 'plotmatrix', 'plotyy', 'poisscdf', 'poissinv', 'poisspdf', + 'poissrnd', 'pol2cart', 'polar', 'poly', 'polyaffine', 'polyarea', + 'polyder', 'polyderiv', 'polyfit', 'polygcd', 'polyint', 'polyout', + 'polyreduce', 'polyval', 'polyvalm', 'postpad', 'pow2', 'powerset', + 'ppder', 'ppint', 'ppjumps', 'ppplot', 'ppval', 'pqpnonneg', + 'prctile', 'prepad', 'primes', 'print', 'printAllBuiltins', + 'print_usage', 'prism', 'probit', 'profexplore', 'profile', + 'profshow', 'prop_test_2', 'python', 'qp', 'qqplot', 'qr', 'quad', + 'quadcc', 'quadgk', 'quadl', 'quadv', 'quantile', 'quiver', 'quiver3', + 'qz', 'qzhess', 'rainbow', 'rand', 'randi', 'range', 'rank', 'ranks', + 'rat', 'rcond', 'reallog', 'realpow', 'realsqrt', 'record', + 'rectangle', 'rectint', 'recycle', 'refresh', 'refreshdata', 'regexp', + 'regexptranslate', 'replot', 'repmat', 'residue', 'rgb2hsv', + 'rgb2ind', 'rgb2ntsc', 'ribbon', 'rindex', 'rmappdata', 'rmpref', + 'roots', 'rose', 'rosser', 'rot90', 'rotdim', 'rref', 'run', + 'run_count', 'run_test', 'rundemos', 'runlength', 'runtests', + 'saveas', 'saveaudio', 'saveimage', 'saveobj', 'savepath', 'scatter', + 'scatter3', 'schur', 'sec', 'secd', 'sech', 'semicolon', 'semilogx', + 'semilogxerr', 'semilogy', 'semilogyerr', 'setappdata', 'setaudio', + 'setdiff', 'setfield', 'setpref', 'setstr', 'setxor', 'shading', + 'shell_cmd', 'shg', 'shift', 'shiftdim', 'sign_test', 'sinc', 'sind', + 'sinetone', 'sinewave', 'skewness', 'slice', 'sombrero', 'sortrows', + 'spaugment', 'spconvert', 'spdiags', 'spearman', 'spectral_adf', + 'spectral_xdf', 'specular', 'speed', 'spencer', 'speye', 'spfun', + 'sph2cart', 'sphere', 'spinmap', 'spline', 'spones', 'spparms', + 'sprand', 'sprandn', 'sprandsym', 'spring', 'spstats', 'spy', 'sqp', + 'sqrtm', 'stairs', 'statistics', 'std', 'stdnormal_cdf', + 'stdnormal_inv', 'stdnormal_pdf', 'stdnormal_rnd', 'stem', 'stem3', + 'stft', 'str2double', 'str2num', 'strcat', 'strchr', 'strerror', + 'strfind', 'strjust', 'strmatch', 'strread', 'strsplit', 'strtok', + 'strtrim', 'strtrunc', 'structfun', 'studentize', 'sub2ind', + 'subplot', 'subsindex', 'subspace', 'substr', 'substruct', 'summer', + 'surf', 'surface', 'surfc', 'surfl', 'surfnorm', 'svd', 'svds', + 'swapbytes', 'syl', 'sylvester_matrix', 'symbfact', 'symrcm', + 'symvar', 'synthesis', 't_test', 't_test_2', 't_test_regression', + 'table', 'tand', 'tar', 'tcdf', 'tempdir', 'tempname', 'test', 'text', + 'textread', 'textscan', 'time', 'tinv', 'title', 'toeplitz', 'tpdf', + 'trace', 'trapz', 'treelayout', 'treeplot', 'tril', 'trimesh', + 'triplequad', 'triplot', 'trisurf', 'trnd', 'tsearch', 'tsearchn', + 'type', 'typecast', 'u_test', 'uicontextmenu', 'uicontrol', + 'uigetdir', 'uigetfile', 'uimenu', 'uipanel', 'uipushtool', + 'uiputfile', 'uiresume', 'uitoggletool', 'uitoolbar', 'uiwait', + 'unidcdf', 'unidinv', 'unidpdf', 'unidrnd', 'unifcdf', 'unifinv', + 'unifpdf', 'unifrnd', 'unimplemented', 'union', 'unique', 'unix', + 'unmkpp', 'unpack', 'untabify', 'untar', 'unwrap', 'unzip', + 'urlwrite', 'usejava', 'validatestring', 'values', 'vander', 'var', + 'var_test', 'vech', 'ver', 'version', 'view', 'voronoi', 'voronoin', + 'waitbar', 'waitforbuttonpress', 'warning_ids', 'wavread', 'wavwrite', + 'wblcdf', 'wblinv', 'wblpdf', 'wblrnd', 'weekday', 'weibcdf', + 'weibinv', 'weibpdf', 'weibrnd', 'welch_test', 'what', 'which', + 'white', 'whitebg', 'wienrnd', 'wilcoxon_test', 'wilkinson', 'winter', + 'xlabel', 'xlim', 'xor', 'ylabel', 'ylim', 'yulewalker', 'z_test', + 'z_test_2', 'zip', 'zlabel', 'zlim', 'zscore', 'airy', 'arrayfun', + 'besselh', 'besseli', 'besselk', 'bessely', 'bitpack', 'bitunpack', + 'blkmm', 'cellindexmat', 'cellslices', 'chol2inv', 'choldelete', + 'cholinsert', 'cholinv', 'cholshift', 'cholupdate', 'convn', + 'csymamd', 'cummax', 'cummin', 'daspk_options', 'dasrt_options', + 'dassl_options', 'endgrent', 'endpwent', 'etree', 'getgrgid', + 'getgrnam', 'getpwnam', 'getpwuid', 'gmtime', 'gui_mode', 'ifft', + 'ifft2', 'ifftn', 'ind2sub', 'inverse', 'localtime', 'lsode_options', + 'luupdate', 'mat2cell', 'min', 'mktime', 'mouse_wheel_zoom', + 'num2cell', 'num2hex', 'qrdelete', 'qrinsert', 'qrshift', 'qrupdate', + 'quad_options', 'rande', 'randg', 'randn', 'randp', 'randperm', + 'regexpi', 'regexprep', 'rsf2csf', 'setgrent', 'setpwent', 'sprank', + 'strftime', 'strptime', 'strrep', 'svd_driver', 'symamd', 'triu', + 'urlread' ), + // Private builtin + 7 => array( + '__accumarray_max__', '__accumarray_min__', '__accumarray_sum__', + '__accumdim_sum__', '__builtins__', '__calc_dimensions__', + '__current_scope__', '__display_tokens__', '__dump_symtab_info__', + '__end__', '__get__', '__go_axes__', '__go_axes_init__', + '__go_delete__', '__go_execute_callback__', '__go_figure__', + '__go_figure_handles__', '__go_handles__', '__go_hggroup__', + '__go_image__', '__go_line__', '__go_patch__', '__go_surface__', + '__go_text__', '__go_uicontextmenu__', '__go_uicontrol__', + '__go_uimenu__', '__go_uipanel__', '__go_uipushtool__', + '__go_uitoggletool__', '__go_uitoolbar__', '__gud_mode__', + '__image_pixel_size__', '__is_handle_visible__', '__isa_parent__', + '__keywords__', '__lexer_debug_flag__', '__list_functions__', + '__operators__', '__parent_classes__', '__parser_debug_flag__', + '__pathorig__', '__profiler_data__', '__profiler_enable__', + '__profiler_reset__', '__request_drawnow__', '__sort_rows_idx__', + '__token_count__', '__varval__', '__version_info__', '__which__' + ), + // Private Octave functions + 8 => array( + '__all_opts__', '__contourc__', '__delaunayn__', '__dispatch__', + '__dsearchn__', '__error_text__', '__finish__', '__fltk_uigetfile__', + '__glpk__', '__gnuplot_drawnow__', '__init_fltk__', + '__init_gnuplot__', '__lin_interpn__', '__magick_read__', + '__makeinfo__', '__pchip_deriv__', '__plt_get_axis_arg__', '__qp__', + '__voronoi__', '__fltk_maxtime__', '__fltk_redraw__', '__ftp__', + '__ftp_ascii__', '__ftp_binary__', '__ftp_close__', '__ftp_cwd__', + '__ftp_delete__', '__ftp_dir__', '__ftp_mget__', '__ftp_mkdir__', + '__ftp_mode__', '__ftp_mput__', '__ftp_pwd__', '__ftp_rename__', + '__ftp_rmdir__', '__magick_finfo__', '__magick_format_list__', + '__magick_write__' + ), + // Builtin Global Variables + 9 => array( + 'EDITOR', 'EXEC_PATH', 'F_DUPFD', 'F_GETFD', 'F_GETFL', 'F_SETFD', + 'F_SETFL', 'I', 'IMAGE_PATH', 'J', 'NA', 'OCTAVE_HOME', + 'OCTAVE_VERSION', 'O_APPEND', 'O_ASYNC', 'O_CREAT', 'O_EXCL', + 'O_NONBLOCK', 'O_RDONLY', 'O_RDWR', 'O_SYNC', 'O_TRUNC', 'O_WRONLY', + 'PAGER', 'PAGER_FLAGS', 'PS1', 'PS2', 'PS4', 'SEEK_CUR', 'SEEK_END', + 'SEEK_SET', 'SIG', 'S_ISBLK', 'S_ISCHR', 'S_ISDIR', 'S_ISFIFO', + 'S_ISLNK', 'S_ISREG', 'S_ISSOCK', 'WCONTINUE', 'WCOREDUMP', + 'WEXITSTATUS', 'WIFCONTINUED', 'WIFEXITED', 'WIFSIGNALED', + 'WIFSTOPPED', 'WNOHANG', 'WSTOPSIG', 'WTERMSIG', 'WUNTRACED' + ), //Function handle - 7 => array("@([A-Za-z_][A-Za-z1-9_]*)?"), + 10 => array("@([A-Za-z_][A-Za-z1-9_]*)?"), // Boolean // false and true can be used as functions too. // Do not highlight as boolean if followed by parentheses. - 8 => array("\b([false|true])(\b(?!(\s)*\()"), + 11 => array("\b([false|true])(\b(?!(\s)*\()"), // Decimal - 9 => array("\b([1-9][0-9]*|0)([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), + 12 => array("\b([1-9][0-9]*|0)([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), // Floating point number - 10 => array("\b([0-9]+[Ee][-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFlL]?" + 13 => array("\b([0-9]+[Ee][-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFlL]?" ), // Octal number - 11 => array("\b0[0-7]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), + 14 => array("\b0[0-7]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), // Hex number - 12 => array("\b0[xX][0-9a-fA-F]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), + 15 => array("\b0[xX][0-9a-fA-F]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), // Reserved constants // Most of the constants can be used as functions too. Do not highlight // as constants if followed by parentheses. - 13 => array("[e|eps|(J|j|I|i)|(Inf|inf)|(NaN|nan)|NA|ones|pi|rand|randn|zeros])(\b(?!(\s)*\()"), + 16 => array("[e|eps|(J|j|I|i)|(Inf|inf)|(NaN|nan)|NA|ones|pi|rand|randn|zeros])(\b(?!(\s)*\()"), // Package manager - 14 => array("(\b)pkg(?!(\s)*\()(\s)+(((un)?install|(un)?load|list|(global|local)_list|describe|prefix|(re)?build)(\b))?") + 17 => array("(\b)pkg(?!(\s)*\()(\s)+(((un)?install|(un)?load|list|(global|local)_list|describe|prefix|(re)?build)(\b))?") ), - 'SYMBOLS' => array("((\.)?\+{1,2}?(?!\+) | (\.)?\-{1,2}?(?!\-) | - (\.)?\*{1,2}?(?!\*) | (\.)?\/(?!\^) | - (\.)?\\(?!\^) | (\.)?\^(?!\^) | - (?<=[0-9a-zA-Z_)\]}])(\.)?' | <=? | - >=? | != | ~= | == | <> | - &{1,2}?(?!&) | \|{1,2}?(?!\|) | ! | ~ | - = | : | ...)" - ), + 'SYMBOLS' => array( + '!', '!=', '"', '&', '&&', "'", + '*', '**', '+', '++', ',', '-', '--', ".'", '.*', '.**', '...', + './', '.^', '/', ':', ';', '<', '<=', '=', '==', '>', '>=', '^', + '|', '||', '~', '~=' + ), 'CASE_SENSITIVE' => array( GESHI_COMMENTS => false, 1 => false, @@ -375,7 +410,9 @@ 11 => false, 12 => false, 13 => false, - 14 => false + 14 => false, + 15 => false, + 16 => false ), 'STYLES' => array( 'KEYWORDS' => array( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpi...@us...> - 2012-05-23 12:24:36
|
Revision: 10502 http://octave.svn.sourceforge.net/octave/?rev=10502&view=rev Author: jpicarbajal Date: 2012-05-23 12:24:25 +0000 (Wed, 23 May 2012) Log Message: ----------- admin: lang files Modified Paths: -------------- trunk/octave-forge/admin/langfiles/octave.php Modified: trunk/octave-forge/admin/langfiles/octave.php =================================================================== --- trunk/octave-forge/admin/langfiles/octave.php 2012-05-23 12:18:13 UTC (rev 10501) +++ trunk/octave-forge/admin/langfiles/octave.php 2012-05-23 12:24:25 UTC (rev 10502) @@ -445,7 +445,7 @@ 2 => '' ), 'SYMBOLS' => array( - 0 => 'color: #080;' + 0 => 'color: #FF0000; font-weight:bold;' ), 'REGEXPS' => array( 0 => 'color: #33f;' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpi...@us...> - 2012-05-23 12:34:32
|
Revision: 10503 http://octave.svn.sourceforge.net/octave/?rev=10503&view=rev Author: jpicarbajal Date: 2012-05-23 12:34:26 +0000 (Wed, 23 May 2012) Log Message: ----------- admin: lang files Modified Paths: -------------- trunk/octave-forge/admin/langfiles/octave.php Modified: trunk/octave-forge/admin/langfiles/octave.php =================================================================== --- trunk/octave-forge/admin/langfiles/octave.php 2012-05-23 12:24:25 UTC (rev 10502) +++ trunk/octave-forge/admin/langfiles/octave.php 2012-05-23 12:34:26 UTC (rev 10503) @@ -62,9 +62,7 @@ 'global ', 'persistent ', 'static ' ), // Internal variables - 3 => array( - 'ans' - ), + 3 => array('ans'), // Reserved words 4 => array( 'break', 'case', 'catch', 'continue', 'do', 'else', 'elseif', 'end', @@ -393,7 +391,7 @@ '!', '!=', '"', '&', '&&', "'", '*', '**', '+', '++', ',', '-', '--', ".'", '.*', '.**', '...', './', '.^', '/', ':', ';', '<', '<=', '=', '==', '>', '>=', '^', - '|', '||', '~', '~=' + '|', '||', '~', '~=', '\\' ), 'CASE_SENSITIVE' => array( GESHI_COMMENTS => false, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpi...@us...> - 2012-05-23 14:20:24
|
Revision: 10505 http://octave.svn.sourceforge.net/octave/?rev=10505&view=rev Author: jpicarbajal Date: 2012-05-23 14:20:14 +0000 (Wed, 23 May 2012) Log Message: ----------- admin: lang files and script to print builtins Modified Paths: -------------- trunk/octave-forge/admin/langfiles/octave.php Modified: trunk/octave-forge/admin/langfiles/octave.php =================================================================== --- trunk/octave-forge/admin/langfiles/octave.php 2012-05-23 14:15:48 UTC (rev 10504) +++ trunk/octave-forge/admin/langfiles/octave.php 2012-05-23 14:20:14 UTC (rev 10505) @@ -502,4 +502,5 @@ ) ) ); + ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpi...@us...> - 2012-05-23 20:35:13
|
Revision: 10507 http://octave.svn.sourceforge.net/octave/?rev=10507&view=rev Author: jpicarbajal Date: 2012-05-23 20:35:07 +0000 (Wed, 23 May 2012) Log Message: ----------- admin: lang files and script to print builtins Modified Paths: -------------- trunk/octave-forge/admin/langfiles/octave.php Modified: trunk/octave-forge/admin/langfiles/octave.php =================================================================== --- trunk/octave-forge/admin/langfiles/octave.php 2012-05-23 17:31:49 UTC (rev 10506) +++ trunk/octave-forge/admin/langfiles/octave.php 2012-05-23 20:35:07 UTC (rev 10507) @@ -43,13 +43,26 @@ $language_data = array ( 'LANG_NAME' => 'GNU/Octave', 'COMMENT_SINGLE' => array(1=> '#', 2 => '%'), - 'COMMENT_MULTI' => array('#{' => '#}', '%{' => '%}'), - //Octave Strings + // we really can't use this since these characters need to be alone (or with + // whitespace) on a line. We will have to use regexp + //'COMMENT_MULTI' => array('#{' => '#}', '%{' => '%}'), 'COMMENT_REGEXP' => array( - 2 => "/(?<![\\w\\)\\]\\}\\.])('[^\\n']*?')/" + // Single quote strings: we really can't use QUOTEMARKS here since new + // lines will break the string. Plus, single quote strings do not even + // allow for continuation markers, only double quote strings allow it. + // Also, to do not misdetect the transpose operator ' as the start of a + // string we assert to not follow a variable name (letters, digits and + // underscores) or a closing bracket (round, square or curly) or a dot + // (to form the array transpose operator ".'" ). + // see the source of octave.lang of gtksourceview + 3 => "/(?<![0-9a-zA-Z_\)\]}\.])'.*?'/", + // Double quote strings: we also can't use QUOTEMARKS here (see single + // line quotes). However, with double quote strings both \ and ... can + // be used to make multiline strings. Continuation markers can be + // followed by whitespace + 4 => '/"(.|(\.\.\.|\\\)(\s)*?\n)*?(?<!\\\)"/', ), 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, - 'QUOTEMARKS' => array('"',"'"), 'ESCAPE_CHAR' => '', 'KEYWORDS' => array( // Data types @@ -440,15 +453,16 @@ GESHI_MODIFIERS => '', GESHI_BEFORE => '', GESHI_AFTER => '' - )//, + ), // Decimal TODO not working -// 2 => array( -// GESHI_SEARCH => '(\b([1-9][0-9]*|0)([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b)', -// GESHI_REPLACE => '\\1', -// GESHI_MODIFIERS => '', -// GESHI_BEFORE => '', -// GESHI_AFTER => '' -// ) +# 2 => array( +# GESHI_SEARCH => '(\b([1-9][0-9]*|0)([u]([l]|LL|ll)?|([l]|LL|ll)[u]?)?\b)', +#// GESHI_SEARCH => '(stuff)', +# GESHI_REPLACE => '\\1', +# GESHI_MODIFIERS => 'si', +# GESHI_BEFORE => '', +# GESHI_AFTER => '' +# ) ), 'STRICT_MODE_APPLIES' => GESHI_NEVER, @@ -467,6 +481,8 @@ 'COMMENTS' => array( 1 => 'color: #0000FF; font-style: italic;', 2 => 'color: #0000FF; font-style: italic;', + 3 => 'color: #FF00FF; font-style: italic;', // single quote strings + 4 => 'color: #FF00FF; font-style: italic;', // double quote strings 'MULTI' => 'color: #0000FF; font-style: italic;' ), 'ESCAPE_CHAR' => array( @@ -476,7 +492,7 @@ 0 => 'color: #080;' ), 'STRINGS' => array( - //0 => 'color: #A020F0;' + 0 => 'color: #A020F0;' ), 'NUMBERS' => array( 0 => 'color: #33f;' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpi...@us...> - 2012-05-23 21:47:40
|
Revision: 10508 http://octave.svn.sourceforge.net/octave/?rev=10508&view=rev Author: jpicarbajal Date: 2012-05-23 21:47:33 +0000 (Wed, 23 May 2012) Log Message: ----------- admin: lang files Modified Paths: -------------- trunk/octave-forge/admin/langfiles/octave.php Modified: trunk/octave-forge/admin/langfiles/octave.php =================================================================== --- trunk/octave-forge/admin/langfiles/octave.php 2012-05-23 20:35:07 UTC (rev 10507) +++ trunk/octave-forge/admin/langfiles/octave.php 2012-05-23 21:47:33 UTC (rev 10508) @@ -62,6 +62,8 @@ // followed by whitespace 4 => '/"(.|(\.\.\.|\\\)(\s)*?\n)*?(?<!\\\)"/', ), + 'NUMBERS' => GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | + GESHI_NUMBER_FLT_SCI_ZERO, 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'ESCAPE_CHAR' => '', 'KEYWORDS' => array( @@ -74,7 +76,7 @@ 2 => array( 'global', 'persistent', 'static' ), - // Internal variables + // Internal variable 3 => array('ans'), // Reserved words 4 => array( @@ -87,7 +89,7 @@ ), // Built in 5 => array( - 'Inf', 'NaN', 'P_tmpdir', 'abs', 'acos', 'acosh', + 'P_tmpdir', 'abs', 'acos', 'acosh', 'add_input_event_hook', 'addlistener', 'addpath', 'addproperty', 'all', 'allow_noninteger_range_as_index', 'and', 'angle', 'any', 'arg', 'argnames', 'argv', 'asin', 'asinh', 'assignin', 'atan', @@ -145,7 +147,7 @@ 'octave_tmp_file_name', 'onCleanup', 'ones', 'optimize_subsasgn_calls', 'or', 'output_max_field_width', 'output_precision', 'page_output_immediately', 'page_screen_output', - 'path', 'pathsep', 'pause', 'pclose', 'permute', 'pi', 'pipe', 'plus', + 'path', 'pathsep', 'pause', 'pclose', 'permute', 'pipe', 'plus', 'popen', 'popen2', 'power', 'print_empty_dimensions', 'print_struct_array_contents', 'printf', 'prod', 'program_invocation_name', 'program_name', 'putenv', 'puts', 'pwd', @@ -369,7 +371,7 @@ // Builtin Global Variables 9 => array( 'EDITOR', 'EXEC_PATH', 'F_DUPFD', 'F_GETFD', 'F_GETFL', 'F_SETFD', - 'F_SETFL', 'I', 'IMAGE_PATH', 'J', 'NA', 'OCTAVE_HOME', + 'F_SETFL', 'IMAGE_PATH', 'OCTAVE_HOME', 'OCTAVE_VERSION', 'O_APPEND', 'O_ASYNC', 'O_CREAT', 'O_EXCL', 'O_NONBLOCK', 'O_RDONLY', 'O_RDWR', 'O_SYNC', 'O_TRUNC', 'O_WRONLY', 'PAGER', 'PAGER_FLAGS', 'PS1', 'PS2', 'PS4', 'SEEK_CUR', 'SEEK_END', @@ -385,10 +387,6 @@ 14 => array("\b0[0-7]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), // Hex number 15 => array("\b0[xX][0-9a-fA-F]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), - // Reserved constants - // Most of the constants can be used as functions too. Do not highlight - // as constants if followed by parentheses. - 16 => array("[e|eps|(J|j|I|i)|(Inf|inf)|(NaN|nan)|NA|ones|pi|rand|randn|zeros])(\b(?!(\s)*\()"), // Package manager 17 => array("(\b)pkg(?!(\s)*\()(\s)+(((un)?install|(un)?load|list|(global|local)_list|describe|prefix|(re)?build)(\b))?") ), @@ -396,8 +394,8 @@ 0 => array( '!', '!=', '&', '&&','|', '||', '~', '~=', '<', '<=', '=', '==', '>', '>='), - 1 => array('*', '**', '+', '++', '-', '--', '/', '\'), - 2 => array('.*', '.**','./', '.^', '^','.\'), + 1 => array('*', '**', '+', '++', '-', '--', '/', "\\","'"), + 2 => array('.*', '.**','./', '.^', '^',".\\",".'"), 3 => array(':'), 4 => array(',', '...', ';') ), @@ -415,7 +413,6 @@ 13 => false, 14 => false, 15 => false, - 16 => false, 17 => false ), 'URLS' => array( @@ -431,7 +428,6 @@ 13 => '', 14 => '', 15 => '', - 16 => '', 17 => '' ), 'OOLANG' => true, @@ -442,28 +438,33 @@ 'REGEXPS' => array( //Complex numbers // 0 => "(?<![\\w\\/])[+-]?[\\d]*([\\d]\\.|\\.[\\d])?[\\d]*[ij](?![\\w]|\<DOT>html)", - // Boolean + // Boolean functions // false and true can be used as functions too. // Do not highlight as boolean if followed by parentheses. -// 1 => "(\b([false|true])(\\b(?!(\\s)*\())" + 1 => array( + GESHI_SEARCH => '(false|true)(\s*\\()', + GESHI_REPLACE => '\\1', + GESHI_MODIFIERS => '', + GESHI_BEFORE => '', + GESHI_AFTER => '\\2' + ), //Function handle - 1 => array( + 2 => array( GESHI_SEARCH => '(@([A-Za-z_][A-Za-z1-9_]*)?)', GESHI_REPLACE => '\\1', GESHI_MODIFIERS => '', GESHI_BEFORE => '', GESHI_AFTER => '' ), - // Decimal TODO not working -# 2 => array( -# GESHI_SEARCH => '(\b([1-9][0-9]*|0)([u]([l]|LL|ll)?|([l]|LL|ll)[u]?)?\b)', -#// GESHI_SEARCH => '(stuff)', -# GESHI_REPLACE => '\\1', -# GESHI_MODIFIERS => 'si', -# GESHI_BEFORE => '', -# GESHI_AFTER => '' -# ) - + // Most of the constants can be used as functions too. Do not highlight + // as constants if followed by parentheses. + 3 => array( + GESHI_SEARCH => '(e|eps|inf|nan|NA|pi)(\s*\\()', + GESHI_REPLACE => '\\1', + GESHI_MODIFIERS => '', + GESHI_BEFORE => '', + GESHI_AFTER => '\\2' + ) ), 'STRICT_MODE_APPLIES' => GESHI_NEVER, 'SCRIPT_DELIMITERS' => array(), @@ -472,7 +473,7 @@ 'KEYWORDS' => array( 1 => 'color: #2E8B57; font-weight:bold;', // Data types 2 => 'color: #2E8B57;', // Storage type - 3 => 'color: #0000FF; font-weight:bold;', // Internal variable +// 3 => 'color: #0000FF; font-weight:bold;', // Internal variable 4 => 'color: #990000; font-weight:bold;', // Reserved words 5 => 'color: #008A8C; font-weight:bold;', // Built-in 6 => 'color: #008A8C;', // Octave functions @@ -495,7 +496,10 @@ 0 => 'color: #A020F0;' ), 'NUMBERS' => array( - 0 => 'color: #33f;' + 0 => 'color: #cc66cc;', + GESHI_NUMBER_OCT_PREFIX => 'color: #208080;', + GESHI_NUMBER_HEX_PREFIX => 'color: #208080;', + GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;' ), 'METHODS' => array( 1 => '', @@ -509,9 +513,9 @@ 4 => 'color: #33f' ), 'REGEXPS' => array( - 0 => 'color: #33f;', - 1 => 'color: #0000FF; font-weight:bold;', //Function handle - 2 => 'color: #CC3399;' //Decimal + 1 => 'color: #008A8C; font-weight:bold;', // Boolean func + 2 => 'color: #006600; font-weight:bold;', //Function handle + 3 => 'color: #008A8C; font-weight:bold;' // Constant used as func ), 'SCRIPT' => array( 0 => '' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpi...@us...> - 2012-05-24 18:52:05
|
Revision: 10517 http://octave.svn.sourceforge.net/octave/?rev=10517&view=rev Author: jpicarbajal Date: 2012-05-24 18:51:59 +0000 (Thu, 24 May 2012) Log Message: ----------- admin: language file for geshi Modified Paths: -------------- trunk/octave-forge/admin/langfiles/octave.php Modified: trunk/octave-forge/admin/langfiles/octave.php =================================================================== --- trunk/octave-forge/admin/langfiles/octave.php 2012-05-24 11:25:17 UTC (rev 10516) +++ trunk/octave-forge/admin/langfiles/octave.php 2012-05-24 18:51:59 UTC (rev 10517) @@ -61,6 +61,11 @@ // be used to make multiline strings. Continuation markers can be // followed by whitespace 4 => '/"(.|(\.\.\.|\\\)(\s)*?\n)*?(?<!\\\)"/', + // Block comments: the ms modifiers treat strings as multiple lines (to + // be able to use ^ and $ instead of newline and thus support block + // comments on the first and last line of source) and make . also match + // a newline + 5 => "/^\s*?[%#]{\s*?$.*?^\s*?[%#]}\s*?$/ms", ), 'NUMBERS' => GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_SCI_ZERO, @@ -120,7 +125,7 @@ 'geteuid', 'getgid', 'gethostname', 'getpgrp', 'getpid', 'getppid', 'getuid', 'glob', 'gt', 'history', 'history_control', 'history_file', 'history_size', 'history_timestamp_format_string', 'home', 'horzcat', - 'hypot', 'i', 'ifelse', 'ignore_function_time_stamp', 'imag', + 'hypot', 'ifelse', 'ignore_function_time_stamp', 'imag', 'inferiorto', 'info_file', 'info_program', 'inline', 'input', 'intmax', 'intmin', 'ipermute', 'is_absolute_filename', 'is_dq_string', 'is_function_handle', @@ -132,7 +137,7 @@ 'islower', 'ismatrix', 'ismethod', 'isna', 'isnan', 'isnull', 'isnumeric', 'isobject', 'isprint', 'ispunct', 'isreal', 'issorted', 'isspace', 'issparse', 'isstruct', 'isupper', 'isvarname', 'isxdigit', - 'j', 'kbhit', 'keyboard', 'kill', 'lasterr', 'lasterror', 'lastwarn', + 'kbhit', 'keyboard', 'kill', 'lasterr', 'lasterror', 'lastwarn', 'ldivide', 'le', 'length', 'lgamma', 'link', 'linspace', 'list_in_columns', 'load', 'loaded_graphics_toolkits', 'log', 'log10', 'log1p', 'log2', 'lower', 'lstat', 'lt', @@ -380,13 +385,8 @@ 'WEXITSTATUS', 'WIFCONTINUED', 'WIFEXITED', 'WIFSIGNALED', 'WIFSTOPPED', 'WNOHANG', 'WSTOPSIG', 'WTERMSIG', 'WUNTRACED' ), - // Floating point number - 13 => array("\b([0-9]+[Ee][-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFlL]?" - ), - // Octal number - 14 => array("\b0[0-7]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), - // Hex number - 15 => array("\b0[xX][0-9a-fA-F]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b"), + // Constant functions + 10 => array ('e','eps','inf','nan','NA','pi','i','j','true','false'), // Package manager 17 => array("(\b)pkg(?!(\s)*\()(\s)+(((un)?install|(un)?load|list|(global|local)_list|describe|prefix|(re)?build)(\b))?") ), @@ -410,10 +410,7 @@ 7 => false, 8 => false, 9 => false, - 13 => false, - 14 => false, - 15 => false, - 17 => false + 10 => false ), 'URLS' => array( 1 => '', @@ -425,10 +422,7 @@ 7 => '', 8 => '', 9 => '', - 13 => '', - 14 => '', - 15 => '', - 17 => '' + 10 => '' ), 'OOLANG' => true, 'OBJECT_SPLITTERS' => array( @@ -436,18 +430,16 @@ 2 => '::' ), 'REGEXPS' => array( - //Complex numbers -// 0 => "(?<![\\w\\/])[+-]?[\\d]*([\\d]\\.|\\.[\\d])?[\\d]*[ij](?![\\w]|\<DOT>html)", // Boolean functions // false and true can be used as functions too. // Do not highlight as boolean if followed by parentheses. - 1 => array( - GESHI_SEARCH => '(false|true)(\s*\\()', - GESHI_REPLACE => '\\1', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '\\2' - ), +# 1 => array( +# GESHI_SEARCH => '(false|true)(\s*\\()', +# GESHI_REPLACE => '\\1', +# GESHI_MODIFIERS => '', +# GESHI_BEFORE => '', +# GESHI_AFTER => '\\2' +# ), //Function handle 2 => array( GESHI_SEARCH => '(@([A-Za-z_][A-Za-z1-9_]*)?)', @@ -455,15 +447,6 @@ GESHI_MODIFIERS => '', GESHI_BEFORE => '', GESHI_AFTER => '' - ), - // Most of the constants can be used as functions too. Do not highlight - // as constants if followed by parentheses. - 3 => array( - GESHI_SEARCH => '(e|eps|inf|nan|NA|pi)(\s*\\()', - GESHI_REPLACE => '\\1', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '\\2' ) ), 'STRICT_MODE_APPLIES' => GESHI_NEVER, @@ -473,17 +456,19 @@ 'KEYWORDS' => array( 1 => 'color: #2E8B57; font-weight:bold;', // Data types 2 => 'color: #2E8B57;', // Storage type -// 3 => 'color: #0000FF; font-weight:bold;', // Internal variable + 3 => 'color: #0000FF; font-weight:bold;', // Internal variable 4 => 'color: #990000; font-weight:bold;', // Reserved words 5 => 'color: #008A8C; font-weight:bold;', // Built-in 6 => 'color: #008A8C;', // Octave functions - 9 => 'color: #000000; font-weight:bold;' // Builtin Global Variables + 9 => 'color: #000000; font-weight:bold;', // Builtin Global Variables + 10 => 'color: #008A8C; font-weight:bold;' // Constant functions ), 'COMMENTS' => array( 1 => 'color: #0000FF; font-style: italic;', 2 => 'color: #0000FF; font-style: italic;', 3 => 'color: #FF00FF; font-style: italic;', // single quote strings 4 => 'color: #FF00FF; font-style: italic;', // double quote strings + 5 => 'color: #0000FF; font-style: italic;', // block comments 'MULTI' => 'color: #0000FF; font-style: italic;' ), 'ESCAPE_CHAR' => array( @@ -513,9 +498,8 @@ 4 => 'color: #33f' ), 'REGEXPS' => array( - 1 => 'color: #008A8C; font-weight:bold;', // Boolean func +# 1 => 'color: #008A8C; font-weight:bold;', // Boolean func 2 => 'color: #006600; font-weight:bold;', //Function handle - 3 => 'color: #008A8C; font-weight:bold;' // Constant used as func ), 'SCRIPT' => array( 0 => '' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpi...@us...> - 2012-05-24 20:29:05
|
Revision: 10518 http://octave.svn.sourceforge.net/octave/?rev=10518&view=rev Author: jpicarbajal Date: 2012-05-24 20:28:58 +0000 (Thu, 24 May 2012) Log Message: ----------- admin: lang files Modified Paths: -------------- trunk/octave-forge/admin/langfiles/octave.php Modified: trunk/octave-forge/admin/langfiles/octave.php =================================================================== --- trunk/octave-forge/admin/langfiles/octave.php 2012-05-24 18:51:59 UTC (rev 10517) +++ trunk/octave-forge/admin/langfiles/octave.php 2012-05-24 20:28:58 UTC (rev 10518) @@ -45,7 +45,8 @@ 'COMMENT_SINGLE' => array(1=> '#', 2 => '%'), // we really can't use this since these characters need to be alone (or with // whitespace) on a line. We will have to use regexp - //'COMMENT_MULTI' => array('#{' => '#}', '%{' => '%}'), + 'COMMENT_MULTI' => array(), + 'QUOTEMARKS' => array(), 'COMMENT_REGEXP' => array( // Single quote strings: we really can't use QUOTEMARKS here since new // lines will break the string. Plus, single quote strings do not even @@ -55,349 +56,361 @@ // underscores) or a closing bracket (round, square or curly) or a dot // (to form the array transpose operator ".'" ). // see the source of octave.lang of gtksourceview - 3 => "/(?<![0-9a-zA-Z_\)\]}\.])'.*?'/", + 1 => "/(?<![0-9a-zA-Z_\)\]}\.])'.*?'/", // Double quote strings: we also can't use QUOTEMARKS here (see single // line quotes). However, with double quote strings both \ and ... can // be used to make multiline strings. Continuation markers can be // followed by whitespace - 4 => '/"(.|(\.\.\.|\\\)(\s)*?\n)*?(?<!\\\)"/', + 2 => '/"(.|(\.\.\.|\\\)(\s)*?\n)*?(?<!\\\)"/', // Block comments: the ms modifiers treat strings as multiple lines (to // be able to use ^ and $ instead of newline and thus support block // comments on the first and last line of source) and make . also match // a newline - 5 => "/^\s*?[%#]{\s*?$.*?^\s*?[%#]}\s*?$/ms", + 3 => "/^\s*?[%#]{\s*?$.*?^\s*?[%#]}\s*?$/ms", ), - 'NUMBERS' => GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | + 'NUMBERS' => + GESHI_NUMBER_INT_BASIC | + GESHI_NUMBER_OCT_PREFIX | + GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_SCI_ZERO, 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 'ESCAPE_CHAR' => '', 'KEYWORDS' => array( // Data types 1 => array( - 'cell', 'char', 'double', 'uint8', 'uint16', 'uint32', 'uint64', - 'int8','int16', 'int32', 'int64', 'logical', 'single', 'struct' + 'cell', 'char', 'double', 'uint8', 'uint16', 'uint32', 'uint64', + 'int8','int16', 'int32', 'int64', 'logical', 'single', 'struct' ), // Storage type 2 => array( - 'global', 'persistent', 'static' + 'global', 'persistent', 'static' ), // Internal variable 3 => array('ans'), // Reserved words 4 => array( - 'break', 'case', 'catch', 'continue', 'do', 'else', 'elseif', 'end', - 'end_try_catch', 'end_unwind_protect', 'endfor', 'endfunction', - 'endif', 'endparfor', 'endswitch', 'endwhile', 'for', 'function', - 'if', 'otherwise', 'parfor', 'return', - 'switch', 'try', 'until', 'unwind_protect', - 'unwind_protect_cleanup', 'varargin', 'varargout', 'while' + 'break', 'case', 'catch', 'continue', 'do', 'else', 'elseif', 'end', + 'end_try_catch', 'end_unwind_protect', 'endfor', 'endfunction', + 'endif', 'endparfor', 'endswitch', 'endwhile', 'for', 'function', + 'if', 'otherwise', 'parfor', 'return', + 'switch', 'try', 'until', 'unwind_protect', + 'unwind_protect_cleanup', 'varargin', 'varargout', 'while' ), // Built in 5 => array( - 'P_tmpdir', 'abs', 'acos', 'acosh', - 'add_input_event_hook', 'addlistener', 'addpath', 'addproperty', - 'all', 'allow_noninteger_range_as_index', 'and', 'angle', 'any', - 'arg', 'argnames', 'argv', 'asin', 'asinh', 'assignin', 'atan', - 'atan2', 'atanh', 'atexit', 'autoload', 'available_graphics_toolkits', - 'beep_on_error', 'bitand', 'bitmax', 'bitor', 'bitshift', 'bitxor', - 'builtin', 'canonicalize_file_name', 'cat', 'cbrt', 'cd', 'ceil', - 'cell2struct', 'cellstr', 'chdir', 'class', 'clc', - 'clear', 'columns', 'command_line_path', 'completion_append_char', - 'completion_matches', 'complex', 'confirm_recursive_rmdir', 'conj', - 'cos', 'cosh', 'cputime', 'crash_dumps_octave_core', 'ctranspose', - 'cumprod', 'cumsum', 'dbclear', 'dbcont', 'dbdown', 'dbnext', - 'dbquit', 'dbstack', 'dbstatus', 'dbstep', 'dbstop', 'dbtype', 'dbup', - 'dbwhere', 'debug_on_error', 'debug_on_interrupt', 'debug_on_warning', - 'default_save_options', 'dellistener', 'diag', 'diary', 'diff', - 'disp', 'do_braindead_shortcircuit_evaluation', 'do_string_escapes', - 'doc_cache_file', 'drawnow', 'dup2', 'e', 'echo', - 'echo_executing_commands', 'edit_history', 'eps', 'eq', 'erf', 'erfc', - 'erfcx', 'erfinv', 'errno', 'errno_list', 'error', 'eval', 'evalin', - 'exec', 'exist', 'exit', 'exp', 'expm1', 'eye', 'fclear', - 'fclose', 'fcntl', 'fdisp', 'feof', 'ferror', 'feval', 'fflush', - 'fgetl', 'fgets', 'fieldnames', 'file_in_loadpath', 'file_in_path', - 'filemarker', 'filesep', 'find_dir_in_path', 'finite', 'fix', - 'fixed_point_format', 'floor', 'fmod', 'fnmatch', 'fopen', 'fork', - 'format', 'formula', 'fprintf', 'fputs', 'fread', 'freport', - 'frewind', 'fscanf', 'fseek', 'fskipl', 'ftell', 'full', 'func2str', - 'functions', 'fwrite', 'gamma', 'gammaln', 'ge', 'genpath', 'get', - 'get_help_text', 'get_help_text_from_file', 'getegid', 'getenv', - 'geteuid', 'getgid', 'gethostname', 'getpgrp', 'getpid', 'getppid', - 'getuid', 'glob', 'gt', 'history', 'history_control', 'history_file', - 'history_size', 'history_timestamp_format_string', 'home', 'horzcat', - 'hypot', 'ifelse', 'ignore_function_time_stamp', 'imag', - 'inferiorto', 'info_file', 'info_program', 'inline', 'input', - 'intmax', 'intmin', 'ipermute', - 'is_absolute_filename', 'is_dq_string', 'is_function_handle', - 'is_rooted_relative_filename', 'is_sq_string', 'isalnum', 'isalpha', - 'isargout', 'isascii', 'isbool', 'iscell', 'iscellstr', 'ischar', - 'iscntrl', 'iscomplex', 'isdebugmode', 'isdigit', 'isempty', - 'isfield', 'isfinite', 'isfloat', 'isglobal', 'isgraph', 'ishandle', - 'isieee', 'isindex', 'isinf', 'isinteger', 'iskeyword', 'islogical', - 'islower', 'ismatrix', 'ismethod', 'isna', 'isnan', 'isnull', - 'isnumeric', 'isobject', 'isprint', 'ispunct', 'isreal', 'issorted', - 'isspace', 'issparse', 'isstruct', 'isupper', 'isvarname', 'isxdigit', - 'kbhit', 'keyboard', 'kill', 'lasterr', 'lasterror', 'lastwarn', - 'ldivide', 'le', 'length', 'lgamma', 'link', 'linspace', - 'list_in_columns', 'load', 'loaded_graphics_toolkits', 'log', 'log10', - 'log1p', 'log2', 'lower', 'lstat', 'lt', - 'make_absolute_filename', 'makeinfo_program', 'max_recursion_depth', - 'merge', 'methods', 'mfilename', 'minus', 'mislocked', - 'missing_function_hook', 'mkdir', 'mkfifo', 'mkstemp', 'mldivide', - 'mlock', 'mod', 'more', 'mpower', 'mrdivide', 'mtimes', 'munlock', - 'nargin', 'nargout', 'native_float_format', 'ndims', 'ne', - 'nfields', 'nnz', 'norm', 'not', 'nth_element', 'numel', 'nzmax', - 'octave_config_info', 'octave_core_file_limit', - 'octave_core_file_name', 'octave_core_file_options', - 'octave_tmp_file_name', 'onCleanup', 'ones', - 'optimize_subsasgn_calls', 'or', 'output_max_field_width', - 'output_precision', 'page_output_immediately', 'page_screen_output', - 'path', 'pathsep', 'pause', 'pclose', 'permute', 'pipe', 'plus', - 'popen', 'popen2', 'power', 'print_empty_dimensions', - 'print_struct_array_contents', 'printf', 'prod', - 'program_invocation_name', 'program_name', 'putenv', 'puts', 'pwd', - 'quit', 'rats', 'rdivide', 're_read_readline_init_file', - 'read_readline_init_file', 'readdir', 'readlink', 'real', 'realmax', - 'realmin', 'register_graphics_toolkit', 'rehash', 'rem', - 'remove_input_event_hook', 'rename', 'repelems', 'reset', 'reshape', - 'resize', 'restoredefaultpath', 'rethrow', 'rmdir', 'rmfield', - 'rmpath', 'round', 'roundb', 'rows', 'run_history', 'save', - 'save_header_format_string', 'save_precision', 'saving_history', - 'scanf', 'set', 'setenv', 'sighup_dumps_octave_core', 'sign', - 'sigterm_dumps_octave_core', 'silent_functions', 'sin', - 'sinh', 'size', 'size_equal', 'sizemax', 'sizeof', 'sleep', 'sort', - 'source', 'spalloc', 'sparse', 'sparse_auto_mutate', - 'split_long_rows', 'sprintf', 'sqrt', 'squeeze', 'sscanf', 'stat', - 'stderr', 'stdin', 'stdout', 'str2func', 'strcmp', 'strcmpi', - 'string_fill_char', 'strncmp', 'strncmpi', 'struct2cell', - 'struct_levels_to_print', 'strvcat', 'subsasgn', 'subsref', 'sum', - 'sumsq', 'superiorto', 'suppress_verbose_help_message', 'symlink', - 'system', 'tan', 'tanh', 'terminal_size', 'tic', 'tilde_expand', - 'times', 'tmpfile', 'tmpnam', 'toascii', 'toc', 'tolower', 'toupper', - 'transpose', 'typeinfo', - 'umask', 'uminus', 'uname', 'undo_string_escapes', 'unlink', - 'uplus', 'upper', 'usage', 'usleep', 'vec', 'vectorize', 'vertcat', - 'waitfor', 'waitpid', 'warning', 'warranty', 'who', 'whos', - 'whos_line_format', 'yes_or_no', 'zeros' + 'P_tmpdir', 'abs', 'acos', 'acosh', + 'add_input_event_hook', 'addlistener', 'addpath', 'addproperty', + 'all', 'allow_noninteger_range_as_index', 'and', 'angle', 'any', + 'arg', 'argnames', 'argv', 'asin', 'asinh', 'assignin', 'atan', + 'atan2', 'atanh', 'atexit', 'autoload', 'available_graphics_toolkits', + 'beep_on_error', 'bitand', 'bitmax', 'bitor', 'bitshift', 'bitxor', + 'builtin', 'canonicalize_file_name', 'cat', 'cbrt', 'cd', 'ceil', + 'cell2struct', 'cellstr', 'chdir', 'class', 'clc', + 'clear', 'columns', 'command_line_path', 'completion_append_char', + 'completion_matches', 'complex', 'confirm_recursive_rmdir', 'conj', + 'cos', 'cosh', 'cputime', 'crash_dumps_octave_core', 'ctranspose', + 'cumprod', 'cumsum', 'dbclear', 'dbcont', 'dbdown', 'dbnext', + 'dbquit', 'dbstack', 'dbstatus', 'dbstep', 'dbstop', 'dbtype', 'dbup', + 'dbwhere', 'debug_on_error', 'debug_on_interrupt', 'debug_on_warning', + 'default_save_options', 'dellistener', 'diag', 'diary', 'diff', + 'disp', 'do_braindead_shortcircuit_evaluation', 'do_string_escapes', + 'doc_cache_file', 'drawnow', 'dup2', 'echo', + 'echo_executing_commands', 'edit_history','eq', 'erf', 'erfc', + 'erfcx', 'erfinv', 'errno', 'errno_list', 'error', 'eval', 'evalin', + 'exec', 'exist', 'exit', 'exp', 'expm1', 'eye', 'fclear', + 'fclose', 'fcntl', 'fdisp', 'feof', 'ferror', 'feval', 'fflush', + 'fgetl', 'fgets', 'fieldnames', 'file_in_loadpath', 'file_in_path', + 'filemarker', 'filesep', 'find_dir_in_path', 'finite', 'fix', + 'fixed_point_format', 'floor', 'fmod', 'fnmatch', 'fopen', 'fork', + 'format', 'formula', 'fprintf', 'fputs', 'fread', 'freport', + 'frewind', 'fscanf', 'fseek', 'fskipl', 'ftell', 'full', 'func2str', + 'functions', 'fwrite', 'gamma', 'gammaln', 'ge', 'genpath', 'get', + 'get_help_text', 'get_help_text_from_file', 'getegid', 'getenv', + 'geteuid', 'getgid', 'gethostname', 'getpgrp', 'getpid', 'getppid', + 'getuid', 'glob', 'gt', 'history', 'history_control', 'history_file', + 'history_size', 'history_timestamp_format_string', 'home', 'horzcat', + 'hypot', 'ifelse', 'ignore_function_time_stamp', 'imag', + 'inferiorto', 'info_file', 'info_program', 'inline', 'input', + 'intmax', 'intmin', 'ipermute', + 'is_absolute_filename', 'is_dq_string', 'is_function_handle', + 'is_rooted_relative_filename', 'is_sq_string', 'isalnum', 'isalpha', + 'isargout', 'isascii', 'isbool', 'iscell', 'iscellstr', 'ischar', + 'iscntrl', 'iscomplex', 'isdebugmode', 'isdigit', 'isempty', + 'isfield', 'isfinite', 'isfloat', 'isglobal', 'isgraph', 'ishandle', + 'isieee', 'isindex', 'isinf', 'isinteger', 'iskeyword', 'islogical', + 'islower', 'ismatrix', 'ismethod', 'isna', 'isnan', 'isnull', + 'isnumeric', 'isobject', 'isprint', 'ispunct', 'isreal', 'issorted', + 'isspace', 'issparse', 'isstruct', 'isupper', 'isvarname', 'isxdigit', + 'kbhit', 'keyboard', 'kill', 'lasterr', 'lasterror', 'lastwarn', + 'ldivide', 'le', 'length', 'lgamma', 'link', 'linspace', + 'list_in_columns', 'load', 'loaded_graphics_toolkits', 'log', 'log10', + 'log1p', 'log2', 'lower', 'lstat', 'lt', + 'make_absolute_filename', 'makeinfo_program', 'max_recursion_depth', + 'merge', 'methods', 'mfilename', 'minus', 'mislocked', + 'missing_function_hook', 'mkdir', 'mkfifo', 'mkstemp', 'mldivide', + 'mlock', 'mod', 'more', 'mpower', 'mrdivide', 'mtimes', 'munlock', + 'nargin', 'nargout', 'native_float_format', 'ndims', 'ne', + 'nfields', 'nnz', 'norm', 'not', 'nth_element', 'numel', 'nzmax', + 'octave_config_info', 'octave_core_file_limit', + 'octave_core_file_name', 'octave_core_file_options', + 'octave_tmp_file_name', 'onCleanup', 'ones', + 'optimize_subsasgn_calls', 'or', 'output_max_field_width', + 'output_precision', 'page_output_immediately', 'page_screen_output', + 'path', 'pathsep', 'pause', 'pclose', 'permute', 'pipe', 'plus', + 'popen', 'popen2', 'power', 'print_empty_dimensions', + 'print_struct_array_contents', 'printf', 'prod', + 'program_invocation_name', 'program_name', 'putenv', 'puts', 'pwd', + 'quit', 'rats', 'rdivide', 're_read_readline_init_file', + 'read_readline_init_file', 'readdir', 'readlink', 'real', 'realmax', + 'realmin', 'register_graphics_toolkit', 'rehash', 'rem', + 'remove_input_event_hook', 'rename', 'repelems', 'reset', 'reshape', + 'resize', 'restoredefaultpath', 'rethrow', 'rmdir', 'rmfield', + 'rmpath', 'round', 'roundb', 'rows', 'run_history', 'save', + 'save_header_format_string', 'save_precision', 'saving_history', + 'scanf', 'set', 'setenv', 'sighup_dumps_octave_core', 'sign', + 'sigterm_dumps_octave_core', 'silent_functions', 'sin', + 'sinh', 'size', 'size_equal', 'sizemax', 'sizeof', 'sleep', 'sort', + 'source', 'spalloc', 'sparse', 'sparse_auto_mutate', + 'split_long_rows', 'sprintf', 'sqrt', 'squeeze', 'sscanf', 'stat', + 'stderr', 'stdin', 'stdout', 'str2func', 'strcmp', 'strcmpi', + 'string_fill_char', 'strncmp', 'strncmpi', 'struct2cell', + 'struct_levels_to_print', 'strvcat', 'subsasgn', 'subsref', 'sum', + 'sumsq', 'superiorto', 'suppress_verbose_help_message', 'symlink', + 'system', 'tan', 'tanh', 'terminal_size', 'tic', 'tilde_expand', + 'times', 'tmpfile', 'tmpnam', 'toascii', 'toc', 'tolower', 'toupper', + 'transpose', 'typeinfo', + 'umask', 'uminus', 'uname', 'undo_string_escapes', 'unlink', + 'uplus', 'upper', 'usage', 'usleep', 'vec', 'vectorize', 'vertcat', + 'waitfor', 'waitpid', 'warning', 'warranty', 'who', 'whos', + 'whos_line_format', 'yes_or_no', 'zeros' ), // Octave functions 6 => array( - 'accumarray', 'accumdim', 'acosd', 'acot', 'acotd', 'acoth', 'acsc', - 'acscd', 'acsch', 'addpref', 'addtodate', 'allchild', 'amd', - 'ancestor', 'anova', 'arch_fit', 'arch_rnd', 'arch_test', - 'area', 'arma_rnd', 'asctime', 'asec', 'asecd', 'asech', 'asind', - 'assert', 'atand', 'autocor', 'autocov', 'autoreg_matrix', 'autumn', - 'axes', 'axis', 'balance', 'bar', 'barh', 'bartlett', 'bartlett_test', - 'base2dec', 'beep', 'bessel', 'besselj', 'beta', 'betacdf', 'betai', - 'betainc', 'betainv', 'betaln', 'betapdf', 'betarnd', 'bicg', - 'bicgstab', 'bicubic', 'bin2dec', 'bincoeff', 'binocdf', 'binoinv', - 'binopdf', 'binornd', 'bitcmp', 'bitget', 'bitset', 'blackman', - 'blanks', 'blkdiag', 'bone', 'box', 'brighten', 'bsxfun', - 'bug_report', 'bunzip2', 'bzip2', 'calendar', 'cart2pol', 'cart2sph', - 'cast', 'cauchy_cdf', 'cauchy_inv', 'cauchy_pdf', 'cauchy_rnd', - 'caxis', 'ccolamd', 'cell2mat', 'celldisp', 'cellfun', 'cellidx', - 'center', 'cgs', 'chi2cdf', 'chi2inv', 'chi2pdf', 'chi2rnd', - 'chisquare_test_homogeneity', 'chisquare_test_independence', 'chol', - 'chop', 'circshift', 'cla', 'clabel', 'clf', 'clg', 'clock', - 'cloglog', 'close', 'closereq', 'colamd', 'colloc', 'colon', - 'colorbar', 'colormap', 'colperm', 'colstyle', 'comet', 'comet3', - 'comma', 'common_size', 'commutation_matrix', 'compan', - 'compare_versions', 'compass', 'computer', 'cond', 'condest', - 'contour', 'contour3', 'contourc', 'contourf', 'contrast', 'conv', - 'conv2', 'convhull', 'convhulln', 'cool', 'copper', 'copyfile', 'cor', - 'cor_test', 'corr', 'corrcoef', 'cosd', 'cot', 'cotd', 'coth', 'cov', - 'cplxpair', 'cquad', 'cross', 'csc', 'cscd', 'csch', 'cstrcat', - 'csvread', 'csvwrite', 'ctime', 'cumtrapz', 'curl', 'cut', 'cylinder', - 'daspect', 'daspk', 'dasrt', 'dassl', 'date', 'datenum', 'datestr', - 'datetick', 'datevec', 'dblquad', 'deal', 'deblank', 'debug', - 'dec2base', 'dec2bin', 'dec2hex', 'deconv', 'del2', 'delaunay', - 'delaunay3', 'delaunayn', 'delete', 'demo', 'det', 'detrend', - 'diffpara', 'diffuse', 'dir', 'discrete_cdf', 'discrete_inv', - 'discrete_pdf', 'discrete_rnd', 'dispatch', 'display', 'divergence', - 'dlmread', 'dlmwrite', 'dmperm', 'doc', 'dos', 'dot', 'dsearch', - 'dsearchn', 'dump_prefs', 'duplication_matrix', 'durbinlevinson', - 'edit', 'eig', 'eigs', 'ellipsoid', 'empirical_cdf', 'empirical_inv', - 'empirical_pdf', 'empirical_rnd', 'eomday', 'error_text', 'errorbar', - 'etime', 'etreeplot', 'example', 'expcdf', 'expinv', 'expm', 'exppdf', - 'exprnd', 'ezcontour', 'ezcontourf', 'ezmesh', 'ezmeshc', 'ezplot', - 'ezplot3', 'ezpolar', 'ezsurf', 'ezsurfc', 'f_test_regression', - 'fact', 'factor', 'factorial', 'fail', 'fcdf', 'feather', 'fft', - 'fft2', 'fftconv', 'fftfilt', 'fftn', 'fftshift', 'fftw', 'figure', - 'fileattrib', 'fileparts', 'fileread', 'fill', 'filter', 'filter2', - 'find', 'findall', 'findobj', 'findstr', 'finv', 'flag', 'flipdim', - 'fliplr', 'flipud', 'fminbnd', 'fminunc', 'fpdf', 'fplot', - 'fractdiff', 'freqz', 'freqz_plot', 'frnd', 'fsolve', 'fstat', - 'fullfile', 'fzero', 'gamcdf', 'gaminv', 'gammai', 'gammainc', - 'gampdf', 'gamrnd', 'gca', 'gcbf', 'gcbo', 'gcd', 'gcf', - 'gen_doc_cache', 'genvarname', 'geocdf', 'geoinv', 'geopdf', 'geornd', - 'get_first_help_sentence', 'getappdata', 'getfield', 'getgrent', - 'getpref', 'getpwent', 'getrusage', 'ginput', 'givens', 'glpk', - 'glpkmex', 'gls', 'gmap40', 'gmres', 'gnuplot_binary', 'gplot', - 'gradient', 'graphics_toolkit', 'gray', 'gray2ind', 'grid', - 'griddata', 'griddata3', 'griddatan', 'gtext', 'guidata', - 'guihandles', 'gunzip', 'gzip', 'hadamard', 'hamming', 'hankel', - 'hanning', 'help', 'hess', 'hex2dec', 'hex2num', 'hggroup', 'hidden', - 'hilb', 'hist', 'histc', 'hold', 'hot', 'hotelling_test', - 'hotelling_test_2', 'housh', 'hsv', 'hsv2rgb', 'hurst', 'hygecdf', - 'hygeinv', 'hygepdf', 'hygernd', 'idivide', 'ifftshift', 'image', - 'imagesc', 'imfinfo', 'imread', 'imshow', 'imwrite', 'ind2gray', - 'ind2rgb', 'index', 'info', 'inpolygon', 'inputname', 'int2str', - 'interp1', 'interp1q', 'interp2', 'interp3', 'interpft', 'interpn', - 'intersect', 'intwarning', 'inv', 'invhilb', 'iqr', - 'is_duplicate_entry', 'is_global', 'is_leap_year', 'is_valid_file_id', - 'isa', 'isappdata', 'iscolumn', 'isdefinite', 'isdeployed', 'isdir', - 'isequal', 'isequalwithequalnans', 'isfigure', 'ishermitian', - 'ishghandle', 'ishold', 'isletter', 'ismac', 'ismember', 'isocolors', - 'isonormals', 'isosurface', 'ispc', 'ispref', 'isprime', 'isprop', - 'isrow', 'isscalar', 'issquare', 'isstr', 'isstrprop', 'issymmetric', - 'isunix', 'isvector', 'jet', 'kendall', 'kolmogorov_smirnov_cdf', - 'kolmogorov_smirnov_test', 'kolmogorov_smirnov_test_2', 'kron', - 'kruskal_wallis_test', 'krylov', 'krylovb', 'kurtosis', 'laplace_cdf', - 'laplace_inv', 'laplace_pdf', 'laplace_rnd', 'lcm', 'legend', - 'legendre', 'license', 'lin2mu', 'line', 'linkprop', 'list_primes', - 'loadaudio', 'loadobj', 'logistic_cdf', 'logistic_inv', - 'logistic_pdf', 'logistic_regression', 'logistic_rnd', 'logit', - 'loglog', 'loglogerr', 'logm', 'logncdf', 'logninv', 'lognpdf', - 'lognrnd', 'logspace', 'lookfor', 'lookup', 'ls', 'ls_command', - 'lsode', 'lsqnonneg', 'lu', 'luinc', 'magic', 'mahalanobis', 'manova', - 'mat2str', 'matlabroot', 'matrix_type', 'max', 'mcnemar_test', - 'md5sum', 'mean', 'meansq', 'median', 'menu', 'mesh', 'meshc', - 'meshgrid', 'meshz', 'mex', 'mexext', 'mgorth', 'mkoctfile', 'mkpp', - 'mode', 'moment', 'movefile', 'mpoles', 'mu2lin', 'namelengthmax', - 'nargchk', 'narginchk', 'nargoutchk', 'nbincdf', 'nbininv', 'nbinpdf', - 'nbinrnd', 'nchoosek', 'ndgrid', 'newplot', 'news', 'nextpow2', - 'nonzeros', 'normcdf', 'normest', 'norminv', 'normpdf', 'normrnd', - 'now', 'nproc', 'nthargout', 'nthroot', 'ntsc2rgb', 'null', 'num2str', - 'ocean', 'ols', 'onenormest', 'optimget', 'optimset', 'orderfields', - 'orient', 'orth', 'pack', 'paren', 'pareto', 'parseparams', 'pascal', - 'patch', 'pathdef', 'pbaspect', 'pcg', 'pchip', 'pcolor', 'pcr', - 'peaks', 'periodogram', 'perl', 'perms', 'perror', 'pie', 'pie3', - 'pink', 'pinv', 'pkg', 'planerot', 'playaudio', 'plot', 'plot3', - 'plotmatrix', 'plotyy', 'poisscdf', 'poissinv', 'poisspdf', - 'poissrnd', 'pol2cart', 'polar', 'poly', 'polyaffine', 'polyarea', - 'polyder', 'polyderiv', 'polyfit', 'polygcd', 'polyint', 'polyout', - 'polyreduce', 'polyval', 'polyvalm', 'postpad', 'pow2', 'powerset', - 'ppder', 'ppint', 'ppjumps', 'ppplot', 'ppval', 'pqpnonneg', - 'prctile', 'prepad', 'primes', 'print', 'printAllBuiltins', - 'print_usage', 'prism', 'probit', 'profexplore', 'profile', - 'profshow', 'prop_test_2', 'python', 'qp', 'qqplot', 'qr', 'quad', - 'quadcc', 'quadgk', 'quadl', 'quadv', 'quantile', 'quiver', 'quiver3', - 'qz', 'qzhess', 'rainbow', 'rand', 'randi', 'range', 'rank', 'ranks', - 'rat', 'rcond', 'reallog', 'realpow', 'realsqrt', 'record', - 'rectangle', 'rectint', 'recycle', 'refresh', 'refreshdata', 'regexp', - 'regexptranslate', 'replot', 'repmat', 'residue', 'rgb2hsv', - 'rgb2ind', 'rgb2ntsc', 'ribbon', 'rindex', 'rmappdata', 'rmpref', - 'roots', 'rose', 'rosser', 'rot90', 'rotdim', 'rref', 'run', - 'run_count', 'run_test', 'rundemos', 'runlength', 'runtests', - 'saveas', 'saveaudio', 'saveimage', 'saveobj', 'savepath', 'scatter', - 'scatter3', 'schur', 'sec', 'secd', 'sech', 'semicolon', 'semilogx', - 'semilogxerr', 'semilogy', 'semilogyerr', 'setappdata', 'setaudio', - 'setdiff', 'setfield', 'setpref', 'setstr', 'setxor', 'shading', - 'shell_cmd', 'shg', 'shift', 'shiftdim', 'sign_test', 'sinc', 'sind', - 'sinetone', 'sinewave', 'skewness', 'slice', 'sombrero', 'sortrows', - 'spaugment', 'spconvert', 'spdiags', 'spearman', 'spectral_adf', - 'spectral_xdf', 'specular', 'speed', 'spencer', 'speye', 'spfun', - 'sph2cart', 'sphere', 'spinmap', 'spline', 'spones', 'spparms', - 'sprand', 'sprandn', 'sprandsym', 'spring', 'spstats', 'spy', 'sqp', - 'sqrtm', 'stairs', 'statistics', 'std', 'stdnormal_cdf', - 'stdnormal_inv', 'stdnormal_pdf', 'stdnormal_rnd', 'stem', 'stem3', - 'stft', 'str2double', 'str2num', 'strcat', 'strchr', 'strerror', - 'strfind', 'strjust', 'strmatch', 'strread', 'strsplit', 'strtok', - 'strtrim', 'strtrunc', 'structfun', 'studentize', 'sub2ind', - 'subplot', 'subsindex', 'subspace', 'substr', 'substruct', 'summer', - 'surf', 'surface', 'surfc', 'surfl', 'surfnorm', 'svd', 'svds', - 'swapbytes', 'syl', 'sylvester_matrix', 'symbfact', 'symrcm', - 'symvar', 'synthesis', 't_test', 't_test_2', 't_test_regression', - 'table', 'tand', 'tar', 'tcdf', 'tempdir', 'tempname', 'test', 'text', - 'textread', 'textscan', 'time', 'tinv', 'title', 'toeplitz', 'tpdf', - 'trace', 'trapz', 'treelayout', 'treeplot', 'tril', 'trimesh', - 'triplequad', 'triplot', 'trisurf', 'trnd', 'tsearch', 'tsearchn', - 'type', 'typecast', 'u_test', 'uicontextmenu', 'uicontrol', - 'uigetdir', 'uigetfile', 'uimenu', 'uipanel', 'uipushtool', - 'uiputfile', 'uiresume', 'uitoggletool', 'uitoolbar', 'uiwait', - 'unidcdf', 'unidinv', 'unidpdf', 'unidrnd', 'unifcdf', 'unifinv', - 'unifpdf', 'unifrnd', 'unimplemented', 'union', 'unique', 'unix', - 'unmkpp', 'unpack', 'untabify', 'untar', 'unwrap', 'unzip', - 'urlwrite', 'usejava', 'validatestring', 'values', 'vander', 'var', - 'var_test', 'vech', 'ver', 'version', 'view', 'voronoi', 'voronoin', - 'waitbar', 'waitforbuttonpress', 'warning_ids', 'wavread', 'wavwrite', - 'wblcdf', 'wblinv', 'wblpdf', 'wblrnd', 'weekday', 'weibcdf', - 'weibinv', 'weibpdf', 'weibrnd', 'welch_test', 'what', 'which', - 'white', 'whitebg', 'wienrnd', 'wilcoxon_test', 'wilkinson', 'winter', - 'xlabel', 'xlim', 'xor', 'ylabel', 'ylim', 'yulewalker', 'z_test', - 'z_test_2', 'zip', 'zlabel', 'zlim', 'zscore', 'airy', 'arrayfun', - 'besselh', 'besseli', 'besselk', 'bessely', 'bitpack', 'bitunpack', - 'blkmm', 'cellindexmat', 'cellslices', 'chol2inv', 'choldelete', - 'cholinsert', 'cholinv', 'cholshift', 'cholupdate', 'convn', - 'csymamd', 'cummax', 'cummin', 'daspk_options', 'dasrt_options', - 'dassl_options', 'endgrent', 'endpwent', 'etree', 'getgrgid', - 'getgrnam', 'getpwnam', 'getpwuid', 'gmtime', 'gui_mode', 'ifft', - 'ifft2', 'ifftn', 'ind2sub', 'inverse', 'localtime', 'lsode_options', - 'luupdate', 'mat2cell', 'min', 'mktime', 'mouse_wheel_zoom', - 'num2cell', 'num2hex', 'qrdelete', 'qrinsert', 'qrshift', 'qrupdate', - 'quad_options', 'rande', 'randg', 'randn', 'randp', 'randperm', - 'regexpi', 'regexprep', 'rsf2csf', 'setgrent', 'setpwent', 'sprank', - 'strftime', 'strptime', 'strrep', 'svd_driver', 'symamd', 'triu', - 'urlread' + 'accumarray', 'accumdim', 'acosd', 'acot', 'acotd', 'acoth', 'acsc', + 'acscd', 'acsch', 'addpref', 'addtodate', 'allchild', 'amd', + 'ancestor', 'anova', 'arch_fit', 'arch_rnd', 'arch_test', + 'area', 'arma_rnd', 'asctime', 'asec', 'asecd', 'asech', 'asind', + 'assert', 'atand', 'autocor', 'autocov', 'autoreg_matrix', 'autumn', + 'axes', 'axis', 'balance', 'bar', 'barh', 'bartlett', 'bartlett_test', + 'base2dec', 'beep', 'bessel', 'besselj', 'beta', 'betacdf', 'betai', + 'betainc', 'betainv', 'betaln', 'betapdf', 'betarnd', 'bicg', + 'bicgstab', 'bicubic', 'bin2dec', 'bincoeff', 'binocdf', 'binoinv', + 'binopdf', 'binornd', 'bitcmp', 'bitget', 'bitset', 'blackman', + 'blanks', 'blkdiag', 'bone', 'box', 'brighten', 'bsxfun', + 'bug_report', 'bunzip2', 'bzip2', 'calendar', 'cart2pol', 'cart2sph', + 'cast', 'cauchy_cdf', 'cauchy_inv', 'cauchy_pdf', 'cauchy_rnd', + 'caxis', 'ccolamd', 'cell2mat', 'celldisp', 'cellfun', 'cellidx', + 'center', 'cgs', 'chi2cdf', 'chi2inv', 'chi2pdf', 'chi2rnd', + 'chisquare_test_homogeneity', 'chisquare_test_independence', 'chol', + 'chop', 'circshift', 'cla', 'clabel', 'clf', 'clg', 'clock', + 'cloglog', 'close', 'closereq', 'colamd', 'colloc', 'colon', + 'colorbar', 'colormap', 'colperm', 'colstyle', 'comet', 'comet3', + 'comma', 'common_size', 'commutation_matrix', 'compan', + 'compare_versions', 'compass', 'computer', 'cond', 'condest', + 'contour', 'contour3', 'contourc', 'contourf', 'contrast', 'conv', + 'conv2', 'convhull', 'convhulln', 'cool', 'copper', 'copyfile', 'cor', + 'cor_test', 'corr', 'corrcoef', 'cosd', 'cot', 'cotd', 'coth', 'cov', + 'cplxpair', 'cquad', 'cross', 'csc', 'cscd', 'csch', 'cstrcat', + 'csvread', 'csvwrite', 'ctime', 'cumtrapz', 'curl', 'cut', 'cylinder', + 'daspect', 'daspk', 'dasrt', 'dassl', 'date', 'datenum', 'datestr', + 'datetick', 'datevec', 'dblquad', 'deal', 'deblank', 'debug', + 'dec2base', 'dec2bin', 'dec2hex', 'deconv', 'del2', 'delaunay', + 'delaunay3', 'delaunayn', 'delete', 'demo', 'det', 'detrend', + 'diffpara', 'diffuse', 'dir', 'discrete_cdf', 'discrete_inv', + 'discrete_pdf', 'discrete_rnd', 'dispatch', 'display', 'divergence', + 'dlmread', 'dlmwrite', 'dmperm', 'doc', 'dos', 'dot', 'dsearch', + 'dsearchn', 'dump_prefs', 'duplication_matrix', 'durbinlevinson', + 'edit', 'eig', 'eigs', 'ellipsoid', 'empirical_cdf', 'empirical_inv', + 'empirical_pdf', 'empirical_rnd', 'eomday', 'error_text', 'errorbar', + 'etime', 'etreeplot', 'example', 'expcdf', 'expinv', 'expm', 'exppdf', + 'exprnd', 'ezcontour', 'ezcontourf', 'ezmesh', 'ezmeshc', 'ezplot', + 'ezplot3', 'ezpolar', 'ezsurf', 'ezsurfc', 'f_test_regression', + 'fact', 'factor', 'factorial', 'fail', 'fcdf', 'feather', 'fft', + 'fft2', 'fftconv', 'fftfilt', 'fftn', 'fftshift', 'fftw', 'figure', + 'fileattrib', 'fileparts', 'fileread', 'fill', 'filter', 'filter2', + 'find', 'findall', 'findobj', 'findstr', 'finv', 'flag', 'flipdim', + 'fliplr', 'flipud', 'fminbnd', 'fminunc', 'fpdf', 'fplot', + 'fractdiff', 'freqz', 'freqz_plot', 'frnd', 'fsolve', 'fstat', + 'fullfile', 'fzero', 'gamcdf', 'gaminv', 'gammai', 'gammainc', + 'gampdf', 'gamrnd', 'gca', 'gcbf', 'gcbo', 'gcd', 'gcf', + 'gen_doc_cache', 'genvarname', 'geocdf', 'geoinv', 'geopdf', 'geornd', + 'get_first_help_sentence', 'getappdata', 'getfield', 'getgrent', + 'getpref', 'getpwent', 'getrusage', 'ginput', 'givens', 'glpk', + 'glpkmex', 'gls', 'gmap40', 'gmres', 'gnuplot_binary', 'gplot', + 'gradient', 'graphics_toolkit', 'gray', 'gray2ind', 'grid', + 'griddata', 'griddata3', 'griddatan', 'gtext', 'guidata', + 'guihandles', 'gunzip', 'gzip', 'hadamard', 'hamming', 'hankel', + 'hanning', 'help', 'hess', 'hex2dec', 'hex2num', 'hggroup', 'hidden', + 'hilb', 'hist', 'histc', 'hold', 'hot', 'hotelling_test', + 'hotelling_test_2', 'housh', 'hsv', 'hsv2rgb', 'hurst', 'hygecdf', + 'hygeinv', 'hygepdf', 'hygernd', 'idivide', 'ifftshift', 'image', + 'imagesc', 'imfinfo', 'imread', 'imshow', 'imwrite', 'ind2gray', + 'ind2rgb', 'index', 'info', 'inpolygon', 'inputname', 'int2str', + 'interp1', 'interp1q', 'interp2', 'interp3', 'interpft', 'interpn', + 'intersect', 'intwarning', 'inv', 'invhilb', 'iqr', + 'is_duplicate_entry', 'is_global', 'is_leap_year', 'is_valid_file_id', + 'isa', 'isappdata', 'iscolumn', 'isdefinite', 'isdeployed', 'isdir', + 'isequal', 'isequalwithequalnans', 'isfigure', 'ishermitian', + 'ishghandle', 'ishold', 'isletter', 'ismac', 'ismember', 'isocolors', + 'isonormals', 'isosurface', 'ispc', 'ispref', 'isprime', 'isprop', + 'isrow', 'isscalar', 'issquare', 'isstr', 'isstrprop', 'issymmetric', + 'isunix', 'isvector', 'jet', 'kendall', 'kolmogorov_smirnov_cdf', + 'kolmogorov_smirnov_test', 'kolmogorov_smirnov_test_2', 'kron', + 'kruskal_wallis_test', 'krylov', 'krylovb', 'kurtosis', 'laplace_cdf', + 'laplace_inv', 'laplace_pdf', 'laplace_rnd', 'lcm', 'legend', + 'legendre', 'license', 'lin2mu', 'line', 'linkprop', 'list_primes', + 'loadaudio', 'loadobj', 'logistic_cdf', 'logistic_inv', + 'logistic_pdf', 'logistic_regression', 'logistic_rnd', 'logit', + 'loglog', 'loglogerr', 'logm', 'logncdf', 'logninv', 'lognpdf', + 'lognrnd', 'logspace', 'lookfor', 'lookup', 'ls', 'ls_command', + 'lsode', 'lsqnonneg', 'lu', 'luinc', 'magic', 'mahalanobis', 'manova', + 'mat2str', 'matlabroot', 'matrix_type', 'max', 'mcnemar_test', + 'md5sum', 'mean', 'meansq', 'median', 'menu', 'mesh', 'meshc', + 'meshgrid', 'meshz', 'mex', 'mexext', 'mgorth', 'mkoctfile', 'mkpp', + 'mode', 'moment', 'movefile', 'mpoles', 'mu2lin', 'namelengthmax', + 'nargchk', 'narginchk', 'nargoutchk', 'nbincdf', 'nbininv', 'nbinpdf', + 'nbinrnd', 'nchoosek', 'ndgrid', 'newplot', 'news', 'nextpow2', + 'nonzeros', 'normcdf', 'normest', 'norminv', 'normpdf', 'normrnd', + 'now', 'nproc', 'nthargout', 'nthroot', 'ntsc2rgb', 'null', 'num2str', + 'ocean', 'ols', 'onenormest', 'optimget', 'optimset', 'orderfields', + 'orient', 'orth', 'pack', 'paren', 'pareto', 'parseparams', 'pascal', + 'patch', 'pathdef', 'pbaspect', 'pcg', 'pchip', 'pcolor', 'pcr', + 'peaks', 'periodogram', 'perl', 'perms', 'perror', 'pie', 'pie3', + 'pink', 'pinv', 'planerot', 'playaudio', 'plot', 'plot3', + 'plotmatrix', 'plotyy', 'poisscdf', 'poissinv', 'poisspdf', + 'poissrnd', 'pol2cart', 'polar', 'poly', 'polyaffine', 'polyarea', + 'polyder', 'polyderiv', 'polyfit', 'polygcd', 'polyint', 'polyout', + 'polyreduce', 'polyval', 'polyvalm', 'postpad', 'pow2', 'powerset', + 'ppder', 'ppint', 'ppjumps', 'ppplot', 'ppval', 'pqpnonneg', + 'prctile', 'prepad', 'primes', 'print', 'printAllBuiltins', + 'print_usage', 'prism', 'probit', 'profexplore', 'profile', + 'profshow', 'prop_test_2', 'python', 'qp', 'qqplot', 'qr', 'quad', + 'quadcc', 'quadgk', 'quadl', 'quadv', 'quantile', 'quiver', 'quiver3', + 'qz', 'qzhess', 'rainbow', 'rand', 'randi', 'range', 'rank', 'ranks', + 'rat', 'rcond', 'reallog', 'realpow', 'realsqrt', 'record', + 'rectangle', 'rectint', 'recycle', 'refresh', 'refreshdata', 'regexp', + 'regexptranslate', 'replot', 'repmat', 'residue', 'rgb2hsv', + 'rgb2ind', 'rgb2ntsc', 'ribbon', 'rindex', 'rmappdata', 'rmpref', + 'roots', 'rose', 'rosser', 'rot90', 'rotdim', 'rref', 'run', + 'run_count', 'run_test', 'rundemos', 'runlength', 'runtests', + 'saveas', 'saveaudio', 'saveimage', 'saveobj', 'savepath', 'scatter', + 'scatter3', 'schur', 'sec', 'secd', 'sech', 'semicolon', 'semilogx', + 'semilogxerr', 'semilogy', 'semilogyerr', 'setappdata', 'setaudio', + 'setdiff', 'setfield', 'setpref', 'setstr', 'setxor', 'shading', + 'shell_cmd', 'shg', 'shift', 'shiftdim', 'sign_test', 'sinc', 'sind', + 'sinetone', 'sinewave', 'skewness', 'slice', 'sombrero', 'sortrows', + 'spaugment', 'spconvert', 'spdiags', 'spearman', 'spectral_adf', + 'spectral_xdf', 'specular', 'speed', 'spencer', 'speye', 'spfun', + 'sph2cart', 'sphere', 'spinmap', 'spline', 'spones', 'spparms', + 'sprand', 'sprandn', 'sprandsym', 'spring', 'spstats', 'spy', 'sqp', + 'sqrtm', 'stairs', 'statistics', 'std', 'stdnormal_cdf', + 'stdnormal_inv', 'stdnormal_pdf', 'stdnormal_rnd', 'stem', 'stem3', + 'stft', 'str2double', 'str2num', 'strcat', 'strchr', 'strerror', + 'strfind', 'strjust', 'strmatch', 'strread', 'strsplit', 'strtok', + 'strtrim', 'strtrunc', 'structfun', 'studentize', 'sub2ind', + 'subplot', 'subsindex', 'subspace', 'substr', 'substruct', 'summer', + 'surf', 'surface', 'surfc', 'surfl', 'surfnorm', 'svd', 'svds', + 'swapbytes', 'syl', 'sylvester_matrix', 'symbfact', 'symrcm', + 'symvar', 'synthesis', 't_test', 't_test_2', 't_test_regression', + 'table', 'tand', 'tar', 'tcdf', 'tempdir', 'tempname', 'test', 'text', + 'textread', 'textscan', 'time', 'tinv', 'title', 'toeplitz', 'tpdf', + 'trace', 'trapz', 'treelayout', 'treeplot', 'tril', 'trimesh', + 'triplequad', 'triplot', 'trisurf', 'trnd', 'tsearch', 'tsearchn', + 'type', 'typecast', 'u_test', 'uicontextmenu', 'uicontrol', + 'uigetdir', 'uigetfile', 'uimenu', 'uipanel', 'uipushtool', + 'uiputfile', 'uiresume', 'uitoggletool', 'uitoolbar', 'uiwait', + 'unidcdf', 'unidinv', 'unidpdf', 'unidrnd', 'unifcdf', 'unifinv', + 'unifpdf', 'unifrnd', 'unimplemented', 'union', 'unique', 'unix', + 'unmkpp', 'unpack', 'untabify', 'untar', 'unwrap', 'unzip', + 'urlwrite', 'usejava', 'validatestring', 'values', 'vander', 'var', + 'var_test', 'vech', 'ver', 'version', 'view', 'voronoi', 'voronoin', + 'waitbar', 'waitforbuttonpress', 'warning_ids', 'wavread', 'wavwrite', + 'wblcdf', 'wblinv', 'wblpdf', 'wblrnd', 'weekday', 'weibcdf', + 'weibinv', 'weibpdf', 'weibrnd', 'welch_test', 'what', 'which', + 'white', 'whitebg', 'wienrnd', 'wilcoxon_test', 'wilkinson', 'winter', + 'xlabel', 'xlim', 'xor', 'ylabel', 'ylim', 'yulewalker', 'z_test', + 'z_test_2', 'zip', 'zlabel', 'zlim', 'zscore', 'airy', 'arrayfun', + 'besselh', 'besseli', 'besselk', 'bessely', 'bitpack', 'bitunpack', + 'blkmm', 'cellindexmat', 'cellslices', 'chol2inv', 'choldelete', + 'cholinsert', 'cholinv', 'cholshift', 'cholupdate', 'convn', + 'csymamd', 'cummax', 'cummin', 'daspk_options', 'dasrt_options', + 'dassl_options', 'endgrent', 'endpwent', 'etree', 'getgrgid', + 'getgrnam', 'getpwnam', 'getpwuid', 'gmtime', 'gui_mode', 'ifft', + 'ifft2', 'ifftn', 'ind2sub', 'inverse', 'localtime', 'lsode_options', + 'luupdate', 'mat2cell', 'min', 'mktime', 'mouse_wheel_zoom', + 'num2cell', 'num2hex', 'qrdelete', 'qrinsert', 'qrshift', 'qrupdate', + 'quad_options', 'rande', 'randg', 'randn', 'randp', 'randperm', + 'regexpi', 'regexprep', 'rsf2csf', 'setgrent', 'setpwent', 'sprank', + 'strftime', 'strptime', 'strrep', 'svd_driver', 'symamd', 'triu', + 'urlread' ), // Private builtin 7 => array( - '__accumarray_max__', '__accumarray_min__', '__accumarray_sum__', - '__accumdim_sum__', '__builtins__', '__calc_dimensions__', - '__current_scope__', '__display_tokens__', '__dump_symtab_info__', - '__end__', '__get__', '__go_axes__', '__go_axes_init__', - '__go_delete__', '__go_execute_callback__', '__go_figure__', - '__go_figure_handles__', '__go_handles__', '__go_hggroup__', - '__go_image__', '__go_line__', '__go_patch__', '__go_surface__', - '__go_text__', '__go_uicontextmenu__', '__go_uicontrol__', - '__go_uimenu__', '__go_uipanel__', '__go_uipushtool__', - '__go_uitoggletool__', '__go_uitoolbar__', '__gud_mode__', - '__image_pixel_size__', '__is_handle_visible__', '__isa_parent__', - '__keywords__', '__lexer_debug_flag__', '__list_functions__', - '__operators__', '__parent_classes__', '__parser_debug_flag__', - '__pathorig__', '__profiler_data__', '__profiler_enable__', - '__profiler_reset__', '__request_drawnow__', '__sort_rows_idx__', - '__token_count__', '__varval__', '__version_info__', '__which__' + '__accumarray_max__', '__accumarray_min__', '__accumarray_sum__', + '__accumdim_sum__', '__builtins__', '__calc_dimensions__', + '__current_scope__', '__display_tokens__', '__dump_symtab_info__', + '__end__', '__get__', '__go_axes__', '__go_axes_init__', + '__go_delete__', '__go_execute_callback__', '__go_figure__', + '__go_figure_handles__', '__go_handles__', '__go_hggroup__', + '__go_image__', '__go_line__', '__go_patch__', '__go_surface__', + '__go_text__', '__go_uicontextmenu__', '__go_uicontrol__', + '__go_uimenu__', '__go_uipanel__', '__go_uipushtool__', + '__go_uitoggletool__', '__go_uitoolbar__', '__gud_mode__', + '__image_pixel_size__', '__is_handle_visible__', '__isa_parent__', + '__keywords__', '__lexer_debug_flag__', '__list_functions__', + '__operators__', '__parent_classes__', '__parser_debug_flag__', + '__pathorig__', '__profiler_data__', '__profiler_enable__', + '__profiler_reset__', '__request_drawnow__', '__sort_rows_idx__', + '__token_count__', '__varval__', '__version_info__', '__which__' ), // Private Octave functions 8 => array( - '__all_opts__', '__contourc__', '__delaunayn__', '__dispatch__', - '__dsearchn__', '__error_text__', '__finish__', '__fltk_uigetfile__', - '__glpk__', '__gnuplot_drawnow__', '__init_fltk__', - '__init_gnuplot__', '__lin_interpn__', '__magick_read__', - '__makeinfo__', '__pchip_deriv__', '__plt_get_axis_arg__', '__qp__', - '__voronoi__', '__fltk_maxtime__', '__fltk_redraw__', '__ftp__', - '__ftp_ascii__', '__ftp_binary__', '__ftp_close__', '__ftp_cwd__', - '__ftp_delete__', '__ftp_dir__', '__ftp_mget__', '__ftp_mkdir__', - '__ftp_mode__', '__ftp_mput__', '__ftp_pwd__', '__ftp_rename__', - '__ftp_rmdir__', '__magick_finfo__', '__magick_format_list__', - '__magick_write__' + '__all_opts__', '__contourc__', '__delaunayn__', '__dispatch__', + '__dsearchn__', '__error_text__', '__finish__', '__fltk_uigetfile__', + '__glpk__', '__gnuplot_drawnow__', '__init_fltk__', + '__init_gnuplot__', '__lin_interpn__', '__magick_read__', + '__makeinfo__', '__pchip_deriv__', '__plt_get_axis_arg__', '__qp__', + '__voronoi__', '__fltk_maxtime__', '__fltk_redraw__', '__ftp__', + '__ftp_ascii__', '__ftp_binary__', '__ftp_close__', '__ftp_cwd__', + '__ftp_delete__', '__ftp_dir__', '__ftp_mget__', '__ftp_mkdir__', + '__ftp_mode__', '__ftp_mput__', '__ftp_pwd__', '__ftp_rename__', + '__ftp_rmdir__', '__magick_finfo__', '__magick_format_list__', + '__magick_write__' ), // Builtin Global Variables 9 => array( - 'EDITOR', 'EXEC_PATH', 'F_DUPFD', 'F_GETFD', 'F_GETFL', 'F_SETFD', - 'F_SETFL', 'IMAGE_PATH', 'OCTAVE_HOME', - 'OCTAVE_VERSION', 'O_APPEND', 'O_ASYNC', 'O_CREAT', 'O_EXCL', - 'O_NONBLOCK', 'O_RDONLY', 'O_RDWR', 'O_SYNC', 'O_TRUNC', 'O_WRONLY', - 'PAGER', 'PAGER_FLAGS', 'PS1', 'PS2', 'PS4', 'SEEK_CUR', 'SEEK_END', - 'SEEK_SET', 'SIG', 'S_ISBLK', 'S_ISCHR', 'S_ISDIR', 'S_ISFIFO', - 'S_ISLNK', 'S_ISREG', 'S_ISSOCK', 'WCONTINUE', 'WCOREDUMP', - 'WEXITSTATUS', 'WIFCONTINUED', 'WIFEXITED', 'WIFSIGNALED', - 'WIFSTOPPED', 'WNOHANG', 'WSTOPSIG', 'WTERMSIG', 'WUNTRACED' + 'EDITOR', 'EXEC_PATH', 'F_DUPFD', 'F_GETFD', 'F_GETFL', 'F_SETFD', + 'F_SETFL', 'IMAGE_PATH', 'OCTAVE_HOME', + 'OCTAVE_VERSION', 'O_APPEND', 'O_ASYNC', 'O_CREAT', 'O_EXCL', + 'O_NONBLOCK', 'O_RDONLY', 'O_RDWR', 'O_SYNC', 'O_TRUNC', 'O_WRONLY', + 'PAGER', 'PAGER_FLAGS', 'PS1', 'PS2', 'PS4', 'SEEK_CUR', 'SEEK_END', + 'SEEK_SET', 'SIG', 'S_ISBLK', 'S_ISCHR', 'S_ISDIR', 'S_ISFIFO', + 'S_ISLNK', 'S_ISREG', 'S_ISSOCK', 'WCONTINUE', 'WCOREDUMP', + 'WEXITSTATUS', 'WIFCONTINUED', 'WIFEXITED', 'WIFSIGNALED', + 'WIFSTOPPED', 'WNOHANG', 'WSTOPSIG', 'WTERMSIG', 'WUNTRACED' ), // Constant functions 10 => array ('e','eps','inf','nan','NA','pi','i','j','true','false'), - // Package manager - 17 => array("(\b)pkg(?!(\s)*\()(\s)+(((un)?install|(un)?load|list|(global|local)_list|describe|prefix|(re)?build)(\b))?") ), 'SYMBOLS' => array( + // Comparison & logical 0 => array( '!', '!=', '&', '&&','|', '||', '~', '~=', - '<', '<=', '=', '==', '>', '>='), + '<', '<=', '==', '>', '>=' + ), + // Aritmethical 1 => array('*', '**', '+', '++', '-', '--', '/', "\\","'"), + // Elementwise arithmetical 2 => array('.*', '.**','./', '.^', '^',".\\",".'"), - 3 => array(':'), - 4 => array(',', '...', ';') + // Arithmetical & assignation + 3 => array( + '*=','+=','-=','/=','\=','**=','^=', + '.*=','.+=','.-=','./=','.\=','.**=','.^=','=' + ), + // Indexer + 4 => array(':'), + // Delimiters + 5 => array(',', '...', ';'), ), 'CASE_SENSITIVE' => array( GESHI_COMMENTS => false, @@ -430,16 +443,14 @@ 2 => '::' ), 'REGEXPS' => array( - // Boolean functions - // false and true can be used as functions too. - // Do not highlight as boolean if followed by parentheses. -# 1 => array( -# GESHI_SEARCH => '(false|true)(\s*\\()', -# GESHI_REPLACE => '\\1', -# GESHI_MODIFIERS => '', -# GESHI_BEFORE => '', -# GESHI_AFTER => '\\2' -# ), + // Complex numbers + 1 => array( + GESHI_SEARCH => '([+-]?\d+(\.\d+)?(e\d+)?\s*[+-]\s*([ij]\*?)?\d+(\.\d+)?(e\d+)?(\*?[ij])?)', + GESHI_REPLACE => '\\1', + GESHI_MODIFIERS => 'si', + GESHI_BEFORE => '', + GESHI_AFTER => '' + ), //Function handle 2 => array( GESHI_SEARCH => '(@([A-Za-z_][A-Za-z1-9_]*)?)', @@ -447,6 +458,14 @@ GESHI_MODIFIERS => '', GESHI_BEFORE => '', GESHI_AFTER => '' + ), + //Packaging system + 3 => array( + GESHI_SEARCH => '((\b)pkg(?!(\s)*\()(\s)+(((un)?install|(un)?load|list|(global|local)_list|describe|prefix|(re)?build)(\b))?)', + GESHI_REPLACE => '\\1', + GESHI_MODIFIERS => '', + GESHI_BEFORE => '', + GESHI_AFTER => '' ) ), 'STRICT_MODE_APPLIES' => GESHI_NEVER, @@ -454,55 +473,55 @@ 'HIGHLIGHT_STRICT_BLOCK' => array(), 'STYLES' => array( 'KEYWORDS' => array( - 1 => 'color: #2E8B57; font-weight:bold;', // Data types - 2 => 'color: #2E8B57;', // Storage type - 3 => 'color: #0000FF; font-weight:bold;', // Internal variable - 4 => 'color: #990000; font-weight:bold;', // Reserved words - 5 => 'color: #008A8C; font-weight:bold;', // Built-in - 6 => 'color: #008A8C;', // Octave functions - 9 => 'color: #000000; font-weight:bold;', // Builtin Global Variables - 10 => 'color: #008A8C; font-weight:bold;' // Constant functions + 1 => 'color: #2E8B57; font-weight:bold;', // Data types + 2 => 'color: #2E8B57;', // Storage type + 3 => 'color: #0000FF; font-weight:bold;', // Internal variable + 4 => 'color: #990000; font-weight:bold;', // Reserved words + 5 => 'color: #008A8C; font-weight:bold;', // Built-in + 6 => 'color: #008A8C;', // Octave functions + 9 => 'color: #000000; font-weight:bold;', // Builtin Global Variables + 10 => 'color: #008A8C; font-weight:bold;' // Constant functions ), 'COMMENTS' => array( - 1 => 'color: #0000FF; font-style: italic;', - 2 => 'color: #0000FF; font-style: italic;', - 3 => 'color: #FF00FF; font-style: italic;', // single quote strings - 4 => 'color: #FF00FF; font-style: italic;', // double quote strings - 5 => 'color: #0000FF; font-style: italic;', // block comments - 'MULTI' => 'color: #0000FF; font-style: italic;' + 1 => 'color: #FF00FF; font-style: italic;', // single quote strings + 2 => 'color: #FF00FF; font-style: italic;', // double quote strings + 3 => 'color: #0000FF; font-style: italic;', // block comments + 'MULTI' => 'color: #0000FF; font-style: italic;' ), 'ESCAPE_CHAR' => array( - 0 => '' + 0 => '' ), 'BRACKETS' => array( - 0 => 'color: #080;' + 0 => 'color: #080;' ), 'STRINGS' => array( - 0 => 'color: #A020F0;' + 0 => 'color: #A020F0;' ), 'NUMBERS' => array( - 0 => 'color: #cc66cc;', - GESHI_NUMBER_OCT_PREFIX => 'color: #208080;', - GESHI_NUMBER_HEX_PREFIX => 'color: #208080;', - GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;' + 0 => 'color: #cc66cc;', + GESHI_NUMBER_OCT_PREFIX => 'color: #208080;', + GESHI_NUMBER_HEX_PREFIX => 'color: #208080;', + GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;' ), 'METHODS' => array( - 1 => '', - 2 => '' + 1 => '', + 2 => '' ), 'SYMBOLS' => array( - 0 => 'color: #FF0000; font-weight:bold;', - 1 => 'color: #FF0000; font-weight:bold;', - 2 => 'color: #FF0000; font-weight:bold;', - 3 => 'color: #FF0000;', - 4 => 'color: #33f' + 0 => 'color: #FF9696; font-weight:bold;', // Comparison & logical + 1 => 'color: #CC0000; font-weight:bold;', // Aritmethical + 2 => 'color: #993333; font-weight:bold;', // Elementwise arithmetical + 3 => 'color: #FF0000; font-weight:bold;', // Arithmetical & assignation + 4 => 'color: #33F;', // Indexer + 5 => 'color: #33F;' // Delimiters ), 'REGEXPS' => array( -# 1 => 'color: #008A8C; font-weight:bold;', // Boolean func - 2 => 'color: #006600; font-weight:bold;', //Function handle + 1 => 'color: #9966FF; font-weight:bold;', // Complex number + 2 => 'color: #006600; font-weight:bold;', //Function handle + 3 => 'color: #996600; font-weight:bold;', // Package manager ), 'SCRIPT' => array( - 0 => '' + 0 => '' ) ) ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <jpi...@us...> - 2012-05-24 20:41:53
|
Revision: 10520 http://octave.svn.sourceforge.net/octave/?rev=10520&view=rev Author: jpicarbajal Date: 2012-05-24 20:41:47 +0000 (Thu, 24 May 2012) Log Message: ----------- admin: lang files Modified Paths: -------------- trunk/octave-forge/admin/langfiles/octave.php Modified: trunk/octave-forge/admin/langfiles/octave.php =================================================================== --- trunk/octave-forge/admin/langfiles/octave.php 2012-05-24 20:29:27 UTC (rev 10519) +++ trunk/octave-forge/admin/langfiles/octave.php 2012-05-24 20:41:47 UTC (rev 10520) @@ -2,23 +2,20 @@ /************************************************************************************* * octave.php * ----------- - * Author: Juan Pablo Carbajal (car...@if...) - * Copyright: (c) 2012 Juan Pablo Carbajal (http://www.florian-knorn.com) + * Author: Carnë Draug (car...@gm...) + * Juan Pablo Carbajal (car...@if...) + * Copyright: (c) 2012 Carnë Draug + * (c) 2012 Juan Pablo Carbajal * Release Version: 1.0.0 * Date Started: 2012/05/22 * - * Octave M-file language file for GeSHi. - * Derived from matlab.php by Florian Knorn and octave.lang for GtkSourceView. + * GNU/Octave M-file language file for GeSHi. * * CHANGES * ------- * 2012/05/22 (1.0.0) * - First Release * - * TODO - * ------------------------- - * Instead of keywords use groups for different type of highlight - * http://qbnz.com/highlighter/geshi-doc.html#language-files * ************************************************************************************* * @@ -56,17 +53,17 @@ // underscores) or a closing bracket (round, square or curly) or a dot // (to form the array transpose operator ".'" ). // see the source of octave.lang of gtksourceview - 1 => "/(?<![0-9a-zA-Z_\)\]}\.])'.*?'/", + 3 => "/(?<![0-9a-zA-Z_\)\]}\.])'.*?'/", // Double quote strings: we also can't use QUOTEMARKS here (see single // line quotes). However, with double quote strings both \ and ... can // be used to make multiline strings. Continuation markers can be // followed by whitespace - 2 => '/"(.|(\.\.\.|\\\)(\s)*?\n)*?(?<!\\\)"/', + 4 => '/"(.|(\.\.\.|\\\)(\s)*?\n)*?(?<!\\\)"/', // Block comments: the ms modifiers treat strings as multiple lines (to // be able to use ^ and $ instead of newline and thus support block // comments on the first and last line of source) and make . also match // a newline - 3 => "/^\s*?[%#]{\s*?$.*?^\s*?[%#]}\s*?$/ms", + 5 => "/^\s*?[%#]{\s*?$.*?^\s*?[%#]}\s*?$/ms", ), 'NUMBERS' => GESHI_NUMBER_INT_BASIC | @@ -483,9 +480,11 @@ 10 => 'color: #008A8C; font-weight:bold;' // Constant functions ), 'COMMENTS' => array( - 1 => 'color: #FF00FF; font-style: italic;', // single quote strings - 2 => 'color: #FF00FF; font-style: italic;', // double quote strings - 3 => 'color: #0000FF; font-style: italic;', // block comments + 1 => 'color: #0000FF; font-style: italic;', // single quote strings + 2 => 'color: #0000FF; font-style: italic;', // double quote strings + 3 => 'color: #FF00FF; font-style: italic;', // single quote strings + 4 => 'color: #FF00FF; font-style: italic;', // double quote strings + 5 => 'color: #0000FF; font-style: italic;', // block comments 'MULTI' => 'color: #0000FF; font-style: italic;' ), 'ESCAPE_CHAR' => array( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <car...@us...> - 2012-05-28 11:31:56
|
Revision: 10531 http://octave.svn.sourceforge.net/octave/?rev=10531&view=rev Author: carandraug Date: 2012-05-28 11:31:45 +0000 (Mon, 28 May 2012) Log Message: ----------- GeSHi highlighting: * comments on file * added URL * made keywords match case insensitive * improved pkg regexp * swapped keyword #1 with #4 to to workaround GeSHi bug * removed octave deprecated functions * removed attempt to highlight complex numbers * fixed indentation problem Modified Paths: -------------- trunk/octave-forge/admin/langfiles/octave.php Modified: trunk/octave-forge/admin/langfiles/octave.php =================================================================== --- trunk/octave-forge/admin/langfiles/octave.php 2012-05-28 10:35:46 UTC (rev 10530) +++ trunk/octave-forge/admin/langfiles/octave.php 2012-05-28 11:31:45 UTC (rev 10531) @@ -6,17 +6,20 @@ * Juan Pablo Carbajal (car...@if...) * Copyright: (c) 2012 Carnë Draug * (c) 2012 Juan Pablo Carbajal - * Release Version: 1.0.0 + * Release Version: 1.0.8.11 * Date Started: 2012/05/22 * * GNU/Octave M-file language file for GeSHi. * + * This file was heavily based on octave.lang from gtksourceview. If bugs are + * found and/or fixed on this file, please send them to the gtksourceview + * project or e-mail them to this file authors. Thanks in advance + * * CHANGES * ------- - * 2012/05/22 (1.0.0) + * 2012/05/22 (1.0.8.11) * - First Release * - * ************************************************************************************* * * This file is part of GeSHi. @@ -39,20 +42,21 @@ $language_data = array ( 'LANG_NAME' => 'GNU/Octave', - 'COMMENT_SINGLE' => array(1=> '#', 2 => '%'), - // we really can't use this since these characters need to be alone (or with - // whitespace) on a line. We will have to use regexp + 'COMMENT_SINGLE' => array(1 => '#', 2 => '%'), + // we can't use COMMENT_MULTI since start and end of block comments need to + // be alone on the line (optionally, with whitespace). See COMMENT_REGEXP 'COMMENT_MULTI' => array(), + // we can't use QUOTEMARKS, not even HARDQUOTE, see COMMENT_REGEXP 'QUOTEMARKS' => array(), + 'ESCAPE_CHAR' => '', 'COMMENT_REGEXP' => array( - // Single quote strings: we really can't use QUOTEMARKS here since new + // Single quote strings: we can't use QUOTEMARKS here since new // lines will break the string. Plus, single quote strings do not even // allow for continuation markers, only double quote strings allow it. // Also, to do not misdetect the transpose operator ' as the start of a // string we assert to not follow a variable name (letters, digits and // underscores) or a closing bracket (round, square or curly) or a dot // (to form the array transpose operator ".'" ). - // see the source of octave.lang of gtksourceview 3 => "/(?<![0-9a-zA-Z_\)\]}\.])'.*?'/", // Double quote strings: we also can't use QUOTEMARKS here (see single // line quotes). However, with double quote strings both \ and ... can @@ -64,6 +68,12 @@ // comments on the first and last line of source) and make . also match // a newline 5 => "/^\s*?[%#]{\s*?$.*?^\s*?[%#]}\s*?$/ms", + // Packaging system: comes here so that pkg can also be used in the + // function form. The list of pkg commands is optional to the match so + // that at least pkg is highlighted if new commands are implemented + 6 => "/\bpkg(?!\s*\()\s+((un)?install|update|(un)?load|list|(global|local)_list|describe|prefix|(re)?build)?\b/", + // Function handles + 7 => "/@([a-z_][a-z1-9_]*)?/i", ), 'NUMBERS' => GESHI_NUMBER_INT_BASIC | @@ -71,12 +81,15 @@ GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_SCI_ZERO, 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, - 'ESCAPE_CHAR' => '', 'KEYWORDS' => array( - // Data types + // Reserved words 1 => array( - 'cell', 'char', 'double', 'uint8', 'uint16', 'uint32', 'uint64', - 'int8','int16', 'int32', 'int64', 'logical', 'single', 'struct' + 'break', 'case', 'catch', 'continue', 'do', 'else', 'elseif', 'end', + 'end_try_catch', 'end_unwind_protect', 'endfor', 'endfunction', + 'endif', 'endparfor', 'endswitch', 'endwhile', 'for', 'function', + 'if', 'otherwise', 'parfor', 'return', + 'switch', 'try', 'until', 'unwind_protect', + 'unwind_protect_cleanup', 'varargin', 'varargout', 'while' ), // Storage type 2 => array( @@ -84,14 +97,10 @@ ), // Internal variable 3 => array('ans'), - // Reserved words + // Data types 4 => array( - 'break', 'case', 'catch', 'continue', 'do', 'else', 'elseif', 'end', - 'end_try_catch', 'end_unwind_protect', 'endfor', 'endfunction', - 'endif', 'endparfor', 'endswitch', 'endwhile', 'for', 'function', - 'if', 'otherwise', 'parfor', 'return', - 'switch', 'try', 'until', 'unwind_protect', - 'unwind_protect_cleanup', 'varargin', 'varargout', 'while' + 'cell', 'char', 'double', 'uint8', 'uint16', 'uint32', 'uint64', + 'int8','int16', 'int32', 'int64', 'logical', 'single', 'struct' ), // Built in 5 => array( @@ -187,38 +196,38 @@ 'acscd', 'acsch', 'addpref', 'addtodate', 'allchild', 'amd', 'ancestor', 'anova', 'arch_fit', 'arch_rnd', 'arch_test', 'area', 'arma_rnd', 'asctime', 'asec', 'asecd', 'asech', 'asind', - 'assert', 'atand', 'autocor', 'autocov', 'autoreg_matrix', 'autumn', + 'assert', 'atand', 'autoreg_matrix', 'autumn', 'axes', 'axis', 'balance', 'bar', 'barh', 'bartlett', 'bartlett_test', - 'base2dec', 'beep', 'bessel', 'besselj', 'beta', 'betacdf', 'betai', + 'base2dec', 'beep', 'bessel', 'besselj', 'beta', 'betacdf', 'betainc', 'betainv', 'betaln', 'betapdf', 'betarnd', 'bicg', 'bicgstab', 'bicubic', 'bin2dec', 'bincoeff', 'binocdf', 'binoinv', 'binopdf', 'binornd', 'bitcmp', 'bitget', 'bitset', 'blackman', 'blanks', 'blkdiag', 'bone', 'box', 'brighten', 'bsxfun', 'bug_report', 'bunzip2', 'bzip2', 'calendar', 'cart2pol', 'cart2sph', 'cast', 'cauchy_cdf', 'cauchy_inv', 'cauchy_pdf', 'cauchy_rnd', - 'caxis', 'ccolamd', 'cell2mat', 'celldisp', 'cellfun', 'cellidx', + 'caxis', 'ccolamd', 'cell2mat', 'celldisp', 'cellfun', 'center', 'cgs', 'chi2cdf', 'chi2inv', 'chi2pdf', 'chi2rnd', 'chisquare_test_homogeneity', 'chisquare_test_independence', 'chol', - 'chop', 'circshift', 'cla', 'clabel', 'clf', 'clg', 'clock', + 'chop', 'circshift', 'cla', 'clabel', 'clf', 'clock', 'cloglog', 'close', 'closereq', 'colamd', 'colloc', 'colon', 'colorbar', 'colormap', 'colperm', 'colstyle', 'comet', 'comet3', 'comma', 'common_size', 'commutation_matrix', 'compan', 'compare_versions', 'compass', 'computer', 'cond', 'condest', 'contour', 'contour3', 'contourc', 'contourf', 'contrast', 'conv', - 'conv2', 'convhull', 'convhulln', 'cool', 'copper', 'copyfile', 'cor', - 'cor_test', 'corr', 'corrcoef', 'cosd', 'cot', 'cotd', 'coth', 'cov', - 'cplxpair', 'cquad', 'cross', 'csc', 'cscd', 'csch', 'cstrcat', - 'csvread', 'csvwrite', 'ctime', 'cumtrapz', 'curl', 'cut', 'cylinder', + 'conv2', 'convhull', 'convhulln', 'cool', 'copper', 'copyfile', + 'cor_test', 'corr', 'cosd', 'cot', 'cotd', 'coth', 'cov', + 'cplxpair', 'cross', 'csc', 'cscd', 'csch', 'cstrcat', + 'csvread', 'csvwrite', 'ctime', 'cumtrapz', 'curl', 'cylinder', 'daspect', 'daspk', 'dasrt', 'dassl', 'date', 'datenum', 'datestr', 'datetick', 'datevec', 'dblquad', 'deal', 'deblank', 'debug', 'dec2base', 'dec2bin', 'dec2hex', 'deconv', 'del2', 'delaunay', 'delaunay3', 'delaunayn', 'delete', 'demo', 'det', 'detrend', 'diffpara', 'diffuse', 'dir', 'discrete_cdf', 'discrete_inv', - 'discrete_pdf', 'discrete_rnd', 'dispatch', 'display', 'divergence', + 'discrete_pdf', 'discrete_rnd', 'display', 'divergence', 'dlmread', 'dlmwrite', 'dmperm', 'doc', 'dos', 'dot', 'dsearch', 'dsearchn', 'dump_prefs', 'duplication_matrix', 'durbinlevinson', 'edit', 'eig', 'eigs', 'ellipsoid', 'empirical_cdf', 'empirical_inv', - 'empirical_pdf', 'empirical_rnd', 'eomday', 'error_text', 'errorbar', + 'empirical_pdf', 'empirical_rnd', 'eomday', 'errorbar', 'etime', 'etreeplot', 'example', 'expcdf', 'expinv', 'expm', 'exppdf', 'exprnd', 'ezcontour', 'ezcontourf', 'ezmesh', 'ezmeshc', 'ezplot', 'ezplot3', 'ezpolar', 'ezsurf', 'ezsurfc', 'f_test_regression', @@ -227,13 +236,13 @@ 'fileattrib', 'fileparts', 'fileread', 'fill', 'filter', 'filter2', 'find', 'findall', 'findobj', 'findstr', 'finv', 'flag', 'flipdim', 'fliplr', 'flipud', 'fminbnd', 'fminunc', 'fpdf', 'fplot', - 'fractdiff', 'freqz', 'freqz_plot', 'frnd', 'fsolve', 'fstat', - 'fullfile', 'fzero', 'gamcdf', 'gaminv', 'gammai', 'gammainc', + 'fractdiff', 'freqz', 'freqz_plot', 'frnd', 'fsolve', + 'fullfile', 'fzero', 'gamcdf', 'gaminv', 'gammainc', 'gampdf', 'gamrnd', 'gca', 'gcbf', 'gcbo', 'gcd', 'gcf', 'gen_doc_cache', 'genvarname', 'geocdf', 'geoinv', 'geopdf', 'geornd', 'get_first_help_sentence', 'getappdata', 'getfield', 'getgrent', 'getpref', 'getpwent', 'getrusage', 'ginput', 'givens', 'glpk', - 'glpkmex', 'gls', 'gmap40', 'gmres', 'gnuplot_binary', 'gplot', + 'gls', 'gmap40', 'gmres', 'gnuplot_binary', 'gplot', 'gradient', 'graphics_toolkit', 'gray', 'gray2ind', 'grid', 'griddata', 'griddata3', 'griddatan', 'gtext', 'guidata', 'guihandles', 'gunzip', 'gzip', 'hadamard', 'hamming', 'hankel', @@ -244,16 +253,16 @@ 'imagesc', 'imfinfo', 'imread', 'imshow', 'imwrite', 'ind2gray', 'ind2rgb', 'index', 'info', 'inpolygon', 'inputname', 'int2str', 'interp1', 'interp1q', 'interp2', 'interp3', 'interpft', 'interpn', - 'intersect', 'intwarning', 'inv', 'invhilb', 'iqr', - 'is_duplicate_entry', 'is_global', 'is_leap_year', 'is_valid_file_id', + 'intersect', 'inv', 'invhilb', 'iqr', + 'is_leap_year', 'is_valid_file_id', 'isa', 'isappdata', 'iscolumn', 'isdefinite', 'isdeployed', 'isdir', 'isequal', 'isequalwithequalnans', 'isfigure', 'ishermitian', 'ishghandle', 'ishold', 'isletter', 'ismac', 'ismember', 'isocolors', 'isonormals', 'isosurface', 'ispc', 'ispref', 'isprime', 'isprop', - 'isrow', 'isscalar', 'issquare', 'isstr', 'isstrprop', 'issymmetric', + 'isrow', 'isscalar', 'issquare', 'isstrprop', 'issymmetric', 'isunix', 'isvector', 'jet', 'kendall', 'kolmogorov_smirnov_cdf', 'kolmogorov_smirnov_test', 'kolmogorov_smirnov_test_2', 'kron', - 'kruskal_wallis_test', 'krylov', 'krylovb', 'kurtosis', 'laplace_cdf', + 'kruskal_wallis_test', 'krylov', 'kurtosis', 'laplace_cdf', 'laplace_inv', 'laplace_pdf', 'laplace_rnd', 'lcm', 'legend', 'legendre', 'license', 'lin2mu', 'line', 'linkprop', 'list_primes', 'loadaudio', 'loadobj', 'logistic_cdf', 'logistic_inv', @@ -272,11 +281,11 @@ 'ocean', 'ols', 'onenormest', 'optimget', 'optimset', 'orderfields', 'orient', 'orth', 'pack', 'paren', 'pareto', 'parseparams', 'pascal', 'patch', 'pathdef', 'pbaspect', 'pcg', 'pchip', 'pcolor', 'pcr', - 'peaks', 'periodogram', 'perl', 'perms', 'perror', 'pie', 'pie3', - 'pink', 'pinv', 'planerot', 'playaudio', 'plot', 'plot3', + 'peaks', 'periodogram', 'perl', 'perms', 'pie', 'pie3', + 'pink', 'pinv', 'pkg', 'planerot', 'playaudio', 'plot', 'plot3', 'plotmatrix', 'plotyy', 'poisscdf', 'poissinv', 'poisspdf', 'poissrnd', 'pol2cart', 'polar', 'poly', 'polyaffine', 'polyarea', - 'polyder', 'polyderiv', 'polyfit', 'polygcd', 'polyint', 'polyout', + 'polyder', 'polyfit', 'polygcd', 'polyint', 'polyout', 'polyreduce', 'polyval', 'polyvalm', 'postpad', 'pow2', 'powerset', 'ppder', 'ppint', 'ppjumps', 'ppplot', 'ppval', 'pqpnonneg', 'prctile', 'prepad', 'primes', 'print', 'printAllBuiltins', @@ -286,15 +295,15 @@ 'qz', 'qzhess', 'rainbow', 'rand', 'randi', 'range', 'rank', 'ranks', 'rat', 'rcond', 'reallog', 'realpow', 'realsqrt', 'record', 'rectangle', 'rectint', 'recycle', 'refresh', 'refreshdata', 'regexp', - 'regexptranslate', 'replot', 'repmat', 'residue', 'rgb2hsv', + 'regexptranslate', 'repmat', 'residue', 'rgb2hsv', 'rgb2ind', 'rgb2ntsc', 'ribbon', 'rindex', 'rmappdata', 'rmpref', 'roots', 'rose', 'rosser', 'rot90', 'rotdim', 'rref', 'run', 'run_count', 'run_test', 'rundemos', 'runlength', 'runtests', - 'saveas', 'saveaudio', 'saveimage', 'saveobj', 'savepath', 'scatter', + 'saveas', 'saveaudio', 'saveobj', 'savepath', 'scatter', 'scatter3', 'schur', 'sec', 'secd', 'sech', 'semicolon', 'semilogx', 'semilogxerr', 'semilogy', 'semilogyerr', 'setappdata', 'setaudio', - 'setdiff', 'setfield', 'setpref', 'setstr', 'setxor', 'shading', - 'shell_cmd', 'shg', 'shift', 'shiftdim', 'sign_test', 'sinc', 'sind', + 'setdiff', 'setfield', 'setpref', 'setxor', 'shading', + 'shg', 'shift', 'shiftdim', 'sign_test', 'sinc', 'sind', 'sinetone', 'sinewave', 'skewness', 'slice', 'sombrero', 'sortrows', 'spaugment', 'spconvert', 'spdiags', 'spearman', 'spectral_adf', 'spectral_xdf', 'specular', 'speed', 'spencer', 'speye', 'spfun', @@ -302,12 +311,12 @@ 'sprand', 'sprandn', 'sprandsym', 'spring', 'spstats', 'spy', 'sqp', 'sqrtm', 'stairs', 'statistics', 'std', 'stdnormal_cdf', 'stdnormal_inv', 'stdnormal_pdf', 'stdnormal_rnd', 'stem', 'stem3', - 'stft', 'str2double', 'str2num', 'strcat', 'strchr', 'strerror', + 'stft', 'str2double', 'str2num', 'strcat', 'strchr', 'strfind', 'strjust', 'strmatch', 'strread', 'strsplit', 'strtok', - 'strtrim', 'strtrunc', 'structfun', 'studentize', 'sub2ind', + 'strtrim', 'strtrunc', 'structfun', 'sub2ind', 'subplot', 'subsindex', 'subspace', 'substr', 'substruct', 'summer', 'surf', 'surface', 'surfc', 'surfl', 'surfnorm', 'svd', 'svds', - 'swapbytes', 'syl', 'sylvester_matrix', 'symbfact', 'symrcm', + 'swapbytes', 'syl', 'symbfact', 'symrcm', 'symvar', 'synthesis', 't_test', 't_test_2', 't_test_regression', 'table', 'tand', 'tar', 'tcdf', 'tempdir', 'tempname', 'test', 'text', 'textread', 'textscan', 'time', 'tinv', 'title', 'toeplitz', 'tpdf', @@ -319,11 +328,11 @@ 'unidcdf', 'unidinv', 'unidpdf', 'unidrnd', 'unifcdf', 'unifinv', 'unifpdf', 'unifrnd', 'unimplemented', 'union', 'unique', 'unix', 'unmkpp', 'unpack', 'untabify', 'untar', 'unwrap', 'unzip', - 'urlwrite', 'usejava', 'validatestring', 'values', 'vander', 'var', + 'urlwrite', 'usejava', 'validatestring', 'vander', 'var', 'var_test', 'vech', 'ver', 'version', 'view', 'voronoi', 'voronoin', 'waitbar', 'waitforbuttonpress', 'warning_ids', 'wavread', 'wavwrite', - 'wblcdf', 'wblinv', 'wblpdf', 'wblrnd', 'weekday', 'weibcdf', - 'weibinv', 'weibpdf', 'weibrnd', 'welch_test', 'what', 'which', + 'wblcdf', 'wblinv', 'wblpdf', 'wblrnd', 'weekday', + 'welch_test', 'what', 'which', 'white', 'whitebg', 'wienrnd', 'wilcoxon_test', 'wilkinson', 'winter', 'xlabel', 'xlim', 'xor', 'ylabel', 'ylim', 'yulewalker', 'z_test', 'z_test_2', 'zip', 'zlabel', 'zlim', 'zscore', 'airy', 'arrayfun', @@ -363,7 +372,7 @@ // Private Octave functions 8 => array( '__all_opts__', '__contourc__', '__delaunayn__', '__dispatch__', - '__dsearchn__', '__error_text__', '__finish__', '__fltk_uigetfile__', + '__dsearchn__', '__finish__', '__fltk_uigetfile__', '__glpk__', '__gnuplot_drawnow__', '__init_fltk__', '__init_gnuplot__', '__lin_interpn__', '__magick_read__', '__makeinfo__', '__pchip_deriv__', '__plt_get_axis_arg__', '__qp__', @@ -387,7 +396,10 @@ 'WIFSTOPPED', 'WNOHANG', 'WSTOPSIG', 'WTERMSIG', 'WUNTRACED' ), // Constant functions - 10 => array ('e','eps','inf','nan','NA','pi','i','j','true','false'), + 10 => array ( + 'e', 'eps', 'inf', 'Inf', 'nan', 'NaN', 'NA', 'pi', 'i', 'I', 'j', + 'J', 'true', 'false' + ), ), 'SYMBOLS' => array( // Comparison & logical @@ -408,121 +420,86 @@ 4 => array(':'), // Delimiters 5 => array(',', '...', ';'), - ), + ), 'CASE_SENSITIVE' => array( - GESHI_COMMENTS => false, - 1 => false, - 2 => false, - 3 => false, - 4 => false, - 5 => false, - 6 => false, - 7 => false, - 8 => false, - 9 => false, - 10 => false + GESHI_COMMENTS => true, + 1 => true, + 2 => true, + 3 => true, + 4 => true, + 5 => true, + 6 => true, + 7 => true, + 8 => true, + 9 => true, + 10 => true, ), 'URLS' => array( 1 => '', 2 => '', 3 => '', - 4 => '', - 5 => '', - 6 => '', + 4 => 'http://octave.sourceforge.net/octave/function/{FNAME}.html', + 5 => 'http://octave.sourceforge.net/octave/function/{FNAME}.html', + 6 => 'http://octave.sourceforge.net/octave/function/{FNAME}.html', 7 => '', 8 => '', - 9 => '', - 10 => '' + 9 => 'http://octave.sourceforge.net/octave/function/{FNAME}.html', + 10 => 'http://octave.sourceforge.net/octave/function/{FNAME}.html', ), 'OOLANG' => true, 'OBJECT_SPLITTERS' => array( 1 => '.', - 2 => '::' ), - 'REGEXPS' => array( - // Complex numbers - 1 => array( - GESHI_SEARCH => '([+-]?\d+(\.\d+)?(e\d+)?\s*[+-]\s*([ij]\*?)?\d+(\.\d+)?(e\d+)?(\*?[ij])?)', - GESHI_REPLACE => '\\1', - GESHI_MODIFIERS => 'si', - GESHI_BEFORE => '', - GESHI_AFTER => '' - ), - //Function handle - 2 => array( - GESHI_SEARCH => '(@([A-Za-z_][A-Za-z1-9_]*)?)', - GESHI_REPLACE => '\\1', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '' - ), - //Packaging system - 3 => array( - GESHI_SEARCH => '((\b)pkg(?!(\s)*\()(\s)+(((un)?install|(un)?load|list|(global|local)_list|describe|prefix|(re)?build)(\b))?)', - GESHI_REPLACE => '\\1', - GESHI_MODIFIERS => '', - GESHI_BEFORE => '', - GESHI_AFTER => '' - ) - ), + 'REGEXPS' => array(), 'STRICT_MODE_APPLIES' => GESHI_NEVER, 'SCRIPT_DELIMITERS' => array(), 'HIGHLIGHT_STRICT_BLOCK' => array(), 'STYLES' => array( - 'KEYWORDS' => array( - 1 => 'color: #2E8B57; font-weight:bold;', // Data types - 2 => 'color: #2E8B57;', // Storage type - 3 => 'color: #0000FF; font-weight:bold;', // Internal variable - 4 => 'color: #990000; font-weight:bold;', // Reserved words - 5 => 'color: #008A8C; font-weight:bold;', // Built-in - 6 => 'color: #008A8C;', // Octave functions - 9 => 'color: #000000; font-weight:bold;', // Builtin Global Variables - 10 => 'color: #008A8C; font-weight:bold;' // Constant functions - ), 'COMMENTS' => array( - 1 => 'color: #0000FF; font-style: italic;', // single quote strings - 2 => 'color: #0000FF; font-style: italic;', // double quote strings + 1 => 'color: #0000FF; font-style: italic;', // comments with # + 2 => 'color: #0000FF; font-style: italic;', // comments with % 3 => 'color: #FF00FF; font-style: italic;', // single quote strings 4 => 'color: #FF00FF; font-style: italic;', // double quote strings 5 => 'color: #0000FF; font-style: italic;', // block comments - 'MULTI' => 'color: #0000FF; font-style: italic;' + 6 => 'color: #996600; font-weight:bold;', // packaging system + 7 => 'color: #006600; font-weight:bold;', // function handles + 'MULTI' => 'color: #0000FF; font-style: italic;', ), - 'ESCAPE_CHAR' => array( - 0 => '' + 'KEYWORDS' => array( + 1 => 'color: #990000; font-weight:bold;', // Reserved words + 2 => 'color: #2E8B57;', // Storage type + 3 => 'color: #0000FF; font-weight:bold;', // Internal variable + 4 => 'color: #2E8B57; font-weight:bold;', // Data types + 5 => 'color: #008A8C; font-weight:bold;', // Built-in + 6 => 'color: #008A8C;', // Octave functions + 9 => 'color: #000000; font-weight:bold;', // Builtin Global Variables + 10 => 'color: #008A8C; font-weight:bold;', // Constant functions ), + 'ESCAPE_CHAR' => array(), 'BRACKETS' => array( - 0 => 'color: #080;' + 0 => 'color: #080;', ), 'STRINGS' => array( - 0 => 'color: #A020F0;' + // strings were specified on the COMMENT_REGEXP section ), 'NUMBERS' => array( 0 => 'color: #cc66cc;', GESHI_NUMBER_OCT_PREFIX => 'color: #208080;', GESHI_NUMBER_HEX_PREFIX => 'color: #208080;', - GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;' + GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;', ), - 'METHODS' => array( - 1 => '', - 2 => '' - ), + 'METHODS' => array(), 'SYMBOLS' => array( - 0 => 'color: #FF9696; font-weight:bold;', // Comparison & logical - 1 => 'color: #CC0000; font-weight:bold;', // Aritmethical - 2 => 'color: #993333; font-weight:bold;', // Elementwise arithmetical - 3 => 'color: #FF0000; font-weight:bold;', // Arithmetical & assignation - 4 => 'color: #33F;', // Indexer - 5 => 'color: #33F;' // Delimiters + 0 => 'color: #FF9696; font-weight:bold;', // Comparison & logical + 1 => 'color: #CC0000; font-weight:bold;', // Aritmethical + 2 => 'color: #993333; font-weight:bold;', // Elementwise arithmetical + 3 => 'color: #FF0000; font-weight:bold;', // Arithmetical & assignation + 4 => 'color: #33F;', // Indexer + 5 => 'color: #33F;', // Delimiters ), - 'REGEXPS' => array( - 1 => 'color: #9966FF; font-weight:bold;', // Complex number - 2 => 'color: #006600; font-weight:bold;', //Function handle - 3 => 'color: #996600; font-weight:bold;', // Package manager - ), - 'SCRIPT' => array( - 0 => '' - ) - ) + 'REGEXPS' => array(), + 'SCRIPT' => array(), + ), ); ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |