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

  1. ;C/C++ Syntax highlight Script for Twistpad
  2. ;1998 - 2006 (C) Carthago Software
  3.  
  4. [::Header::]
  5. SyntaxName=C/C++
  6. Extensions=c;cpp;cxx;cc;h;hpp;hxx
  7. Functions=(?i)^[a-zA-Z_0-9]* [a-zA-Z_0-9]*::[a-zA-Z]*|(?i)^[a-zA-Z_0-9]* [a-zA-Z_0-9]* [a-zA-Z_0-9]*\(|(?i)^[a-zA-Z_0-9]* [a-zA-Z_0-9]*\(
  8. Spelling=0 
  9. SpellingContexts=1;2;3
  10.  
  11. [Comment1]
  12. Type=StartStop
  13. Context=1
  14. Priority=10
  15. Scope=0
  16. WholeWordOnly=0
  17. First=/*
  18. Last=*/
  19. Background=default
  20. Foreground=008000
  21. Outline=1
  22.  
  23. [Comment2]
  24. Type=StartStop
  25. Context=1
  26. Scope=0
  27. Priority=10
  28. WholeWordOnly=0
  29. First=//
  30. Last=
  31. Background=Default
  32. Foreground=008000
  33.  
  34. [Quote]
  35. Type=StartStop
  36. Context=2
  37. Scope=0
  38. Priority=10
  39. WholeWordOnly=0
  40. First='
  41. Last='
  42. Background=Default
  43. Foreground=408080
  44.  
  45. [Quote1]
  46. Type=StartStop
  47. Context=3
  48. Scope=0
  49. Priority=10
  50. WholeWordOnly=0
  51. First="
  52. Last="
  53. Background=Default
  54. Foreground=408080
  55.  
  56. [Preprocessor]
  57. Type=StartStop
  58. Context=4
  59. Scope=0
  60. Priority=9
  61. WholeWordOnly=0
  62. First=#
  63. Last=
  64. Background=Default
  65. Foreground=Default
  66. BeginParagraph=1
  67.  
  68. [Functions Folding]
  69. Type=StartStop
  70. Context=5
  71. Scope=0
  72. Priority=5
  73. WholeWordOnly=0
  74. First={
  75. Last=}
  76. Background=Default
  77. Foreground=Default
  78. Outline=1
  79. smart=1
  80.  
  81. [Keywords]
  82. Type=keyword
  83. Context=101
  84. Scope=0
  85. Priority=6
  86. WholeWordOnly=1
  87. Keyword1=asm;auto;bool;break;case;catch;char;class;const;const_cast;continue;default;delete;do;double;dynamic_cast;else;enum
  88. Keyword2=explicit;extern;false;float;for;friend;goto;if;inline;int;long;mutable;namespace;new;operator;private;protected;public
  89. Keyword3=register;reinterprete_cast;return;short;signed;sizeof;static;static_cast;struct;switch;template;this;throw;true;try
  90. Keyword4=typedef;typeid;typename;union;unsigned;using;virtual;void;volatile;wchar_t;while;__asm;__fastcall;__based;__cdecl;__pascal
  91. Keyword5=__inline;__multiple_inheritance;__single_inheritance;__virtual_inheritance
  92. Keyword6=
  93. Keyword7=
  94. Keyword8=
  95. Keyword9=
  96. Keyword10=
  97. Keyword11=
  98. Keyword12=
  99. Keyword13=
  100. Keyword14=
  101. Keyword15=
  102. Keyword16=
  103. Background=Default
  104. Foreground=0000FF
  105. Bold=0
  106. CaseSensitive=1
  107.  
  108. [Compiler directives]
  109. Type=keyword
  110. Context=102
  111. Scope=4
  112. Priority=10
  113. WholeWordOnly=1
  114. Keyword1=define;error;include;elif;if;line;else;ifdef;pragma;endif;ifndef;undef;if;else;endif;defined;
  115. Keyword2=
  116. Keyword3=
  117. Keyword4=
  118. Keyword5=
  119. Keyword6=
  120. Keyword7=
  121. Keyword8=
  122. Keyword9=
  123. Keyword10=
  124. Keyword11=
  125. Keyword12=
  126. Keyword13=
  127. Keyword14=
  128. Keyword15=
  129. Keyword16=
  130. Background=Default
  131. Foreground=646464
  132.  
  133. [#]
  134. Type=keyword
  135. Context=102
  136. Scope=0
  137. Priority=10
  138. WholeWordOnly=0
  139. Keyword1=#
  140. Background=Default
  141. Foreground=646464
  142. BeginParagraph=1
  143.