]>
src.bluestatic.org Git - viewsvn.git/blob - applescript.php
31fd115372369b07bf851ac9e6e935ac79e99aee
2 /*************************************************************************************
5 * Author: Stephan Klimek (http://www.initware.org)
6 * Copyright: Stephan Klimek (http://www.initware.org)
7 * Release Version: 1.0.7.9
8 * CVS Revision Version: $Revision: 1.9 $
9 * Date Started: 2005/07/20
10 * Last Modified: $Date: 2006/04/23 01:14:41 $
12 * AppleScript language file for GeSHi.
18 * -------------------------
19 * URL settings to references
21 ************************************************************************************/
23 $language_data = array (
24 'LANG_NAME' => 'AppleScript',
25 'COMMENT_SINGLE' => array(1 => '--'),
26 'COMMENT_MULTI' => array( '(*' => '*)'),
27 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE
,
28 'QUOTEMARKS' => array('"',"'"),
29 'ESCAPE_CHAR' => '\\',
32 'script','property','prop','end','copy','to','set','global','local','on','to','of',
33 'in','given','with','without','return','continue','tell','if','then','else','repeat',
34 'times','while','until','from','exit','try','error','considering','ignoring','timeout',
35 'transaction','my','get','put','into','is'
38 'each','some','every','whose','where','id','index','first','second','third','fourth',
39 'fifth','sixth','seventh','eighth','ninth','tenth','last','front','back','st','nd',
40 'rd','th','middle','named','through','thru','before','after','beginning','the'
43 'close','copy','count','delete','duplicate','exists','launch','make','move','open',
44 'print','quit','reopen','run','save','saving',
45 'it','me','version','pi','result','space','tab','anything','case','diacriticals','expansion',
46 'hyphens','punctuation','bold','condensed','expanded','hidden','italic','outline','plain',
47 'shadow','strikethrough','subscript','superscript','underline','ask','no','yes','false',
48 'true','weekday','monday','mon','tuesday','tue','wednesday','wed','thursday','thu','friday',
49 'fri','saturday','sat','sunday','sun','month','january','jan','february','feb','march',
50 'mar','april','apr','may','june','jun','july','jul','august','aug','september',
51 'sep','october','oct','november','nov','december','dec','minutes','hours',
52 'days','weeks','div','mod','and','not','or','as','contains','equal','equals','isnt'
56 ')','+','-','^','*','/','&','<','>=','<','<=','=',''
58 'CASE_SENSITIVE' => array(
59 GESHI_COMMENTS
=> true,
66 1 => 'color: #b1b100;',
67 2 => 'color: #000000; font-weight: bold;',
68 3 => 'color: #000066;'
71 1 => 'color: #808080; font-style: italic;',
72 'MULTI' => 'color: #808080; font-style: italic;'
74 'ESCAPE_CHAR' => array(
75 0 => 'color: #000099; font-weight: bold;'
78 0 => 'color: #66cc66;'
81 0 => 'color: #ff0000;'
84 0 => 'color: #cc66cc;'
87 1 => 'color: #006600;',
88 2 => 'color: #006600;'
91 0 => 'color: #66cc66;'
94 0 => 'color: #0000ff;',
95 4 => 'color: #009999;',
104 'OBJECT_SPLITTERS' => array(
105 1 => ',+-=<>/?^&*'
108 0 => '[\\$%@]+[a-zA-Z_][a-zA-Z0-9_]*',
109 4 => '<[a-zA-Z_][a-zA-Z0-9_]*>',
111 'STRICT_MODE_APPLIES' => GESHI_NEVER
,
112 'SCRIPT_DELIMITERS' => array(
114 'HIGHLIGHT_STRICT_BLOCK' => array(