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

$switchHash['$'] = PLUGIN_CODE_ESCAPE;            // $ はエスケープ
$switchHash['\''] = PLUGIN_CODE_NONESCAPE_LITERAL; // ' はエスケープしない文字列リテラル

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

// アウトライン用
if($mkoutline){
  $switchHash['{'] = PLUGIN_CODE_BLOCK_START;
  $switchHash['}'] = PLUGIN_CODE_BLOCK_END;
}

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

$code_keyword = Array(
  'proc' => 2,
  'global' => 2,
  'return' => 2,
  'lindex' => 2,
  'llength' => 2,
  'lappend' => 2,
  'lreplace' => 2,
  'lrange' => 2,
  'list' => 2,
  'concat' => 2,
  'incr' => 2,
  'upvar' => 2,
  'set' => 2,
  'case' => 2,
  'default' => 2,
  'if' => 2,
  'then' => 2,
  'else' => 2,
  'elseif' => 2,
  'switch' => 2,
  'while' => 2,
  'for' => 2,
  'foreach' => 2,
  'break' => 2,
  'continue' => 2,
  'contained' => 2,
  'insert' => 2,
  'create' => 2,
  'polygon' => 2,
  'fill' => 2,
  'outline' => 2,
  'tag' => 2,
  'contained' => 2,
  'background' => 2,
  'highlightbackground' => 2,
  'insertontime' => 2,
  'cget' => 2,
  'contained' => 2,
  'selectborderwidth' => 2,
  'borderwidth' => 2,
  'highlightcolor' => 2,
  'insertwidth' => 2,
  'contained' => 2,
  'selectforeground' => 2,
  'cursor' => 2,
  'highlightthickness' => 2,
  'padx' => 2,
  'setgrid' => 2,
  'contained' => 2,
  'exportselection' => 2,
  'insertbackground' => 2,
  'pady' => 2,
  'takefocus' => 2,
  'contained' => 2,
  'font' => 2,
  'insertborderwidth' => 2,
  'relief' => 2,
  'xscrollcommand' => 2,
  'contained' => 2,
  'foreground' => 2,
  'insertofftime' => 2,
  'selectbackground' => 2,
  'yscrollcommand' => 2,
  'contained' => 2,
  'height' => 2,
  'spacing1' => 2,
  'spacing2' => 2,
  'spacing3' => 2,
  'contained' => 2,
  'state' => 2,
  'tabs' => 2,
  'width' => 2,
  'wrap' => 2,
  'contained' => 2,
  'command' => 2,
  'default' => 2,
  'contained' => 2,
  'closeenough' => 2,
  'confine' => 2,
  'scrollregion' => 2,
  'xscrollincrement' => 2,
  'yscrollincrement' => 2,
  'orient' => 2,
  'contained' => 2,
  'indicatoron' => 2,
  'offvalue' => 2,
  'onvalue' => 2,
  'selectcolor' => 2,
  'selectimage' => 2,
  'state' => 2,
  'variable' => 2,
  'contained' => 2,
  'show' => 2,
  'class' => 2,
  'colormap' => 2,
  'container' => 2,
  'visual' => 2,
  'contained' => 2,
  'selectmode' => 2,
  'postcommand' => 2,
  'selectcolor' => 2,
  'tearoff' => 2,
  'tearoffcommand' => 2,
  'title' => 2,
  'type' => 2,
  'contained' => 2,
  'direction' => 2,
  'aspect' => 2,
  'justify' => 2,
  'contained' => 2,
  'bigincrement' => 2,
  'digits' => 2,
  'from' => 2,
  'length' => 2,
  'resolution' => 2,
  'showvalue' => 2,
  'sliderlength' => 2,
  'sliderrelief' => 2,
  'tickinterval' => 2,
  'to' => 2,
  'contained' => 2,
  'activerelief' => 2,
  'elementborderwidth' => 2,
  'contained' => 2,
  'delete' => 2,
  'names' => 2,
  'types' => 2,
  'create' => 2,
  'contained' => 2,
  'active' => 2,
  'end' => 2,
  'last' => 2,
  'none' => 2,
  'cascade' => 2,
  'checkbutton' => 2,
  'command' => 2,
  'radiobutton' => 2,
  'separator' => 2,
  'contained' => 2,
  'activebackground' => 2,
  'actveforeground' => 2,
  'accelerator' => 2,
  'background' => 2,
  'bitmap' => 2,
  'columnbreak' => 2,
  'contained' => 2,
  'font' => 2,
  'foreground' => 2,
  'hidemargin' => 2,
  'image' => 2,
  'indicatoron' => 2,
  'label' => 2,
  'menu' => 2,
  'offvalue' => 2,
  'onvalue' => 2,
  'contained' => 2,
  'selectcolor' => 2,
  'selectimage' => 2,
  'state' => 2,
  'underline' => 2,
  'value' => 2,
  'variable' => 2,
  'contained' => 2,
  'add' => 2,
  'clone' => 2,
  'configure' => 2,
  'delete' => 2,
  'entrycget' => 2,
  'entryconfigure' => 2,
  'index' => 2,
  'insert' => 2,
  'invoke' => 2,
  'contained' => 2,
  'post' => 2,
  'postcascade' => 2,
  'type' => 2,
  'unpost' => 2,
  'yposition' => 2,
  'activate' => 2,
  'contained' => 2,
  'children' => 2,
  'code' => 2,
  'current' => 2,
  'delete' => 2,
  'eval' => 2,
  'contained' => 2,
  'export' => 2,
  'forget' => 2,
  'import' => 2,
  'inscope' => 2,
  'origin' => 2,
  'contained' => 2,
  'parent' => 2,
  'qualifiers' => 2,
  'tail' => 2,
  'which' => 2,
  'command' => 2,
  'variable' => 2,
  'contained' => 2,
  'acos' => 2,
  'cos' => 2,
  'hypot' => 2,
  'sinh' => 2,
  'contained' => 2,
  'asin' => 2,
  'cosh' => 2,
  'log' => 2,
  'sqrt' => 2,
  'contained' => 2,
  'atan' => 2,
  'exp' => 2,
  'log10' => 2,
  'tan' => 2,
  'contained' => 2,
  'atan2' => 2,
  'floor' => 2,
  'pow' => 2,
  'tanh' => 2,
  'contained' => 2,
  'ceil' => 2,
  'fmod' => 2,
  'sin' => 2,

  );
?>