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.

properties.php 3.6KB

11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <?php
  2. /*************************************************************************************
  3. * properties.php
  4. * --------
  5. * Author: Edy Hinzen
  6. * Copyright: (c) 2009 Edy Hinzen
  7. * Release Version: 1.0.8.11
  8. * Date Started: 2009/04/03
  9. *
  10. * Property language file for GeSHi.
  11. *
  12. * CHANGES
  13. * -------
  14. * 2008/04/03 (1.0.0)
  15. * - First Release
  16. *
  17. * TODO
  18. * -------------------------
  19. *
  20. *************************************************************************************
  21. *
  22. * This file is part of GeSHi.
  23. *
  24. * GeSHi is free software; you can redistribute it and/or modify
  25. * it under the terms of the GNU General Public License as published by
  26. * the Free Software Foundation; either version 2 of the License, or
  27. * (at your option) any later version.
  28. *
  29. * GeSHi is distributed in the hope that it will be useful,
  30. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  31. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  32. * GNU General Public License for more details.
  33. *
  34. * You should have received a copy of the GNU General Public License
  35. * along with GeSHi; if not, write to the Free Software
  36. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  37. *
  38. ************************************************************************************/
  39. $language_data = array (
  40. 'LANG_NAME' => 'PROPERTIES',
  41. 'COMMENT_SINGLE' => array(1 => '#'),
  42. 'COMMENT_MULTI' => array(),
  43. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  44. 'QUOTEMARKS' => array('"'),
  45. 'ESCAPE_CHAR' => '',
  46. 'KEYWORDS' => array(
  47. /* Common used variables */
  48. 1 => array(
  49. '${user.home}'
  50. ),
  51. ),
  52. 'SYMBOLS' => array(
  53. '[', ']', '='
  54. ),
  55. 'CASE_SENSITIVE' => array(
  56. GESHI_COMMENTS => false,
  57. 1 => true
  58. ),
  59. 'STYLES' => array(
  60. 'KEYWORDS' => array(
  61. 1 => 'font-weight: bold;',
  62. ),
  63. 'COMMENTS' => array(
  64. 1 => 'color: #808080; font-style: italic;'
  65. ),
  66. 'ESCAPE_CHAR' => array(
  67. 0 => ''
  68. ),
  69. 'BRACKETS' => array(
  70. 0 => ''
  71. ),
  72. 'STRINGS' => array(
  73. 0 => 'color: #933;'
  74. ),
  75. 'NUMBERS' => array(
  76. 0 => ''
  77. ),
  78. 'METHODS' => array(
  79. 0 => ''
  80. ),
  81. 'SYMBOLS' => array(
  82. 0 => 'color: #000000;'
  83. ),
  84. 'REGEXPS' => array(
  85. 0 => 'color: #000080; font-weight:bold;',
  86. 1 => 'color: #008000; font-weight:bold;'
  87. ),
  88. 'SCRIPT' => array(
  89. 0 => ''
  90. )
  91. ),
  92. 'URLS' => array(
  93. 1 => ''
  94. ),
  95. 'OOLANG' => false,
  96. 'OBJECT_SPLITTERS' => array(
  97. ),
  98. 'REGEXPS' => array(
  99. //Entry names
  100. 0 => array(
  101. GESHI_SEARCH => '^(\s*)([.a-zA-Z0-9_\-]+)(\s*=)',
  102. GESHI_REPLACE => '\\2',
  103. GESHI_MODIFIERS => 'm',
  104. GESHI_BEFORE => '\\1',
  105. GESHI_AFTER => '\\3'
  106. ),
  107. //Entry values
  108. 1 => array(
  109. // Evil hackery to get around GeSHi bug: <>" and ; are added so <span>s can be matched
  110. // Explicit match on variable names because if a comment is before the first < of the span
  111. // gets chewed up...
  112. GESHI_SEARCH => '([<>";a-zA-Z0-9_]+\s*)=(.*)',
  113. GESHI_REPLACE => '\\2',
  114. GESHI_MODIFIERS => '',
  115. GESHI_BEFORE => '\\1=',
  116. GESHI_AFTER => ''
  117. )
  118. ),
  119. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  120. 'SCRIPT_DELIMITERS' => array(
  121. ),
  122. 'HIGHLIGHT_STRICT_BLOCK' => array(
  123. )
  124. );
  125. ?>