home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Shareware / Twistpad 1.1 / Setup.exe / Syntax / PHP.sdf < prev    next >
Encoding:
Text File  |  2006-04-29  |  9.2 KB  |  350 lines

  1. ;PHP adicional Syntax highlight Script for Twistpad
  2. ;1998 - 2006 (C) Carthago Software
  3.  
  4. [::Header::]
  5. SyntaxName=PHP
  6. delimiters=?%-+/&*=<>|!~^,.:;(){}#*"][/'
  7. Extensions=php
  8. Functions=<[Hh][1-6]|(?i)<head|(?i)<body|(?i)<table
  9. ;Spell Everything
  10. Spelling=1 
  11. ;Except when a word is in this Contexts:
  12. SpellingContexts=1;3;4;10;14;100;101;102;103;104;106
  13.  
  14. ;make sure html comment is before the tag definition
  15. [HTML Comment]
  16. Type=StartStop
  17. Context=2
  18. Priority=10
  19. Scope=0
  20. WholeWordOnly=0
  21. First=<!--
  22. Last=-->
  23. Background=Default
  24. Foreground=008000
  25. Italic=0
  26. Outline=1
  27.  
  28. [php]
  29. Type=startstop
  30. Context=14
  31. Priority=9
  32. Scope=0 
  33. WholeWordOnly=0
  34. first=<?
  35. last=?>
  36. Background=Default
  37. Background=FFFFAD
  38. ;Foreground=default
  39. Outline=1
  40. smart=1
  41.  
  42. [Tag]
  43. Type=StartStop
  44. Context=1
  45. Priority=8
  46. Scope=0
  47. WholeWordOnly=0
  48. First=<
  49. Last=>
  50. Background=Default
  51. Foreground=333399
  52.  
  53. [HTML String]
  54. Type=StartStop
  55. Context=3
  56. Priority=9
  57. Scope=1
  58. WholeWordOnly=0
  59. First="
  60. Last="
  61. Background=Default
  62. Foreground=0000FF
  63.  
  64. [Scripts]
  65. Type=startstop
  66. Context=4
  67. Priority=8
  68. Scope=1
  69. WholeWordOnly=0
  70. first=SCRIPT
  71. last=/SCRIPT
  72. Background=default
  73. Foreground=default
  74. Outline=1
  75.  
  76. [Scripts Comment]
  77. Type=startstop
  78. Context=8
  79. Priority=9
  80. Scope=4
  81. WholeWordOnly=0
  82. first=//
  83. last=
  84. Background=Default
  85. Foreground=008000
  86.  
  87. [Scripts String]
  88. Type=startstop
  89. Context=9
  90. Priority=9
  91. Scope=4
  92. WholeWordOnly=0
  93. first="
  94. last="
  95. Background=Default
  96. Foreground=408080
  97.  
  98. [Scripts String2]
  99. Type=startstop
  100. Context=10
  101. Priority=9
  102. Scope=4
  103. WholeWordOnly=0
  104. first='
  105. last='
  106. Background=Default
  107. Foreground=408080
  108.  
  109. [Scripts Multiline comment]
  110. Type=startstop
  111. Context=11
  112. Priority=9
  113. Scope=4
  114. WholeWordOnly=0
  115. first=/*
  116. last=*/
  117. Background=Default
  118. Foreground=008000
  119.  
  120. [Style]
  121. Type=startstop
  122. Context=12
  123. Priority=9
  124. Scope=0
  125. WholeWordOnly=0
  126. first=<STYLE
  127. last=</STYLE>
  128. Background=Default
  129. Foreground=default
  130.  
  131. [StyleBrack]
  132. Type=startstop
  133. Context=13
  134. Priority=9
  135. Scope=10
  136. WholeWordOnly=0
  137. first={
  138. last=}
  139. Background=Default
  140. Foreground=FF0000
  141.  
  142.  
  143. [php Comment]
  144. Type=StartStop
  145. Context=15
  146. Priority=8
  147. Scope=14
  148. WholeWordOnly=0
  149. First=/*
  150. Last=*/
  151. Background=Default
  152. ;Background=FFFFAD
  153. Foreground=008000
  154. Outline=1
  155.  
  156. [php Comment 2]
  157. Type=StartStop
  158. Context=16
  159. Priority=8
  160. Scope=14
  161. WholeWordOnly=0
  162. First=//
  163. Last=
  164. Background=Default
  165. ;Background=FFFFAD
  166. Foreground=008000
  167.  
  168.  
  169. [php String]
  170. Type=StartStop
  171. Context=17
  172. Priority=8
  173. Scope=14
  174. WholeWordOnly=0
  175. First="
  176. Last="
  177. Background=Default
  178. ;Background=FFFFAD
  179. Foreground=FF0000
  180.  
  181. [php String 2]
  182. Type=StartStop
  183. Context=18
  184. Priority=8
  185. Scope=14
  186. WholeWordOnly=0
  187. First='
  188. Last='
  189. Background=Default
  190. Foreground=FF0000
  191.  
  192. [ssScriptsBrackets]
  193. Type=startstop
  194. Context=4
  195. Priority=8
  196. Scope=4
  197. WholeWordOnly=0
  198. first={
  199. last=}
  200. Background=default
  201. Foreground=default
  202. Outline=1
  203. smart=1
  204.  
  205. [Tag Names]
  206. Type=keyword
  207. Context=100
  208. Scope=1
  209. Priority=7
  210. WholeWordOnly=1
  211. Keyword1=!DOCTYPE;A;ABBR;ACRONYM;ADDRESS;APPLET;AREA;B;BASE;BASEFONT;BDO;BGSOUND;BIG;BLINK;BLOCKQUOTE;BODY;BR;BUTTON;CAPTION;
  212. Keyword2=CENTER;CITE;CODE;COL;COLGROUP;DD;DEL;DFN;DIR;DIV;DL;DT;EM;EMBED;FIELDSET;FONT;FORM;FRAME;FRAMESET;H1;H2;H3;H4;H5;H6;HEAD
  213. Keyword3=HR;HTML;I;IFRAME;ILAYER;IMG;INPUT;INS;ISINDEX;KBD;KEYGEN;LABEL;LAYER;LEGEND;LI;LINK;LISTING;MAP;MENU;META;MULTICOL;NOBR
  214. Keyword4=NOEMBED;NOFRAMES;NOLAYER;NOSCRIPT;OBJECT;OL;OPTGROUP;OPTION;P;PARAM;PLAINTEXT;PRE;Q;S;SAMP;SCRIPT;SELECT;SERVER;SMALL;
  215. Keyword5=SOUND;SPACER;SPAN;STRIKE;STRONG;STYLE;SUB;SUP;TBODY;TEXTAREA;TITLE;TT;U;UL;VAR;WBR;XMP;TABLE
  216. Keyword6=TD;TR
  217. Keyword7=
  218. Keyword8=
  219. Keyword9=
  220. Keyword10=
  221. Keyword11=
  222. Keyword12=
  223. Keyword13=
  224. Keyword14=
  225. Keyword15=
  226. Keyword16=
  227. Background=Default
  228. Foreground=800000
  229. bold=0
  230.  
  231. [Tag Attributes]
  232. Type=keyword
  233. Context=101
  234. Scope=1
  235. Priority=6
  236. WholeWordOnly=1
  237. Keyword1=TFOOT;TH;THEAD;ACCESSKEY;ACTION;ALIGN;ALINK;ALT;BACKGROUND;BALANCE;BEHAVIOR;BGCOLOR;BGPROPERTIES;BORDER;BORDERCOLOR
  238. Keyword2=BORDERCOLORDARK;ORDERCOLORLIGHT;BOTTOMMARGIN;CELLPADDING;CELLSPACING;CHECKED;CLASS;CLASSID;CLEAR;CODE;CODEBASE;CODETYPE
  239. Keyword3=COLOR;COLS;COLSPAN;COMPACT;CONTENT;CONTROLS;COORDS;DATA;DATAFLD;DATAFORMATAS;DATASRC;DIRECTION;DISABLED;DYNSRC;ENCTYPE
  240. Keyword4=EVENT;FACE;FOR;FRAME;FRAMEBORDER;FRAMESPACING;HEIGHT;HIDDEN;HREF;HSPACE;HTTP-EQUIV;ID;ISMAP;LANG;LANGUAGE;LEFTMARGIN
  241. Keyword5=LINK;LOOP;LOWSRC;MARGINHEIGHT;MARGINWIDTH;MAXLENGTH;MAYSCRIPT;METHOD;METHODS;MULTIPLE;NAME;NOHREF;NORESIZE;NOSHADE;NOWRAP
  242. Keyword6=PALETTE;PLUGINSPAGE;PUBLIC;READONLY;REL;REV;RIGHTMARGIN;ROWS;ROWSPAN;RULES;SCROLL;SCROLLAMOUNT;SCROLLDELAY;SCROLLING;SELECTED
  243. Keyword7=SHAPE;SIZE;SPAN;SRC;START;STYLE;TABINDEX;TARGET;TEXT;TITLE;TOPMARGIN;TRUESPEED;TYPE;URL;URN;USEMAP;VALIGN;VALUE;VLINK;
  244. Keyword8=VOLUME;VRML;VSPACE;WIDTH;WRAP
  245. Keyword9=
  246. Keyword10=
  247. Keyword11=
  248. Keyword12=
  249. Keyword13=
  250. Keyword14=
  251. Keyword15=
  252. Keyword16=
  253. Background=Default
  254. Foreground=FF0000
  255.  
  256. [Simbols]
  257. Type=keyword
  258. Context=102
  259. Scope=0
  260. Priority=6
  261. Keyword1=><Ð&ðÄËÏÖÜäëï ö"üÿ
  262. Keyword2=ÆÂÅÊÎÔÞÛâæåêîôßþû
  263. Keyword3=ÁÀÃÇÉÈÍÌÑÓÒØÕÚÙÝáàãçéèíìñóòøõúùý
  264. Background=Default
  265. Foreground=C0C0C0
  266.  
  267. [Script Keywords]
  268. Type=keyword
  269. Context=103
  270. Scope=4
  271. Priority=6
  272. WholeWordOnly=1
  273. Keyword1=And;As;Boolean;ByRef;Byte;ByVal;Call;Case;Class;Const;Currency;Debug;Dim;Do;Double;Each;Else;ElseIf;Empty;End;EndIf
  274. Keyword2=Enum;Eqv;Event;Exit;False;For;Function;Get;GoTo;If;Imp;Implements;In;Integer;Is;Let;Like;Long;Loop;LSet;Me;Mod;New;
  275. Keyword3=Next;Not;Nothing;Null;On;Option;Optional;Or;ParamArray;Preserve;Private;Public;Raise;Event;ReDim;Rem;Resume;RSet;
  276. Keyword4=Select;Set;Shared;Single;Static;Stop;Sub;Then;To;True;Type;TypeOf;Until;Variant;Wend;While;With;Xor
  277. Keyword5=runat;script;language;var
  278. Keyword6=
  279. Keyword7=
  280. Keyword8=
  281. Keyword9=
  282. Keyword10=
  283. Keyword11=
  284. Keyword12=
  285. Keyword13=
  286. Keyword14=
  287. Keyword15=
  288. Keyword16=
  289. Background=Default
  290. Foreground=0000FF
  291.  
  292. [Style Keywords]
  293. Type=keyword
  294. Context=104
  295. Scope=10
  296. Priority=6
  297. WholeWordOnly=1
  298. Keyword1=style
  299. Keyword2=
  300. Keyword3=
  301. Keyword4=
  302. Keyword5=
  303. Keyword6=
  304. Keyword7=
  305. Keyword8=
  306. Keyword9=
  307. Keyword10=
  308. Keyword11=
  309. Keyword12=
  310. Keyword13=
  311. Keyword14=
  312. Keyword15=
  313. Keyword16=
  314. Background=Default
  315. Foreground=0058B0
  316.  
  317. [php Char]
  318. Type=keyword
  319. Context=105
  320. Priority=10
  321. Scope=14
  322. WholeWordOnly=1
  323. Keyword1=<?;php
  324. Keyword2=?>
  325. Background=FFFFAD
  326. Foreground=default
  327. bold=0
  328. Outline=1
  329.  
  330. [php Keywords]
  331. Type=keyword
  332. Context=106
  333. Scope=14
  334. Priority=6
  335. WholeWordOnly=1
  336. Keyword1=break;case;default;echo;else;elseif;end;endif;endwhile;endswitch;exit;for;global;if;include;switch;while;foreach
  337. Keyword2=function;AbsAda_Close;Ada_Connect;Ada_Exec;Ada_FetchRow;Ada_FieldName;Ada_FieldNum;Ada_FieldType;Ada_FreeResult;Ada_NumFields;Ada_NumRows;Ada_Result;Ada_ResultAll;AddSlashes
  338. Keyword3=ASort;BinDec;Ceil;ChDir;ChGrp;ChMode;ChOwn;Chop;Chr;ClearStack;ClearStatCache;CloseDir;CloseLog;Cos;Count;Crypt;Date;dbList;dbmClose;dbmDelete;dbmExists;dbmFetch;dbmFirstKey;dbmInsert;dbmNextKey;dbmOpen;dbmReplace;DecBin;DecHex;DecOct;
  339. Keyword4=doubleval;End;ereg;eregi;ereg_replace;eregi_replace;EscapeShellCmd;Eval;Exec;Exp;fclose;feof;fgets;fgetss;File;FileATime;FileCTime;FileGroup;FileINode;FileMTime;FileOwner;FilePerms;FileSize
  340. Keyword5=FileType;Floor;Flush;FOpen;fputs;FPassThru;fseek;fsockopen;ftell;GetAccDir;GetEnv;getHostByName;getHostByAddr;GetImageSize;getLastAccess;getLastBrowser;getLastEMail;getLastHost;getLastMod;getLastref;getLogDir;getMyInode;GetMyPid;getMyUid;getRandMax;getStartLogging;getToday
  341. Keyword6=getTotal;GetType;gmDate;Header;HexDec;HtmlSpecialChars;ImageArc;ImageCharUp;ImageColorAllocate;ImageColorTransparent;ImageCopyResized;ImageCreate;ImageCreateFromGif;ImageDestroy;ImageFill;ImageFilledPolygon;ImageFilledRectangle;ImageFillToBorder;ImageGif;ImageInterlace;ImageLine;ImagePolygon
  342. Keyword7=ImageRectangle;ImageSetPixel;ImageString;ImageStringUp;ImageSX;ImageSY;InitSysLog;IntVal;IsSet;Key;Link;LinkInfo;Log;Log10;LogAs;Mail;Max;Md5;mi_Close;mi_Connect;mi_DBname;mi_Exec;mi_FieldName;mi_FieldNum;mi_NumFields;mi_NumRows;mi_Result;Microtime;Min;MkDir;MkTime;Next;ctDec;openDir;OpenLog;Ord;Parse_Str
  343. Keyword8=PassThru;pclose;pg_Close;pg_Connect;pg_DBname;pg_ErrorMessage;pg_Exec;pg_FieldName;pg_FieldPrtLen;pg_FieldNum;pg_FieldSize;pg_FieldType;pg_FreeResult;ph_GetLastOid;pg_Host;pg_NumFields;pg_NumRows;pg_Options;pg_Port;pg_Result;pg_tty;phpinfo;phpVersion;popen;pos;pow;Prev;PutEnv
  344. Keyword9=QuoteMeta;Rand;readDir;ReadFile;ReadLink;reg_Match;reg_Replace;reg_Search;Rename;Reset;return;rewind;rewindDir;RmDir;SetCookie;SetErrorReporting;SetLogging;SetShowInfo;SetType;shl;shr;sin;Sleep;Solid_Close;Solid_Connect;Solid_Exec;Solid_FetchRow;Solid_FieldName;Solid_FieldNum;Solid_FreeResult;Solid_NumFields;Solid_NumRows;Solid_Result
  345. Keyword10=Sort;Soundex;Sprintf;Sqrt;Srand;StrChr;StrTr;StripSlashes;StrLen;StrRChr;StrStr;StrTok;StrToLower;StrToUpper;StrVal;SubStr;Symlink;Syslog;System;Tan;TempNam;Time;Umask;UniqID;Unlink;UnSet;UrlDecode;UrlEncode;USleep;Virtual;print
  346. ;Background=FFFFAD
  347. Background=Default
  348. Foreground=0000FF
  349. bold=0
  350.