A tumblelog CMS built on AJAX, PHP and MySQL.

text.php 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?php
  2. /*************************************************************************************
  3. * text.php
  4. * --------
  5. * Author: Sean Hanna (smokingrope@gmail.com)
  6. * Copyright: (c) 2006 Sean Hanna
  7. * Release Version: 1.0.7.21
  8. * Date Started: 04/23/2006
  9. *
  10. * Standard Text File (No Syntax Highlighting).
  11. *
  12. * CHANGES
  13. * -------
  14. * 04/23/2006 (0.5.0)
  15. * - Syntax File Created
  16. *
  17. * 04/27/2006 (1.0.0)
  18. * - Documentation Cleaned Up
  19. * - First Release
  20. *
  21. * TODO (updated 04/27/2006)
  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' => 'Text',
  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. 'SYMBOLS' => array( ),
  53. 'CASE_SENSITIVE' => array(
  54. GESHI_COMMENTS => false
  55. ),
  56. 'STYLES' => array(
  57. 'KEYWORDS' => array(),
  58. 'COMMENTS' => array(),
  59. 'ESCAPE_CHAR' => array(),
  60. 'BRACKETS' => array(),
  61. 'STRINGS' => array(),
  62. 'NUMBERS' => array(),
  63. 'METHODS' => array(),
  64. 'SYMBOLS' => array(),
  65. 'SCRIPT' => array(),
  66. 'REGEXPS' => array()
  67. ),
  68. 'OOLANG' => false,
  69. 'OBJECT_SPLITTERS' => array(),
  70. 'REGEXPS' => array( ),
  71. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  72. 'SCRIPT_DELIMITERS' => array( ),
  73. 'HIGHLIGHT_STRICT_BLOCK' => array( )
  74. );
  75. if (isset($this) && is_a($this, 'GeSHi')) {
  76. $this->set_numbers_highlighting(false);
  77. $this->set_brackets_highlighting(false);
  78. $this->disable_highlighting();
  79. }