websvn |
Subversion Repositories: |
Rev 1 | Rev 3 | |
---|---|---|
Line 2... | Line 2... | |
/************************************************************************************* |
/************************************************************************************* | |
* applescript.php |
* applescript.php | |
* -------- |
* -------- | |
* Author: Stephan Klimek (http://www.initware.org) |
* Author: Stephan Klimek (http://www.initware.org) | |
* Copyright: Stephan Klimek (http://www.initware.org) |
* Copyright: Stephan Klimek (http://www.initware.org) | |
* Release Version: 1.0.8.1 |
* Release Version: 1.0.8.3 | |
* Date Started: 2005/07/20 |
* Date Started: 2005/07/20 | |
* |
* | |
* AppleScript language file for GeSHi. |
* AppleScript language file for GeSHi. | |
* |
* | |
* CHANGES |
* CHANGES | |
Line 49... | Line 49... | |
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, | |
'QUOTEMARKS' => array('"'), |
'QUOTEMARKS' => array('"'), | |
'ESCAPE_CHAR' => '\\', |
'ESCAPE_CHAR' => '\\', | |
'KEYWORDS' => array( |
'KEYWORDS' => array( | |
1 => array( |
1 => array( | |
'script','property','prop','end','to','set','global','local','on','of', |
'application','close','count','delete','duplicate','exists','launch','make','move','open', | |
'in','given','with','without','return','continue','tell','if','then','else','repeat', |
'print','quit','reopen','run','save','saving', 'idle', 'path to', 'number', 'alias', 'list', 'text', 'string', | |
'times','while','until','from','exit','try','error','considering','ignoring','timeout', |
'integer', 'it','me','version','pi','result','space','tab','anything','case','diacriticals','expansion', | |
'transaction','my','get','put','into','is' |
'hyphens','punctuation','bold','condensed','expanded','hidden','italic','outline','plain', | |
'shadow','strikethrough','subscript','superscript','underline','ask','no','yes','false', 'id', | ||
'true','weekday','monday','mon','tuesday','tue','wednesday','wed','thursday','thu','friday', | ||
'fri','saturday','sat','sunday','sun','month','january','jan','february','feb','march', | ||
'mar','april','apr','may','june','jun','july','jul','august','aug','september', 'quote', 'do JavaScript', | ||
'sep','october','oct','november','nov','december','dec','minutes','hours', 'name', 'default answer', | ||
'days','weeks', 'folder', 'folders', 'file', 'files', 'window', 'eject', 'disk', 'reveal', 'sleep', | ||
'shut down', 'restart', 'display dialog', 'buttons', 'invisibles', 'item', 'items', 'delimiters', 'offset of', | ||
'AppleScript\'s', 'choose file', 'choose folder', 'choose from list', 'beep', 'contents', 'do shell script', | ||
'paragraph', 'paragraphs', 'missing value', 'quoted form', 'desktop', 'POSIX path', 'POSIX file', | ||
'activate', 'document', 'adding', 'receiving', 'content', 'new', 'properties', 'info for', 'bounds', | ||
'selection', 'extension', 'into', 'onto', 'by', 'between', 'against', 'set the clipboard to', 'the clipboard' | ||
), |
), | |
2 => array( |
2 => array( | |
'each','some','every','whose','where','id','index','first','second','third','fourth', |
'each','some','every','whose','where','index','first','second','third','fourth', | |
'fifth','sixth','seventh','eighth','ninth','tenth','last','front','back','st','nd', |
'fifth','sixth','seventh','eighth','ninth','tenth','last','front','back','st','nd', | |
'rd','th','middle','named','through','thru','before','after','beginning','the' |
'rd','th','middle','named','through','thru','before','after','beginning','the', 'as', | |
'div','mod','and','not','or','contains','equal','equals','isnt', 'less', 'greater' | ||
), |
), | |
3 => array( |
3 => array( | |
'close','copy','count','delete','duplicate','exists','launch','make','move','open', |
'script','property','prop','end','to','set','global','local','on','of', | |
'print','quit','reopen','run','save','saving', |
'in','given','with','without','return','continue','tell','if','then','else','repeat', | |
'it','me','version','pi','result','space','tab','anything','case','diacriticals','expansion', |
'times','while','until','from','exit','try','error','considering','ignoring','timeout', | |
'hyphens','punctuation','bold','condensed','expanded','hidden','italic','outline','plain', |
'transaction','my','get','put','is', 'copy' | |
'shadow','strikethrough','subscript','superscript','underline','ask','no','yes','false', |
||
'true','weekday','monday','mon','tuesday','tue','wednesday','wed','thursday','thu','friday', |
||
'fri','saturday','sat','sunday','sun','month','january','jan','february','feb','march', |
||
'mar','april','apr','may','june','jun','july','jul','august','aug','september', |
||
'sep','october','oct','november','nov','december','dec','minutes','hours', |
||
'days','weeks','div','mod','and','not','or','as','contains','equal','equals','isnt' |
||
) |
) | |
), |
), | |
'SYMBOLS' => array( |
'SYMBOLS' => array( | |
')','+','-','^','*','/','&','<','>=','<','<=','=','ďż˝' |
')','+','-','^','*','/','&','<','>=','<','<=','=','ďż˝' | |
), |
), | |
Line 83... | Line 89... | |
2 => false, |
2 => false, | |
3 => false, |
3 => false, | |
), |
), | |
'STYLES' => array( |
'STYLES' => array( | |
'KEYWORDS' => array( |
'KEYWORDS' => array( | |
1 => 'color: #b1b100;', |
1 => 'color: #0066ff;', | |
2 => 'color: #000000; font-weight: bold;', |
2 => 'color: #ff0033;', | |
3 => 'color: #000066;' |
3 => 'color: #ff0033; font-weight: bold;' | |
), |
), | |
'COMMENTS' => array( |
'COMMENTS' => array( | |
1 => 'color: #808080; font-style: italic;', |
1 => 'color: #808080; font-style: italic;', | |
2 => '', |
2 => '', | |
3 => 'color: #ff0000;', |
3 => 'color: #ff0000;', | |
'MULTI' => 'color: #808080; font-style: italic;' |
'MULTI' => 'color: #808080; font-style: italic;' | |
), |
), | |
'ESCAPE_CHAR' => array( |
'ESCAPE_CHAR' => array( | |
0 => 'color: #000099; font-weight: bold;' |
0 => 'color: #000000; font-weight: bold;' | |
), |
), | |
'BRACKETS' => array( |
'BRACKETS' => array( | |
0 => 'color: #66cc66;' |
0 => 'color: #000000;' | |
), |
), | |
'STRINGS' => array( |
'STRINGS' => array( | |
0 => 'color: #ff0000;' |
0 => 'color: #009900;' | |
), |
), | |
'NUMBERS' => array( |
'NUMBERS' => array( | |
0 => 'color: #cc66cc;' |
0 => 'color: #000000;' | |
), |
), | |
'METHODS' => array( |
'METHODS' => array( | |
1 => 'color: #006600;', |
1 => 'color: #006600;', | |
2 => 'color: #006600;' |
2 => 'color: #006600;' | |
), |
), | |
'SYMBOLS' => array( |
'SYMBOLS' => array( | |
0 => 'color: #66cc66;' |
0 => 'color: #000000;' | |
), |
), | |
'REGEXPS' => array( |
'REGEXPS' => array( | |
0 => 'color: #0000ff;', |
0 => 'color: #339933;', | |
4 => 'color: #009999;', |
4 => 'color: #0066ff;', | |
), |
), | |
'SCRIPT' => array( |
'SCRIPT' => array( | |
) |
) | |
), |
), | |
'URLS' => array( |
'URLS' => array( | |
Line 138... | Line 144... | |
), |
), | |
'STRICT_MODE_APPLIES' => GESHI_NEVER, |
'STRICT_MODE_APPLIES' => GESHI_NEVER, | |
'SCRIPT_DELIMITERS' => array( |
'SCRIPT_DELIMITERS' => array( | |
), |
), | |
'HIGHLIGHT_STRICT_BLOCK' => array( |
'HIGHLIGHT_STRICT_BLOCK' => array( | |
), | ||
'PARSER_CONTROL' => array( | ||
'KEYWORDS' => array( | ||
'SPACE_AS_WHITESPACE' => true | ||
) | ||
) |
) | |
); |
); | |
|
| |
?> |
?> | |
|