Codulle - L'explorateur de code sources

Accueil>> AlBulle >> Albulle1.0rc3 >> datas >> photos

Informations fichier

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

  1. span style="color: #808080; font-style: italic;">/*************************************************************************************
  2. * diff.php
  3. * --------
  4. * Author: Conny Brunnkvist (conny@fuchsia.se)
  5. * Copyright: (c) 2004 Fuchsia Open Source Solutions (http://www.fuchsia.se/)
  6. * Release Version: 1.0.7.5
  7. * CVS Revision Version: $Revision: 1.5 $
  8. * Date Started: 2004/12/29
  9. * Last Modified: $Date: 2005/10/22 07:52:59 $
  10. *
  11. * Diff-output language file for GeSHi.
  12. *
  13. * CHANGES
  14. * -------
  15. * 2004/12/29 (1.0.0)
  16. * - First Release
  17. *
  18. * TODO (updated 2004/12/29)
  19. * -------------------------
  20. * * Find out why GeSHi doesn't seem to allow matching of start (^) and end ($)
  21. * * So that we can stop pretending that we are dealing with single-line comments
  22. * * Should be able to cover all sorts of diff-output
  23. *
  24. *************************************************************************************
  25. *
  26. * This file is part of GeSHi.
  27. *
  28. * GeSHi is free software; you can redistribute it and/or modify
  29. * it under the terms of the GNU General Public License as published by
  30. * the Free Software Foundation; either version 2 of the License, or
  31. * (at your option) any later version.
  32. *
  33. * GeSHi is distributed in the hope that it will be useful,
  34. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  35. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  36. * GNU General Public License for more details.
  37. *
  38. * You should have received a copy of the GNU General Public License
  39. * along with GeSHi; if not, write to the Free Software
  40. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  41. *
  42. ************************************************************************************/'LANG_NAME' => 'Diff',
  43. 'COMMENT_SINGLE''--- ',
  44. 1 => '+++ ',
  45. 2 => '<',
  46. 3 => '>',
  47. 4 => '-',
  48. 5 => '+',
  49. 6 => '!',
  50. 7 => '@@',
  51. 8 => '*** ',
  52. /*9 => '***************',*/
  53. /*10 => ' ', // All other rows starts with a space (bug?) */
  54. ),
  55. 'COMMENT_MULTI''CASE_KEYWORDS''QUOTEMARKS''ESCAPE_CHAR' => ' ',
  56. 'KEYWORDS''\ No newline at end of file''***************' /* This only seems to works in some cases? */
  57. ),
  58. ),
  59. 'SYMBOLS''CASE_SENSITIVE''STYLES''KEYWORDS''color: #aaaaaa; font-style: italic;',
  60. 1 => 'color: #dd6611;',
  61. ),
  62. 'COMMENTS''color: #228822;',
  63. 1 => 'color: #228822;',
  64. 2 => 'color: #991111;',
  65. 3 => 'color: #00aaee;',
  66. 4 => 'color: #991111;',
  67. 5 => 'color: #00b000;',
  68. /*6 => 'color: #dd6611;', */
  69. 6 => 'color: #0011dd;',
  70. 7 => 'color: #aaaa88;',
  71. 8 => 'color: #228822;',
  72. /*9 => 'color: #aaaa88;',*/
  73. /*10 => 'color: #000000;',*/
  74. ),
  75. 'ESCAPE_CHAR''BRACKETS''STRINGS''NUMBERS''METHODS''SYMBOLS''SCRIPT''REGEXPS''color: #aaaaaa;',
  76. /*1 => 'color: #000000;',*/
  77. ),
  78. ),
  79. 'URLS''OOLANG''OBJECT_SPLITTER' => '',
  80. 'REGEXPS'"[0-9,]+[acd][0-9,]+",
  81. /*1 => array( // Match all other lines - again this also doesn't work.
  82. GESHI_SEARCH => '(\ )(.+)',
  83. GESHI_REPLACE => '\\2\\3',
  84. GESHI_MODIFIERS => '',
  85. GESHI_BEFORE => '\\1',
  86. GESHI_AFTER => ''
  87. ),*/
  88. ),
  89. 'STRICT_MODE_APPLIES''SCRIPT_DELIMITERS''HIGHLIGHT_STRICT_BLOCK'

Liste des projets

Téléchargez Codulle

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