KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

196 lines
5.7KB

  1. <?php
  2. /*************************************************************************************
  3. * diff.php
  4. * --------
  5. * Author: Conny Brunnkvist (conny@fuchsia.se), W. Tasin (tasin@fhm.edu)
  6. * Copyright: (c) 2004 Fuchsia Open Source Solutions (http://www.fuchsia.se/)
  7. * Release Version: 1.0.8.11
  8. * Date Started: 2004/12/29
  9. *
  10. * Diff-output language file for GeSHi.
  11. *
  12. * CHANGES
  13. * -------
  14. * 2008/05/23 (1.0.7.22)
  15. * - Added description of extra language features (SF#1970248)
  16. * 2006/02/27
  17. * - changing language file to use matching of start (^) and end ($) (wt)
  18. * 2004/12/29 (1.0.0)
  19. * - First Release
  20. *
  21. * TODO (updated 2006/02/27)
  22. * -------------------------
  23. *
  24. *
  25. *************************************************************************************
  26. *
  27. * This file is part of GeSHi.
  28. *
  29. * GeSHi is free software; you can redistribute it and/or modify
  30. * it under the terms of the GNU General Public License as published by
  31. * the Free Software Foundation; either version 2 of the License, or
  32. * (at your option) any later version.
  33. *
  34. * GeSHi is distributed in the hope that it will be useful,
  35. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  36. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  37. * GNU General Public License for more details.
  38. *
  39. * You should have received a copy of the GNU General Public License
  40. * along with GeSHi; if not, write to the Free Software
  41. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  42. *
  43. ************************************************************************************/
  44. $language_data = array (
  45. 'LANG_NAME' => 'Diff',
  46. 'COMMENT_SINGLE' => array(),
  47. 'COMMENT_MULTI' => array(),
  48. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  49. 'QUOTEMARKS' => array(),
  50. 'ESCAPE_CHAR' => ' ',
  51. 'KEYWORDS' => array(
  52. 1 => array(
  53. '\ No newline at end of file'
  54. ),
  55. // 2 => array(
  56. // '***************' /* This only seems to works in some cases? */
  57. // ),
  58. ),
  59. 'SYMBOLS' => array(
  60. ),
  61. 'CASE_SENSITIVE' => array(
  62. 1 => false,
  63. // 2 => false
  64. ),
  65. 'STYLES' => array(
  66. 'KEYWORDS' => array(
  67. 1 => 'color: #aaaaaa; font-style: italic;',
  68. // 2 => 'color: #dd6611;',
  69. ),
  70. 'COMMENTS' => array(
  71. ),
  72. 'ESCAPE_CHAR' => array(
  73. 0 => ''
  74. ),
  75. 'BRACKETS' => array(
  76. 0 => ''
  77. ),
  78. 'STRINGS' => array(
  79. 0 => ''
  80. ),
  81. 'NUMBERS' => array(
  82. 0 => ''
  83. ),
  84. 'METHODS' => array(
  85. 0 => ''
  86. ),
  87. 'SYMBOLS' => array(
  88. 0 => ''
  89. ),
  90. 'SCRIPT' => array(
  91. 0 => ''
  92. ),
  93. 'REGEXPS' => array(
  94. 0 => 'color: #440088;',
  95. 1 => 'color: #991111;',
  96. 2 => 'color: #00b000;',
  97. 3 => 'color: #888822;',
  98. 4 => 'color: #888822;',
  99. 5 => 'color: #0011dd;',
  100. 6 => 'color: #440088;',
  101. 7 => 'color: #991111;',
  102. 8 => 'color: #00b000;',
  103. 9 => 'color: #888822;',
  104. ),
  105. ),
  106. 'URLS' => array(
  107. 1 => '',
  108. // 2 => ''
  109. ),
  110. 'OOLANG' => false,
  111. 'OBJECT_SPLITTERS' => array(),
  112. 'REGEXPS' => array(
  113. 0 => "[0-9,]+[acd][0-9,]+",
  114. //Removed lines
  115. 1 => array(
  116. GESHI_SEARCH => '(^|(?<=\A\s))\\&lt;.*$',
  117. GESHI_REPLACE => '\\0',
  118. GESHI_MODIFIERS => 'm',
  119. GESHI_BEFORE => '',
  120. GESHI_AFTER => ''
  121. ),
  122. //Inserted lines
  123. 2 => array(
  124. GESHI_SEARCH => '(^|(?<=\A\s))\\&gt;.*$',
  125. GESHI_REPLACE => '\\0',
  126. GESHI_MODIFIERS => 'm',
  127. GESHI_BEFORE => '',
  128. GESHI_AFTER => ''
  129. ),
  130. //Location line
  131. 3 => array(
  132. GESHI_SEARCH => '(^|(?<=\A\s))-{3}\\s.*$',
  133. GESHI_REPLACE => '\\0',
  134. GESHI_MODIFIERS => 'm',
  135. GESHI_BEFORE => '',
  136. GESHI_AFTER => ''
  137. ),
  138. //Inserted line
  139. 4 => array(
  140. GESHI_SEARCH => '(^|(?<=\A\s))(\\+){3}\\s.*$',
  141. GESHI_REPLACE => '\\0',
  142. GESHI_MODIFIERS => 'm',
  143. GESHI_BEFORE => '',
  144. GESHI_AFTER => ''
  145. ),
  146. //Modified line
  147. 5 => array(
  148. GESHI_SEARCH => '(^|(?<=\A\s))\\!.*$',
  149. GESHI_REPLACE => '\\0',
  150. GESHI_MODIFIERS => 'm',
  151. GESHI_BEFORE => '',
  152. GESHI_AFTER => ''
  153. ),
  154. //File specification
  155. 6 => array(
  156. GESHI_SEARCH => '(^|(?<=\A\s))[\\@]{2}.*$',
  157. GESHI_REPLACE => '\\0',
  158. GESHI_MODIFIERS => 'm',
  159. GESHI_BEFORE => '',
  160. GESHI_AFTER => ''
  161. ),
  162. //Removed line
  163. 7 => array(
  164. GESHI_SEARCH => '(^|(?<=\A\s))\\-.*$',
  165. GESHI_REPLACE => '\\0',
  166. GESHI_MODIFIERS => 'm',
  167. GESHI_BEFORE => '',
  168. GESHI_AFTER => ''
  169. ),
  170. //Inserted line
  171. 8 => array(
  172. GESHI_SEARCH => '(^|(?<=\A\s))\\+.*$',
  173. GESHI_REPLACE => '\\0',
  174. GESHI_MODIFIERS => 'm',
  175. GESHI_BEFORE => '',
  176. GESHI_AFTER => ''
  177. ),
  178. //File specification
  179. 9 => array(
  180. GESHI_SEARCH => '(^|(?<=\A\s))(\\*){3}\\s.*$',
  181. GESHI_REPLACE => '\\0',
  182. GESHI_MODIFIERS => 'm',
  183. GESHI_BEFORE => '',
  184. GESHI_AFTER => ''
  185. ),
  186. ),
  187. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  188. 'SCRIPT_DELIMITERS' => array(
  189. ),
  190. 'HIGHLIGHT_STRICT_BLOCK' => array(
  191. )
  192. );
  193. ?>