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.

138 lines
4.0KB

  1. <?php
  2. /*************************************************************************************
  3. * cuesheet.php
  4. * ----------
  5. * Author: Benny Baumann (benbe@geshi.org)
  6. * Copyright: (c) 2009 Benny Baumann (http://qbnz.com/highlighter/)
  7. * Release Version: 1.0.8.11
  8. * Date Started: 2009/12/21
  9. *
  10. * Cuesheet language file for GeSHi.
  11. *
  12. * CHANGES
  13. * -------
  14. * 2009/12/21 (1.0.8.6)
  15. * - First Release
  16. *
  17. * TODO (updated 2009/12/21)
  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' => 'Cuesheet',
  41. 'COMMENT_SINGLE' => array(1 => ';'),
  42. 'COMMENT_MULTI' => array(),
  43. 'COMMENT_REGEXP' => array(
  44. //Single-Line Comments using REM command
  45. 1 => "/(?<=\bREM\b).*?$/im",
  46. ),
  47. 'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
  48. 'QUOTEMARKS' => array('"'),
  49. 'ESCAPE_CHAR' => '',
  50. 'KEYWORDS' => array(
  51. 1 => array(
  52. 'CATALOG','CDTEXTFILE','FILE','FLAGS','INDEX','ISRC','PERFORMER',
  53. 'POSTGAP','PREGAP','REM','SONGWRITER','TITLE','TRACK'
  54. ),
  55. 2 => array(
  56. 'AIFF', 'BINARY', 'MOTOROLA', 'MP3', 'WAVE'
  57. ),
  58. 3 => array(
  59. '4CH', 'DCP', 'PRE', 'SCMS'
  60. ),
  61. 4 => array(
  62. 'AUDIO', 'CDG', 'MODE1/2048', 'MODE1/2336', 'MODE2/2336',
  63. 'MODE2/2352', 'CDI/2336', 'CDI/2352'
  64. )
  65. ),
  66. 'SYMBOLS' => array(
  67. ':'
  68. ),
  69. 'CASE_SENSITIVE' => array(
  70. GESHI_COMMENTS => false,
  71. 1 => false,
  72. 2 => false,
  73. 3 => false,
  74. 4 => false
  75. ),
  76. 'STYLES' => array(
  77. 'KEYWORDS' => array(
  78. 1 => 'color: #000000; font-weight: bold;',
  79. 2 => 'color: #000066; font-weight: bold;',
  80. 3 => 'color: #000066; font-weight: bold;',
  81. 4 => 'color: #000066; font-weight: bold;'
  82. ),
  83. 'COMMENTS' => array(
  84. 1 => 'color: #808080;',
  85. ),
  86. 'BRACKETS' => array(
  87. 0 => 'color: #0000ff;'
  88. ),
  89. 'STRINGS' => array(
  90. 0 => 'color: #0000ff;'
  91. ),
  92. 'NUMBERS' => array(
  93. 0 => 'color: #006600;'
  94. ),
  95. 'METHODS' => array(
  96. ),
  97. 'SYMBOLS' => array(
  98. 0 => 'color: #000066;'
  99. ),
  100. 'ESCAPE_CHAR' => array(
  101. 0 => 'color: #000099;'
  102. ),
  103. 'SCRIPT' => array(
  104. ),
  105. 'REGEXPS' => array(
  106. 1 => 'color: #000099;',
  107. 2 => 'color: #009900;',
  108. )
  109. ),
  110. 'URLS' => array(
  111. 1 => 'http://digitalx.org/cuesheetsyntax.php#{FNAMEL}',
  112. 2 => '',
  113. 3 => '',
  114. 4 => ''
  115. ),
  116. 'OOLANG' => false,
  117. 'OBJECT_SPLITTERS' => array(
  118. ),
  119. 'REGEXPS' => array(
  120. 2 => '\b[A-Za-z0-9]{5}\d{7}\b',
  121. 1 => '(?<=[\s:]|^)\d+(?=[\s:]|$)',
  122. ),
  123. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  124. 'SCRIPT_DELIMITERS' => array(
  125. ),
  126. 'HIGHLIGHT_STRICT_BLOCK' => array(
  127. ),
  128. 'TAB_WIDTH' => 2,
  129. 'PARSER_CONTROL' => array(
  130. 'KEYWORDS' => array(
  131. 'DISALLOWED_BEFORE' => '(?<![\w\.])',
  132. 'DISALLOWED_AFTER' => '(?![\w\.])',
  133. )
  134. )
  135. );
  136. ?>