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

  1. ;Object Pascal adicional Syntax highlight Script for Twistpad
  2. ;1998 - 2006 (C) Carthago Software
  3.  
  4. [::Header::]
  5. SyntaxName=Object Pascal
  6. Extensions=pas;dpr;ops;~pas;inc
  7. Functions=(?i)^procedure|(?i)^function|TODO :|(?i)^constructor|(?i)^destructor
  8. ;Spell nothing
  9. Spelling=0
  10. ;Except when a word is in this Contexts:
  11. SpellingContexts=1;2
  12.  
  13. ;****************** Comments ************************
  14. [Comment1]
  15. Type=StartStop
  16. Context=1
  17. Priority=10
  18. Scope=0
  19. WholeWordOnly=0
  20. First={
  21. Last=}
  22. Background=Default
  23. Foreground=008000
  24. italic=1
  25. Outline=1
  26.  
  27. [Comment2]
  28. Type=StartStop
  29. Context=1
  30. Scope=0
  31. Priority=10
  32. WholeWordOnly=0
  33. First=//
  34. Last=
  35. Background=Default
  36. Foreground=008000
  37. italic=1
  38.  
  39. [Comment3]
  40. Type=StartStop
  41. Context=1
  42. Scope=0
  43. Priority=10
  44. WholeWordOnly=0
  45. First=(*
  46. Last=*)
  47. Background=Default
  48. Foreground=008000
  49. italic=1
  50. Outline=1
  51.  
  52. ;****************** End Comments ************************
  53.  
  54. [Quote]
  55. Type=StartStop
  56. Context=2
  57. Scope=0
  58. Priority=10
  59. WholeWordOnly=0
  60. First='
  61. Last='
  62. Background=Default
  63. Foreground=408080
  64.  
  65. [ASM]
  66. Type=StartStop
  67. Context=3
  68. Scope=0
  69. Priority=9
  70. WholeWordOnly=1
  71. First=asm
  72. Last=end
  73. Background=Default
  74. Foreground=5B5B5B
  75. Outline=1
  76.  
  77. [BE1]
  78. Type=StartStop
  79. Context=6
  80. Priority=5
  81. Scope=0
  82. WholeWordOnly=1
  83. First=begin
  84. Last=End
  85. Background=default
  86. Foreground=default
  87. italic=0
  88. Outline=1
  89. smart=1
  90.  
  91. [BE2]
  92. Type=StartStop
  93. Context=6
  94. Priority=5
  95. Scope=0
  96. WholeWordOnly=1
  97. First=case
  98. Last=End
  99. Background=default
  100. Foreground=default
  101. italic=0
  102. Outline=1
  103. smart=1
  104.  
  105. [BE3]
  106. Type=StartStop
  107. Context=6
  108. Priority=5
  109. Scope=0
  110. WholeWordOnly=1
  111. First=Try
  112. Last=End
  113. Background=default
  114. Foreground=default
  115. italic=0
  116. Outline=1
  117. smart=1
  118.  
  119. [BE5]
  120. Type=StartStop
  121. Context=0
  122. Priority=4
  123. Scope=0
  124. WholeWordOnly=1
  125. First=unit
  126. Last=end.
  127. Background=default
  128. Foreground=default
  129. italic=0
  130. Outline=1
  131. smart=0
  132.  
  133. [Pascal Keyword]
  134. Type=keyword
  135. Context=101
  136. Scope=0
  137. Priority=6
  138. WholeWordOnly=1
  139. Keyword1=
  140. Keyword2=do;if;of;to;or;begin;end
  141. Keyword3=for;new;nil;set;var;try;on;raise;not;and
  142. Keyword4=byte;case;char;else;exit;file;goto;halt;real;then;type;unit;uses;with;word
  143. Keyword5=array;class;const;label;until;while;finally;read;write
  144. Keyword6=downto;inline;object;public;record;repeat;string;except
  145. Keyword7=boolean;integer;longint;pointer;private;program
  146. Keyword8=function;shortint;property;override;exports
  147. Keyword9=interface;otherwise;procedure;protected;published;inherited
  148. Keyword10=destructor;initialization;library;external;mod;packed
  149. Keyword11=constructor;finalization;virtual;abstract
  150. Keyword12=
  151. Keyword13=
  152. Keyword14=implementation
  153. Keyword15=
  154. Keyword16=
  155. Background=Default
  156. Foreground=0000FF
  157. Bold=0
  158.  
  159. [Assembler Registers]
  160. Type=keyword
  161. Context=102
  162. Scope=3
  163. Priority=9
  164. WholeWordOnly=1
  165. Keyword1=EAX;EBX;ECX;EDX;ESI;EDI;EBP;ESP;EIP;FS;GS;AX;AL;AH;BX;BL;BH;CX;CL;CH;DX;DL;DH;ES;DS;CS;SP;SS;BP;IP;SI;DI
  166. Keyword2=
  167. Keyword3=
  168. Keyword4=
  169. Keyword5=
  170. Keyword6=
  171. Keyword7=
  172. Keyword8=
  173. Keyword9=
  174. Keyword10=
  175. Keyword11=
  176. Keyword12=
  177. Keyword13=
  178. Keyword14=
  179. Keyword15=
  180. Keyword16=
  181. Background=Default
  182. Foreground=FF8000
  183.