<?php
/**
 * gnuplot キーワード定義ファイル
 */

$switchHash['$'] = PLUGIN_CODE_ESCAPE;            // $ はエスケープ
$switchHash['\''] = PLUGIN_CODE_NONESCAPE_LITERAL; // ' はエスケープしない文字列リテラル
$mkoutline = $option['outline'] = false; // アウトラインモード不可 

// コメント定義
$switchHash['#'] = PLUGIN_CODE_COMMENT;	// コメントは # から改行まで (例外あり)
$code_comment = Array(
	'#' => Array(
				 Array('/^#/', "\n", 1),
	)
);


$code_css = Array(
  'operator',		// オペレータ関数
  'identifier',	// その他の識別子
  'pragma',		// module, import と pragma
  'system',		// 処理系組み込みの奴 __stdcall とか
  'environment',  // 環境変数 
  );

$code_keyword = Array(
  'cd' => 2,
  'call' => 2,
  'clear' => 2,
  'exit' => 2,
  'set' => 2,
  'unset' => 2,
  'plot' => 2,
  'splot' => 2,
  'help' => 2,
  'load' => 2,
  'pause' => 2,
  'quit' => 2,
  'fit' => 2,
  'replot' => 2,
  'if' => 2,
  'rep' => 2,
  'FIT_LIMIT' => 2,
  'FIT_MAXITER' => 2,
  'FIT_START_LAMBDA' => 2,
  'FIT_LAMBDA_FACTOR' => 2,
  'FIT_LOG' => 2,
  'FIT_SCRIPT' => 2,
  'print' => 2,
  'pwd' => 2,
  'reread' => 2,
  'reset' => 2,
  'save' => 2,
  'show' => 2,
  'test' => 2,
  '!' => 2,
  'functions' => 2,
  'var' => 2,
  'if' => 2,
  'using' => 2,
  'title' => 2,
  'notitle' => 2,
  'with' => 2,
  'steps' => 2,
  'fsteps' => 2,
  'u' => 2,
  'tit' => 2,
  'le' => 2,
  'wi' => 2,
  'fs' => 2,
  'title' => 2,
  'notitle' => 2,
  't' => 2,
  'with' => 2,
  'w' => 2,
  'lines' => 2,
  'l' => 2,
  'li' => 2,
  'linespoints' => 2,
  'via' => 2,
  'abs' => 2,
  'acos' => 2,
  'acosh' => 2,
  'arg' => 2,
  'asin' => 2,
  'asinh' => 2,
  'atan' => 2,
  'atanh' => 2,
  'atan2' => 2,
  'besj0' => 2,
  'besj1' => 2,
  'besy0' => 2,
  'besy1' => 2,
  'ceil' => 2,
  'column' => 2,
  'cos' => 2,
  'cosh' => 2,
  'erf' => 2,
  'erfc' => 2,
  'exp' => 2,
  'floor' => 2,
  'gamma' => 2,
  'ibeta' => 2,
  'inverf' => 2,
  'igamma' => 2,
  'imag' => 2,
  'invnorm' => 2,
  'int' => 2,
  'lgamma' => 2,
  'log' => 2,
  'log10' => 2,
  'norm' => 2,
  'rand' => 2,
  'real' => 2,
  'sgn' => 2,
  'sin' => 2,
  'sinh' => 2,
  'sqrt' => 2,
  'tan' => 2,
  'lambertw' => 2,
  'tanh' => 2,
  'valid' => 2,
  'tm_hour' => 2,
  'tm_mday' => 2,
  'tm_min' => 2,
  'tm_mon' => 2,
  'tm_sec' => 2,
  'tm_wday' => 2,
  'tm_yday' => 2,
  'tm_year' => 2,
  'xdata' => 2,
  'timefmt' => 2,
  'grid' => 2,
  'noytics' => 2,
  'ytics' => 2,
  'fs' => 2,
  'logscale' => 2,
  'time' => 2,
  'notime' => 2,
  'mxtics' => 2,
  'nomxtics' => 2,
  'style' => 2,
  'mcbtics' => 2,
  'nologscale' => 2,
  'axes' => 2,
  'x1y2' => 2,
  'unique' => 2,
  'acsplines' => 2,
  'acs' => 2,
  'size' => 2,
  'origin' => 2,
  'multiplot' => 2,
  'xtics' => 2,
  'xrange' => 2,
  'yrange' => 2,
  'square' => 2,
  'nosquare' => 2,
  'ratio' => 2,
  'noratio' => 2,
  'xr' => 2,
  'yr' => 2,
  'binary' => 2,
  'matrix' => 2,
  'index' => 2,
  'every' => 2,
  'thru' => 2,
  'smooth' => 2,
  'sm' => 2,
  'all' => 2,
  'angles' => 2,
  'degrees' => 2,
  'radians' => 2,
  'arrow' => 2,
  'noarrow' => 2,
  'autoscale' => 2,
  'noautoscale' => 2,
  'arrowstyle' => 2,
  'x' => 2,
  'y' => 2,
  'z' => 2,
  'zcb' => 2,
  'linear' => 2,
  'cubicspline' => 2,
  'bspline' => 2,
  'order' => 2,
  'levels' => 2,
  'level' => 2,
  'auto' => 2,
  'discrete' => 2,
  'incremental' => 2,
  'from' => 2,
  'to' => 2,
  'head' => 2,
  'nohead' => 2,
  'disc' => 2,
  'incr' => 2,
  'graph' => 2,
  'base' => 2,
  'both' => 2,
  'nosurface' => 2,
  'table' => 2,
  'output' => 2,
  'data' => 2,
  'out' => 2,
  'bar' => 2,
  'border' => 2,
  'noborder' => 2,
  'boxwidth' => 2,
  'clabel' => 2,
  'noclabel' => 2,
  'clip' => 2,
  'noclip' => 2,
  'cntrparam' => 2,
  'cntrp' => 2,
  'contour' => 2,
  'nocontour' => 2,
  'dgrid3d' => 2,
  'nodgrid3d' => 2,
  'dummy' => 2,
  'encoding' => 2,
  'format' => 2,
  'function' => 2,
  'grid' => 2,
  'nogrid' => 2,
  'hidden3d' => 2,
  'nohidden3d' => 2,
  'isosamples' => 2,
  'key' => 2,
  'nokey' => 2,
  'hidden' => 2,
  'nohidden' => 2,
  'historysize' => 2,
  'nohistorysize' => 2,
  'defaults' => 2,
  'offset' => 2,
  'nooffset' => 2,
  'trianglepattern' => 2,
  'undefined' => 2,
  'noundefined' => 2,
  'altdiagonal' => 2,
  'bentover' => 2,
  'noaltdiagonal' => 2,
  'nobentover' => 2,
  'left' => 2,
  'right' => 2,
  'top' => 2,
  'bottom' => 2,
  'outside' => 2,
  'below' => 2,
  'samplen' => 2,
  'spacing' => 2,
  'width' => 2,
  'height' => 2,
  'box' => 2,
  'nobox' => 2,
  'linestyle' => 2,
  'ls' => 2,
  'linetype' => 2,
  'lt' => 2,
  'linewidth' => 2,
  'lw' => 2,
  'Left' => 2,
  'Right' => 2,
  'autotitles' => 2,
  'noautotitles' => 2,
  'enhanced' => 2,
  'noenhanced' => 2,
  'isosamples' => 2,
  'label' => 2,
  'nolabel' => 2,
  'logscale' => 2,
  'nologscale' => 2,
  'missing' => 2,
  'center' => 2,
  'font' => 2,
  'locale' => 2,
  'mapping' => 2,
  'margin' => 2,
  'bmargin' => 2,
  'lmargin' => 2,
  'rmargin' => 2,
  'tmargin' => 2,
  'spherical' => 2,
  'cylindrical' => 2,
  'cartesian' => 2,
  'linestyle' => 2,
  'nolinestyle' => 2,
  'linetype' => 2,
  'lt' => 2,
  'linewidth' => 2,
  'lw' => 2,
  'pointtype' => 2,
  'pt' => 2,
  'pointsize' => 2,
  'ps' => 2,
  'mouse' => 2,
  'nomouse' => 2,
  'nooffsets' => 2,
  'data' => 2,
  'candlesticks' => 2,
  'financebars' => 2,
  'linespoints' => 2,
  'lp' => 2,
  'vector' => 2,
  'nosurface' => 2,
  'terminal' => 2,
  'linux' => 2,
  'aed767' => 2,
  'aed512' => 2,
  'gpic' => 2,
  'regis' => 2,
  'tek410x' => 2,
  'tek40' => 2,
  'vttek' => 2,
  'kc-tek40xx' => 2,
  'km-tek40xx' => 2,
  'selanar' => 2,
  'bitgraph' => 2,
  'xlib' => 2,
  'x11' => 2,
  'X11' => 2,
  'aifm' => 2,
  'cgm' => 2,
  'dumb' => 2,
  'fig' => 2,
  'gif' => 2,
  'small' => 2,
  'large' => 2,
  'size' => 2,
  'nofontlist' => 2,
  'winword6' => 2,
  'corel' => 2,
  'dxf' => 2,
  'emf' => 2,
  'hpgl' => 2,
  'hp2623a' => 2,
  'hp2648' => 2,
  'hp500c' => 2,
  'pcl5' => 2,
  'hpljii' => 2,
  'hpdj' => 2,
  'hppj' => 2,
  'imagen' => 2,
  'mif' => 2,
  'pbm' => 2,
  'png' => 2,
  'svg' => 2,
  'postscript' => 2,
  'enhanced_postscript' => 2,
  'qms' => 2,
  'table' => 2,
  'tgif' => 2,
  'tkcanvas' => 2,
  'epson-180dpi' => 2,
  'epson-60dpi' => 2,
  'epson-lx800' => 2,
  'nec-cp6' => 2,
  'okidata' => 2,
  'starc' => 2,
  'tandy-60dpi' => 2,
  'latex' => 2,
  'emtex' => 2,
  'pslatex' => 2,
  'pstex' => 2,
  'epslatex' => 2,
  'eepic' => 2,
  'tpic' => 2,
  'pstricks' => 2,
  'texdraw' => 2,
  'mf' => 2,
  'metafont' => 2,
  'mpost' => 2,
  'mp' => 2,
  'timestamp' => 2,
  'notimestamp' => 2,
  'variables' => 2,
  'version' => 2,
  'x2data' => 2,
  'y2data' => 2,
  'ydata' => 2,
  'zdata' => 2,
  'reverse' => 2,
  'writeback' => 2,
  'noreverse' => 2,
  'nowriteback' => 2,
  'axis' => 2,
  'mirror' => 2,
  'autofreq' => 2,
  'nomirror' => 2,
  'rotate' => 2,
  'autofreq' => 2,
  'norotate' => 2,
  'update' => 2,
  'multiplot' => 2,
  'nomultiplot' => 2,
  'mytics' => 2,
  'nomytics' => 2,
  'mztics' => 2,
  'nomztics' => 2,
  'mx2tics' => 2,
  'nomx2tics' => 2,
  'my2tics' => 2,
  'nomy2tics' => 2,
  'offsets' => 2,
  'origin' => 2,
  'output' => 2,
  'parametric' => 2,
  'noparametric' => 2,
  'pointsize' => 2,
  'polar' => 2,
  'nopolar' => 2,
  'para' => 2,
  'nopara' => 2,
  'zrange' => 2,
  'x2range' => 2,
  'y2range' => 2,
  'rrange' => 2,
  'cbrange' => 2,
  'trange' => 2,
  'urange' => 2,
  'vrange' => 2,
  'samples' => 2,
  'size' => 2,
  'sample' => 2,
  'bezier' => 2,
  'boxerrorbars' => 2,
  'boxes' => 2,
  'bargraph' => 2,
  'bars' => 2,
  'bar' => 2,
  'boxxyerrorbars' => 2,
  'csplines' => 2,
  'dots' => 2,
  'fsteps' => 2,
  'histeps' => 2,
  'impulses' => 2,
  'boxxy' => 2,
  'line' => 2,
  'lines' => 2,
  'linespoints' => 2,
  'points' => 2,
  'poiinttype' => 2,
  'sbezier' => 2,
  'splines' => 2,
  'steps' => 2,
  'linesp' => 2,
  'vectors' => 2,
  'xerrorbars' => 2,
  'xyerrorbars' => 2,
  'yerrorbars' => 2,
  'financebars' => 2,
  'candlesticks' => 2,
  'vector' => 2,
  'xerr' => 2,
  'xyerr' => 2,
  'yerr' => 2,
  'errorbars' => 2,
  'surface' => 2,
  'filledcurve' => 2,
  'filledcurves' => 2,
  'pm3d' => 2,
  'x1' => 2,
  'x2' => 2,
  'y1' => 2,
  'y2' => 2,
  'xy' => 2,
  'closed' => 2,
  'at' => 2,
  'pi' => 2,
  'front' => 2,
  'errorlines' => 2,
  'xerrorlines' => 2,
  'yerrorlines' => 2,
  'xyerrorlines' => 2,
  'tics' => 2,
  'ticslevel' => 2,
  'ticscale' => 2,
  'time' => 2,
  'timefmt' => 2,
  'view' => 2,
  'xdata' => 2,
  'xdtics' => 2,
  'noxdtics' => 2,
  'ydtics' => 2,
  'noydtics' => 2,
  'zdtics' => 2,
  'nozdtics' => 2,
  'x2dtics' => 2,
  'nox2dtics' => 2,
  'y2dtics' => 2,
  'noy2dtics' => 2,
  'xlab' => 2,
  'ylab' => 2,
  'zlab' => 2,
  'cblab' => 2,
  'x2label' => 2,
  'y2label' => 2,
  'xmtics' => 2,
  'xlabel' => 2,
  'ylavel' => 2,
  'zlabel' => 2,
  'cblabel' => 2,
  'xmtics' => 2,
  'noxmtics' => 2,
  'ymtics' => 2,
  'noymtics' => 2,
  'zmtics' => 2,
  'nozmtics' => 2,
  'x2mtics' => 2,
  'nox2mtics' => 2,
  'y2mtics' => 2,
  'noy2mtics' => 2,
  'cbdtics' => 2,
  'nocbdtics' => 2,
  'cbmtics' => 2,
  'nocbmtics' => 2,
  'cbtics' => 2,
  'nocbtics' => 2,
  'xtics' => 2,
  'noxtics' => 2,
  'ytics' => 2,
  'noytics' => 2,
  'ztics' => 2,
  'noztics' => 2,
  'x2tics' => 2,
  'nox2tics' => 2,
  'y2tics' => 2,
  'noy2tics' => 2,
  'zero' => 2,
  'nozero' => 2,
  'zeroaxis' => 2,
  'nozeroaxis' => 2,
  'xzeroaxis' => 2,
  'noxzeroaxis' => 2,
  'yzeroaxis' => 2,
  'noyzeroaxis' => 2,
  'x2zeroaxis' => 2,
  'nox2zeroaxis' => 2,
  'y2zeroaxis' => 2,
  'noy2zeroaxis' => 2,
  'angles' => 2,
  'one' => 2,
  'two' => 2,
  'fill' => 2,
  'empty' => 2,
  'solid' => 2,
  'pattern' => 2,
  'default' => 2,
  'scansautomatic' => 2,
  'flush' => 2,
  'begin' => 2,
  'noftriangles' => 2,
  'implicit' => 2,
  'palette' => 2,
  'positive' => 2,
  'negative' => 2,
  'ps_allcF' => 2,
  'nops_allcF' => 2,
  'maxcolors' => 2,
  'push' => 2,
  'fontfile' => 2,
  'pop' => 2,
  'rgbformulae' => 2,
  'defined' => 2,
  'file' => 2,
  'color' => 2,
  'model' => 2,
  'gradient' => 2,
  'colornames' => 2,
  'RGB' => 2,
  'HSV' => 2,
  'CMY' => 2,
  'YIQ' => 2,
  'XYZ' => 2,
  'colorbox' => 2,
  'vertical' => 2,
  'horizontal' => 2,
  'user' => 2,
  'bdefault' => 2,
  'loadpath' => 2,
  'fontpath' => 2,
  'decimalsign' => 2,
  'in' => 2,
  'out' => 2,
);
?>