Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/clients/a38b86744e455b1f2e763fe46170a4c9/web/jebulle.net/sources/classes/geshi.php on line 2013
.: Codulle : Source de diff.php :.

Codulle - L'explorateur de code sources

Accueil>> Codulle >> Codulle0.1 >> classes >> geshi

Informations fichier

Nom du fichier : diff.php
Taille du fichier : 3 Ko (138 lignes)
Language : PHP

  1. <?php
  2. /*************************************************************************************
  3. * diff.php
  4. * --------
  5. * Author: Conny Brunnkvist (conny@fuchsia.se)
  6. * Copyright: (c) 2004 Fuchsia Open Source Solutions (http://www.fuchsia.se/)
  7. * Release Version: 1.0.7.5
  8. * CVS Revision Version: $Revision: 1.5 $
  9. * Date Started: 2004/12/29
  10. * Last Modified: $Date: 2005/10/22 07:52:59 $
  11. *
  12. * Diff-output language file for GeSHi.
  13. *
  14. * CHANGES
  15. * -------
  16. * 2004/12/29 (1.0.0)
  17. * - First Release
  18. *
  19. * TODO (updated 2004/12/29)
  20. * -------------------------
  21. * * Find out why GeSHi doesn't seem to allow matching of start (^) and end ($)
  22. * * So that we can stop pretending that we are dealing with single-line comments
  23. * * Should be able to cover all sorts of diff-output
  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.  
  45.  
  46. $language_data = array (
  47. 'LANG_NAME' => 'Diff',
  48. 'COMMENT_SINGLE' => array(
  49. 0 => '--- ',
  50. 1 => '+++ ',
  51. 2 => '<',
  52. 3 => '>',
  53. 4 => '-',
  54. 5 => '+',
  55. 6 => '!',
  56. 7 => '@@',
  57. 8 => '*** ',
  58. /*9 => '***************',*/
  59. /*10 => ' ', // All other rows starts with a space (bug?) */
  60. ),
  61. 'COMMENT_MULTI' => array(),
  62. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  63. 'QUOTEMARKS' => array(),
  64. 'ESCAPE_CHAR' => ' ',
  65. 'KEYWORDS' => array(
  66. 0 => array(
  67. '\ No newline at end of file',
  68. ),
  69. 1 => array(
  70. '***************' /* This only seems to works in some cases? */
  71. ),
  72. ),
  73. 'SYMBOLS' => array(
  74. ),
  75. 'CASE_SENSITIVE' => array(
  76. GESHI_COMMENTS => false,
  77. ),
  78. 'STYLES' => array(
  79. 'KEYWORDS' => array(
  80. 0 => 'color: #aaaaaa; font-style: italic;',
  81. 1 => 'color: #dd6611;',
  82. ),
  83. 'COMMENTS' => array(
  84. 0 => 'color: #228822;',
  85. 1 => 'color: #228822;',
  86. 2 => 'color: #991111;',
  87. 3 => 'color: #00aaee;',
  88. 4 => 'color: #991111;',
  89. 5 => 'color: #00b000;',
  90. /*6 => 'color: #dd6611;', */
  91. 6 => 'color: #0011dd;',
  92. 7 => 'color: #aaaa88;',
  93. 8 => 'color: #228822;',
  94. /*9 => 'color: #aaaa88;',*/
  95. /*10 => 'color: #000000;',*/
  96. ),
  97. 'ESCAPE_CHAR' => array(
  98. ),
  99. 'BRACKETS' => array(
  100. ),
  101. 'STRINGS' => array(
  102. ),
  103. 'NUMBERS' => array(
  104. ),
  105. 'METHODS' => array(
  106. ),
  107. 'SYMBOLS' => array(
  108. ),
  109. 'SCRIPT' => array(
  110. ),
  111. 'REGEXPS' => array(
  112. 0 => 'color: #aaaaaa;',
  113. /*1 => 'color: #000000;',*/
  114. ),
  115. ),
  116. 'URLS' => array(
  117. ),
  118. 'OOLANG' => false,
  119. 'OBJECT_SPLITTER' => '',
  120. 'REGEXPS' => array(
  121. 0 => "[0-9,]+[acd][0-9,]+",
  122. /*1 => array( // Match all other lines - again this also doesn't work.
  123. GESHI_SEARCH => '(\ )(.+)',
  124. GESHI_REPLACE => '\\2\\3',
  125. GESHI_MODIFIERS => '',
  126. GESHI_BEFORE => '\\1',
  127. GESHI_AFTER => ''
  128. ),*/
  129. ),
  130. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  131. 'SCRIPT_DELIMITERS' => array(
  132. ),
  133. 'HIGHLIGHT_STRICT_BLOCK' => array(
  134. )
  135. );
  136.  
  137. ?>

Liste des projets

Téléchargez Codulle

Publié par Codulle - v0.1.1 - © Bubulles Creations