updated GeSHi to 1.0.9.0
This commit is contained in:
parent
2b4287aa40
commit
82c5990b7d
|
@ -7,10 +7,10 @@
|
|||
"require": {
|
||||
"php": ">=5.6",
|
||||
"splitbrain/php-archive": "~1.0",
|
||||
"easybook/geshi": "~1.0",
|
||||
"phpseclib/phpseclib": "~2.0",
|
||||
"paragonie/random_compat": "^2.0",
|
||||
"simplepie/simplepie": "^1.4"
|
||||
"simplepie/simplepie": "^1.4",
|
||||
"geshi/geshi": "^1.0"
|
||||
},
|
||||
"suggest": {
|
||||
"squizlabs/php_codesniffer": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
|
||||
|
|
|
@ -4,53 +4,47 @@
|
|||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"content-hash": "ae068822c3d6326d4aee89a1f6061d22",
|
||||
"content-hash": "d742a607937b645d9c656c9054438fe9",
|
||||
"packages": [
|
||||
{
|
||||
"name": "easybook/geshi",
|
||||
"version": "v1.0.8.18",
|
||||
"name": "geshi/geshi",
|
||||
"version": "v1.0.9.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/easybook/geshi.git",
|
||||
"reference": "4b06bfe8c6fbedd6aad0a0700d650f591386e287"
|
||||
"url": "https://github.com/GeSHi/geshi-1.0.git",
|
||||
"reference": "5a7b461338d322d941986a656d4d1651452e73dd"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/easybook/geshi/zipball/4b06bfe8c6fbedd6aad0a0700d650f591386e287",
|
||||
"reference": "4b06bfe8c6fbedd6aad0a0700d650f591386e287",
|
||||
"url": "https://api.github.com/repos/GeSHi/geshi-1.0/zipball/5a7b461338d322d941986a656d4d1651452e73dd",
|
||||
"reference": "5a7b461338d322d941986a656d4d1651452e73dd",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">4.3.0"
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^5.7"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
"./"
|
||||
"src/geshi/",
|
||||
"src/geshi.php"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"GPL-2.0"
|
||||
"GPL-2.0+"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Nigel McNie",
|
||||
"email": "nigel@geshi.org"
|
||||
},
|
||||
{
|
||||
"name": "Benny Baumann",
|
||||
"email": "BenBE@geshi.org"
|
||||
"email": "BenBE@geshi.org",
|
||||
"homepage": "http://blog.benny-baumann.de/",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "GeSHi - Generic Syntax Highlighter. This is an unmodified port of GeSHi project code found on SourceForge.",
|
||||
"homepage": "http://qbnz.com/highlighter",
|
||||
"keywords": [
|
||||
"highlight",
|
||||
"highlighter",
|
||||
"syntax"
|
||||
],
|
||||
"time": "2016-10-05T07:15:42+00:00"
|
||||
"description": "Generic Syntax Highlighter",
|
||||
"homepage": "http://qbnz.com/highlighter/",
|
||||
"time": "2017-05-05T05:51:25+00:00"
|
||||
},
|
||||
{
|
||||
"name": "paragonie/random_compat",
|
||||
|
|
|
@ -416,7 +416,7 @@ class HelloWorldApp {
|
|||
}
|
||||
</code>
|
||||
|
||||
The following language strings are currently recognized: //4cs, 6502acme, 6502kickass, 6502tasm, 68000devpac, abap, actionscript-french, actionscript, actionscript3, ada, algol68, apache, applescript, asm, asp, autoconf, autohotkey, autoit, avisynth, awk, bascomavr, bash, basic4gl, bf, bibtex, blitzbasic, bnf, boo, c, c_loadrunner, c_mac, caddcl, cadlisp, cfdg, cfm, chaiscript, cil, clojure, cmake, cobol, coffeescript, cpp, cpp-qt, csharp, css, cuesheet, d, dcs, delphi, diff, div, dos, dot, e, epc, ecmascript, eiffel, email, erlang, euphoria, f1, falcon, fo, fortran, freebasic, fsharp, gambas, genero, genie, gdb, glsl, gml, gnuplot, go, groovy, gettext, gwbasic, haskell, hicest, hq9plus, html, html5, icon, idl, ini, inno, intercal, io, j, java5, java, javascript, jquery, kixtart, klonec, klonecpp, latex, lb, lisp, llvm, locobasic, logtalk, lolcode, lotusformulas, lotusscript, lscript, lsl2, lua, m68k, magiksf, make, mapbasic, matlab, mirc, modula2, modula3, mmix, mpasm, mxml, mysql, newlisp, nsis, oberon2, objc, objeck, ocaml-brief, ocaml, oobas, oracle8, oracle11, oxygene, oz, pascal, pcre, perl, perl6, per, pf, php-brief, php, pike, pic16, pixelbender, pli, plsql, postgresql, povray, powerbuilder, powershell, proftpd, progress, prolog, properties, providex, purebasic, pycon, python, q, qbasic, rails, rebol, reg, robots, rpmspec, rsplus, ruby, sas, scala, scheme, scilab, sdlbasic, smalltalk, smarty, sql, systemverilog, tcl, teraterm, text, thinbasic, tsql, typoscript, unicon, uscript, vala, vbnet, vb, verilog, vhdl, vim, visualfoxpro, visualprolog, whitespace, winbatch, whois, xbasic, xml, xorg_conf, xpp, yaml, z80, zxbasic//
|
||||
The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 actionscript ada aimms algol68 apache applescript apt_sources arm asm asp asymptote autoconf autohotkey autoit avisynth awk bascomavr bash basic4gl batch bf biblatex bibtex blitzbasic bnf boo caddcl cadlisp ceylon cfdg cfm chaiscript chapel cil c_loadrunner clojure c_mac cmake cobol coffeescript c cpp cpp-qt cpp-winapi csharp css cuesheet c_winapi dart dcl dcpu16 dcs delphi diff div dos dot d ecmascript eiffel email epc e erlang euphoria ezt f1 falcon fo fortran freebasic freeswitch fsharp gambas gdb genero genie gettext glsl gml gnuplot go groovy gwbasic haskell haxe hicest hq9plus html html4strict html5 icon idl ini inno intercal io ispfpanel java5 java javascript jcl j jquery julia kixtart klonec klonecpp kotlin latex lb ldif lisp llvm locobasic logtalk lolcode lotusformulas lotusscript lscript lsl2 lua m68k magiksf make mapbasic mathematica matlab mercury metapost mirc mk-61 mmix modula2 modula3 mpasm mxml mysql nagios netrexx newlisp nginx nimrod nsis oberon2 objc objeck ocaml-brief ocaml octave oobas oorexx oracle11 oracle8 oxygene oz parasail parigp pascal pcre perl6 perl per pf phix php-brief php pic16 pike pixelbender pli plsql postgresql postscript povray powerbuilder powershell proftpd progress prolog properties providex purebasic pycon pys60 python qbasic qml q racket rails rbs rebol reg rexx robots rpmspec rsplus ruby rust sas sass scala scheme scilab scl sdlbasic smalltalk smarty spark sparql sql standardml stonescript swift systemverilog tclegg tcl teraterm texgraph text thinbasic tsql twig typoscript unicon upc urbi uscript vala vbnet vb vbscript vedit verilog vhdl vim visualfoxpro visualprolog whitespace whois winbatch xbasic xml xojo xorg_conf xpp yaml z80 zxbasic//
|
||||
|
||||
==== Downloadable Code Blocks ====
|
||||
|
||||
|
|
|
@ -6,5 +6,5 @@ $vendorDir = dirname(dirname(__FILE__));
|
|||
$baseDir = dirname($vendorDir);
|
||||
|
||||
return array(
|
||||
'GeSHi' => $vendorDir . '/easybook/geshi/geshi.php',
|
||||
'GeSHi' => $vendorDir . '/geshi/geshi/src/geshi.php',
|
||||
);
|
||||
|
|
|
@ -44,7 +44,7 @@ class ComposerStaticInita19a915ee98347a0c787119619d2ff9b
|
|||
);
|
||||
|
||||
public static $classMap = array (
|
||||
'GeSHi' => __DIR__ . '/..' . '/easybook/geshi/geshi.php',
|
||||
'GeSHi' => __DIR__ . '/..' . '/geshi/geshi/src/geshi.php',
|
||||
);
|
||||
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
|
|
|
@ -1,52 +1,4 @@
|
|||
[
|
||||
{
|
||||
"name": "easybook/geshi",
|
||||
"version": "v1.0.8.18",
|
||||
"version_normalized": "1.0.8.18",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/easybook/geshi.git",
|
||||
"reference": "4b06bfe8c6fbedd6aad0a0700d650f591386e287"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/easybook/geshi/zipball/4b06bfe8c6fbedd6aad0a0700d650f591386e287",
|
||||
"reference": "4b06bfe8c6fbedd6aad0a0700d650f591386e287",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">4.3.0"
|
||||
},
|
||||
"time": "2016-10-05T07:15:42+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
"./"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"GPL-2.0"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Nigel McNie",
|
||||
"email": "nigel@geshi.org"
|
||||
},
|
||||
{
|
||||
"name": "Benny Baumann",
|
||||
"email": "BenBE@geshi.org"
|
||||
}
|
||||
],
|
||||
"description": "GeSHi - Generic Syntax Highlighter. This is an unmodified port of GeSHi project code found on SourceForge.",
|
||||
"homepage": "http://qbnz.com/highlighter",
|
||||
"keywords": [
|
||||
"highlight",
|
||||
"highlighter",
|
||||
"syntax"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "phpseclib/phpseclib",
|
||||
"version": "2.0.4",
|
||||
|
@ -305,5 +257,47 @@
|
|||
"unzip",
|
||||
"zip"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "geshi/geshi",
|
||||
"version": "v1.0.9.0",
|
||||
"version_normalized": "1.0.9.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/GeSHi/geshi-1.0.git",
|
||||
"reference": "5a7b461338d322d941986a656d4d1651452e73dd"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/GeSHi/geshi-1.0/zipball/5a7b461338d322d941986a656d4d1651452e73dd",
|
||||
"reference": "5a7b461338d322d941986a656d4d1651452e73dd",
|
||||
"shasum": ""
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^5.7"
|
||||
},
|
||||
"time": "2017-05-05T05:51:25+00:00",
|
||||
"type": "library",
|
||||
"installation-source": "dist",
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
"src/geshi/",
|
||||
"src/geshi.php"
|
||||
]
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"GPL-2.0+"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Benny Baumann",
|
||||
"email": "BenBE@geshi.org",
|
||||
"homepage": "http://blog.benny-baumann.de/",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "Generic Syntax Highlighter",
|
||||
"homepage": "http://qbnz.com/highlighter/"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
# GeSHi - Generic Syntax Highlighter #
|
||||
|
||||
This repository has been created just to be able to install GeSHi as a Composer
|
||||
package. Technically it's a port of the GeSHi project code found on SourceForge:
|
||||
http://sourceforge.net/projects/geshi/
|
||||
|
||||
Differences from the official SourceForge repository:
|
||||
|
||||
* 3/mar/2016: removed the closing `?>` tag from PHP files.
|
||||
* 11/may/2014: added `sass.php` file to highlight Sass stylesheets.
|
||||
* 28/sep/2012: added `twig.php` file to highlight Twig templates.
|
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
"name": "easybook/geshi",
|
||||
"type": "library",
|
||||
"description": "GeSHi - Generic Syntax Highlighter. This is an unmodified port of GeSHi project code found on SourceForge.",
|
||||
"homepage": "http://qbnz.com/highlighter",
|
||||
"keywords": ["highlighter", "highlight", "syntax"],
|
||||
"license": "GPL-2.0",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Benny Baumann",
|
||||
"email": "BenBE@geshi.org"
|
||||
},
|
||||
{
|
||||
"name": "Nigel McNie",
|
||||
"email": "nigel@geshi.org"
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">4.3.0"
|
||||
},
|
||||
"autoload": {
|
||||
"classmap": ["./"]
|
||||
}
|
||||
}
|
|
@ -1,192 +0,0 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* asymptote.php
|
||||
* -------------
|
||||
* Author: Manuel Yguel (manuel.yguel.robotics@gmail.com)
|
||||
* Copyright: (c) 2012 Manuel Yguel (http://manuelyguel.eu)
|
||||
* Release Version: 1.0.8.11
|
||||
* Date Started: 2012/05/24
|
||||
*
|
||||
* asymptote language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2012/05/24 (1.0.0.0)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2012/05/24)
|
||||
* -------------------------
|
||||
* * Split to several files - php4, php5 etc
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
* ************************************************************************************/
|
||||
|
||||
$language_data = array(
|
||||
'LANG_NAME' => 'asymptote',
|
||||
'COMMENT_SINGLE' => array(1 => '//'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//Multiline-continued single-line comments
|
||||
1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//Multiline-continued preprocessor define
|
||||
2 => '/#(?:\\\\\\\\|\\\\\\n|.)*$/m'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
//Simple Single Char Escapes
|
||||
1 => "#\\\\[\\\\abfnrtv\'\"?\n]#i",
|
||||
//Hexadecimal Char Specs
|
||||
2 => "#\\\\x[\da-fA-F]{2}#",
|
||||
//Hexadecimal Char Specs
|
||||
3 => "#\\\\u[\da-fA-F]{4}#",
|
||||
//Hexadecimal Char Specs
|
||||
4 => "#\\\\U[\da-fA-F]{8}#",
|
||||
//Octal Char Specs
|
||||
5 => "#\\\\[0-7]{1,3}#"
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
|
||||
GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
|
||||
GESHI_NUMBER_FLT_NONSCI_F | GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'and','controls','tension','atleast','curl','if','else','while','for','do','return','break','continue','struct','typedef','new','access','import','unravel','from','include','quote','static','public','private','restricted','this','explicit','true','false','null','cycle','newframe','operator'
|
||||
),
|
||||
2 => array(
|
||||
'Braid','FitResult','Label','Legend','Segment','Solution','TreeNode','abscissa','arc','arrowhead','binarytree','binarytreeNode','block','bool','bool3','bounds','bqe','circle','conic','coord','coordsys','cputime','ellipse','file','filltype','frame','grid3','guide','horner','hsv','hyperbola','indexedTransform','int','inversion','key','light','line','linefit','marginT','marker','mass','object','pair','parabola','path','path3','pen','picture','point','position','projection','real','revolution','scaleT','scientific','segment','side','slice','solution','splitface','string','surface','tensionSpecifier','ticklocate','ticksgridT','tickvalues','transform','transformation','tree','triangle','trilinear','triple','vector','vertex','void'),
|
||||
3 => array(
|
||||
'AND','Arc','ArcArrow','ArcArrows','Arrow','Arrows','Automatic','AvantGarde','BBox','BWRainbow','BWRainbow2','Bar','Bars','BeginArcArrow','BeginArrow','BeginBar','BeginDotMargin','BeginMargin','BeginPenMargin','Blank','Bookman','Bottom','BottomTop','Bounds','Break','Broken','BrokenLog','CLZ','CTZ','Ceil','Circle','CircleBarIntervalMarker','Cos','Courier','CrossIntervalMarker','DOSendl','DOSnewl','DefaultFormat','DefaultLogFormat','Degrees','Dir','DotMargin','DotMargins','Dotted','Draw','Drawline','Embed','EndArcArrow','EndArrow','EndBar','EndDotMargin','EndMargin','EndPenMargin','Fill','FillDraw','Floor','Format','Full','Gaussian','Gaussrand','Gaussrandpair',
|
||||
'Gradient','Grayscale','Helvetica','Hermite','HookHead','InOutTicks','InTicks','Jn','Label','Landscape','Left','LeftRight','LeftTicks','Legend','Linear','Link','Log','LogFormat','Margin','Margins','Mark','MidArcArrow','MidArrow','NOT','NewCenturySchoolBook','NoBox','NoMargin','NoModifier','NoTicks','NoTicks3','NoZero','NoZeroFormat','None','OR','OmitFormat','OmitTick','OmitTickInterval','OmitTickIntervals','OutTicks','Ox','Oy','Palatino','PaletteTicks','Pen','PenMargin','PenMargins','Pentype','Portrait','RadialShade','RadialShadeDraw','Rainbow','Range','Relative','Right','RightTicks','Rotate','Round','SQR','Scale','ScaleX','ScaleY','ScaleZ','Seascape','Segment','Shift','Sin','Slant','Spline','StickIntervalMarker','Straight','Symbol','Tan','TeXify','Ticks','Ticks3','TildeIntervalMarker','TimesRoman','Top','TrueMargin','UnFill','UpsideDown','Wheel','X','XEquals','XOR','XY','XYEquals','XYZero','XYgrid','XZEquals','XZZero','XZero','XZgrid','Y','YEquals','YXgrid','YZ','YZEquals','YZZero','YZero','YZgrid','Yn','Z','ZX','ZXgrid','ZYgrid','ZapfChancery','ZapfDingbats','_begingroup3','_cputime','_draw','_eval','_image','_labelpath','_projection','_strokepath','_texpath','aCos','aSin','aTan','abort','abs','accel','acos','acosh','acot','acsc','activatequote','add',
|
||||
'addArrow','addMargins','addSaveFunction','addpenarc','addpenline','adjust','alias','align','all','altitude','angabscissa','angle','angpoint','animate','annotate','anticomplementary','antipedal','apply','approximate','arc','arcarrowsize','arccircle','arcdir','arcfromcenter','arcfromfocus','arclength','arcnodesnumber','arcpoint','arcsubtended','arcsubtendedcenter','arctime','arctopath','array','arrow','arrow2','arrowbase','arrowbasepoints','arrowsize','asec','asin','asinh','ask','assert','asy','asycode','asydir','asyfigure','asyfilecode','asyinclude','asywrite','atan','atan2','atanh','atbreakpoint','atexit','attach','attract','atupdate','autoformat','autoscale','autoscale3','axes','axes3','axialshade','axis','axiscoverage','azimuth','babel','background','bangles','bar','barmarksize','barsize','basealign','baseline','bbox','beep','begin','beginclip','begingroup','beginpoint','between','bevel','bezier','bezierP','bezierPP','bezierPPP','bezulate','bibliography','bibliographystyle','binarytree','binarytreeNode','binomial','binput','bins','bisector','bisectorpoint','bispline','blend','blockconnector','boutput','box','bqe','breakpoint','breakpoints','brick','buildRestoreDefaults','buildRestoreThunk','buildcycle','bulletcolor','byte','calculateScaling','canonical','canonicalcartesiansystem','cartesiansystem','case1','case2','case3','case4','cbrt','cd','ceil','center','centerToFocus',
|
||||
'centroid','cevian','change2','changecoordsys','checkSegment','checkconditionlength','checker','checkincreasing','checklengths','checkposition','checktriangle','choose','circle','circlebarframe','circlemarkradius','circlenodesnumber','circumcenter','circumcircle','clamped','clear','clip','clipdraw','close','cmyk','code','colatitude','collect','collinear','color','colorless','colors','colorspace','comma','compassmark','complement','complementary','concat','concurrent','cone','conic','conicnodesnumber','conictype','conj','connect','connected','connectedindex','containmentTree','contains','contour','contour3','contouredges','controlSpecifier','convert','coordinates','coordsys','copy','copyPairOrTriple','cos','cosh','cot','countIntersections','cputime','crop','cropcode','cross',
|
||||
'crossframe','crosshatch','crossmarksize','csc','cubicroots','curabscissa','curlSpecifier','curpoint','currentarrow','currentexitfunction','currentmomarrow','currentpolarconicroutine','curve','cut','cutafter','cutbefore','cyclic','cylinder','deactivatequote','debugger','deconstruct','defaultdir','defaultformat','defaultpen','defined','degenerate','degrees','delete','deletepreamble','determinant','diagonal','diamond','diffdiv','dir','dirSpecifier','dirtime','display','distance',
|
||||
'divisors','do_overpaint','dot','dotframe','dotsize','downcase','draw','drawAll','drawDoubleLine','drawFermion','drawGhost','drawGluon','drawMomArrow','drawPRCcylinder','drawPRCdisk','drawPRCsphere','drawPRCtube','drawPhoton','drawScalar','drawVertex','drawVertexBox','drawVertexBoxO','drawVertexBoxX','drawVertexO','drawVertexOX','drawVertexTriangle','drawVertexTriangleO','drawVertexX','drawarrow','drawarrow2','drawline','drawpixel','drawtick','duplicate','elle','ellipse','ellipsenodesnumber','embed','embed3','empty','enclose','end','endScript','endclip','endgroup','endgroup3','endl','endpoint','endpoints','eof','eol','equation','equations','erase','erasestep','erf','erfc','error','errorbar','errorbars','eval','excenter','excircle','exit','exitXasyMode','exitfunction','exp','expfactors','expi','expm1','exradius','extend','extension','extouch','fabs','factorial','fermat','fft','fhorner','figure','file','filecode','fill','filldraw','filloutside','fillrule','filltype','find','finite','finiteDifferenceJacobian','firstcut','firstframe','fit','fit2','fixedscaling','floor','flush','fmdefaults','fmod','focusToCenter','font','fontcommand','fontsize','foot','format','frac','frequency','fromCenter','fromFocus','fspline','functionshade','gamma','generate_random_backtrace','generateticks','gergonne','getc','getint','getpair','getreal','getstring','gettriple','gluon','gouraudshade','graph','graphic','gray','grestore','grid','grid3','gsave','halfbox','hatch','hdiffdiv','hermite','hex','histogram','history','hline','hprojection',
|
||||
'hsv','hyperbola','hyperbolanodesnumber','hyperlink','hypot','identity','image','incenter','incentral','incircle','increasing','incrementposition','indexedTransform','indexedfigure','initXasyMode','initdefaults','input','inradius','insert','inside','integrate','interactive','interior','interp','interpolate','intersect','intersection','intersectionpoint','intersectionpoints','intersections','intouch','inverse','inversion','invisible','is3D','isCCW','isDuplicate','isogonal','isogonalconjugate','isotomic','isotomicconjugate','isparabola','italic','item','jobname','key','kurtosis','kurtosisexcess','label','labelaxis','labelmargin','labelpath','labels','labeltick','labelx','labelx3','labely','labely3','labelz','labelz3','lastcut','latex','latitude','latticeshade','layer','layout','ldexp','leastsquares','legend','legenditem','length','lexorder','lift','light','limits','line','linear','linecap','lineinversion','linejoin','linemargin','lineskip','linetype','linewidth','link','list','lm_enorm','lm_evaluate_default','lm_lmdif','lm_lmpar','lm_minimize','lm_print_default','lm_print_quiet','lm_qrfac','lm_qrsolv','locale','locate',
|
||||
'locatefile','location','log','log10','log1p','logaxiscoverage','longitude','lookup','makeNode','makedraw','makepen','map','margin','markangle','markangleradius','markanglespace','markarc','marker','markinterval','marknodes','markrightangle','markuniform','mass','masscenter','massformat','math','max','max3','maxAfterTransform','maxbezier','maxbound','maxcoords','maxlength','maxratio','maxtimes','mean','medial','median','midpoint','min','min3','minAfterTransform','minbezier','minbound','minipage','minratio','mintimes','miterlimit','mktemp','momArrowPath','momarrowsize','monotonic','multifigure','nativeformat','natural','needshipout','newl','newpage','newslide','newton','newtree','nextframe','nextnormal','nextpage','nib','nodabscissa','none','norm','normalvideo','notaknot','nowarn','numberpage','nurb','object','offset','onpath','opacity','opposite','orientation','origin','orthic','orthocentercenter','outformat','outline','outname','outprefix','output','overloadedMessage','overwrite','pack','pad','pairs','palette','parabola','parabolanodesnumber','parallel','parallelogram','partialsum','path','path3','pattern','pause','pdf','pedal','periodic','perp','perpendicular','perpendicularmark','phantom','phi1','phi2','phi3','photon','piecewisestraight','point','polar','polarconicroutine','polargraph','polygon','postcontrol','postscript','pow10','ppoint','prc','prc0','precision','precontrol','prepend','printBytecode','print_random_addresses','project','projection','purge','pwhermite','quadrant','quadraticroots','quantize','quarticroots','quotient','radialshade','radians','radicalcenter','radicalline','radius','rand','randompath','rd','readline','realmult','realquarticroots','rectangle','rectangular','rectify','reflect','relabscissa','relative','relativedistance','reldir','relpoint','reltime','remainder','remark','removeDuplicates','rename','replace','report','resetdefaultpen','restore','restoredefaults','reverse','reversevideo','rf','rfind','rgb','rgba','rgbint','rms',
|
||||
'rotate','rotateO','rotation','round','roundbox','roundedpath','roundrectangle','same','samecoordsys','sameside','sample','save','savedefaults','saveline','scale','scale3','scaleO','scaleT','scaleless','scientific','search','searchindex','searchtree','sec','secondaryX','secondaryY','seconds','section','sector','seek','seekeof','segment','sequence','setcontour','setpens','sgn','sgnd','sharpangle','sharpdegrees','shift','shiftless','shipout','shipout3','show','side','simeq','simpson','sin','sinh','size','size3','skewness','skip','slant','sleep','slope','slopefield','solve','solveBVP','sort','sourceline','sphere','split','sqrt','square','srand','standardizecoordsys','startScript','stdev','step','stickframe','stickmarksize','stickmarkspace','stop','straight','straightness','string','stripdirectory','stripextension','stripfile','stripsuffix','strokepath','subdivide','subitem','subpath','substr','sum','surface','symmedial','symmedian','system',
|
||||
'tab','tableau','tan','tangent','tangential','tangents','tanh','tell','tensionSpecifier','tensorshade','tex','texcolor','texify','texpath','texpreamble','texreset','texshipout','texsize','textpath','thick','thin','tick','tickMax','tickMax3','tickMin','tickMin3','ticklabelshift','ticklocate','tildeframe','tildemarksize','tile','tiling','time','times','title','titlepage','topbox','transform','transformation','transpose','trembleFuzz','triangle','triangleAbc','triangleabc','triangulate','tricoef','tridiagonal','trilinear','trim','truepoint','tube','uncycle','unfill','uniform','unique','unit','unitrand','unitsize','unityroot','unstraighten','upcase','updatefunction','uperiodic','upscale','uptodate','usepackage','usersetting','usetypescript','usleep','value','variance','variancebiased','vbox','vector','vectorfield','verbatim','view','vline','vperiodic','vprojection','warn','warning','windingnumber','write','xaxis','xaxis3','xaxis3At','xaxisAt','xequals','xinput','xlimits','xoutput','xpart','xscale','xscaleO','xtick','xtick3','xtrans','yaxis','yaxis3','yaxis3At','yaxisAt','yequals','ylimits','ypart','yscale','yscaleO','ytick','ytick3','ytrans','zaxis3','zaxis3At','zero','zero3','zlimits','zpart','ztick','ztick3','ztrans'
|
||||
),
|
||||
4 => array(
|
||||
'AliceBlue','Align','Allow','AntiqueWhite','Apricot','Aqua','Aquamarine','Aspect','Azure','BeginPoint','Beige','Bisque','Bittersweet','Black','BlanchedAlmond','Blue','BlueGreen','BlueViolet','Both','Break','BrickRed','Brown','BurlyWood','BurntOrange','CCW','CW','CadetBlue','CarnationPink','Center','Centered','Cerulean','Chartreuse','Chocolate','Coeff','Coral','CornflowerBlue','Cornsilk','Crimson','Crop','Cyan','Dandelion','DarkBlue','DarkCyan','DarkGoldenrod','DarkGray','DarkGreen','DarkKhaki','DarkMagenta','DarkOliveGreen','DarkOrange','DarkOrchid','DarkRed','DarkSalmon','DarkSeaGreen','DarkSlateBlue','DarkSlateGray','DarkTurquoise','DarkViolet','DeepPink','DeepSkyBlue','DefaultHead','DimGray','DodgerBlue','Dotted','Down','Draw','E','ENE','EPS','ESE','E_Euler','E_PC','E_RK2','E_RK3BS','Emerald','EndPoint','Euler','Fill','FillDraw','FireBrick','FloralWhite','ForestGreen','Fuchsia','Gainsboro','GhostWhite','Gold','Goldenrod','Gray','Green','GreenYellow','Honeydew','HookHead','Horizontal','HotPink','I','IgnoreAspect','IndianRed','Indigo','Ivory','JOIN_IN','JOIN_OUT','JungleGreen','Khaki','LM_DWARF','LM_MACHEP','LM_SQRT_DWARF','LM_SQRT_GIANT','LM_USERTOL','Label','Lavender','LavenderBlush','LawnGreen','Left','LeftJustified','LeftSide','LemonChiffon','LightBlue','LightCoral','LightCyan','LightGoldenrodYellow',
|
||||
'LightGreen','LightGrey','LightPink','LightSalmon','LightSeaGreen','LightSkyBlue','LightSlateGray','LightSteelBlue','LightYellow','Lime','LimeGreen','Linear','Linen','Log','Logarithmic','Magenta','Mahogany','Mark','MarkFill','Maroon','Max','MediumAquamarine','MediumBlue','MediumOrchid','MediumPurple','MediumSeaGreen','MediumSlateBlue','MediumSpringGreen','MediumTurquoise','MediumVioletRed','Melon','MidPoint','MidnightBlue','Min','MintCream','MistyRose','Moccasin','Move','MoveQuiet','Mulberry','N','NE','NNE','NNW','NW','NavajoWhite','Navy','NavyBlue','NoAlign','NoCrop','NoFill','NoSide','OldLace','Olive','OliveDrab','OliveGreen','Orange','OrangeRed','Orchid','Ox','Oy','PC','PaleGoldenrod','PaleGreen','PaleTurquoise','PaleVioletRed','PapayaWhip','Peach','PeachPuff','Periwinkle','Peru','PineGreen','Pink','Plum','PowderBlue','ProcessBlue','Purple','RK2','RK3','RK3BS','RK4','RK5','RK5DP','RK5F','RawSienna','Red','RedOrange','RedViolet','Rhodamine','Right','RightJustified','RightSide','RosyBrown','RoyalBlue','RoyalPurple','RubineRed','S','SE','SSE','SSW','SW','SaddleBrown','Salmon','SandyBrown','SeaGreen','Seashell','Sepia','Sienna','Silver','SimpleHead','SkyBlue','SlateBlue','SlateGray','Snow','SpringGreen','SteelBlue','Suppress','SuppressQuiet','Tan','TeXHead','Teal','TealBlue','Thistle','Ticksize','Tomato',
|
||||
'Turquoise','UnFill','Up','VERSION','Value','Vertical','Violet','VioletRed','W','WNW','WSW','Wheat','White','WhiteSmoke','WildStrawberry','XYAlign','YAlign','Yellow','YellowGreen','YellowOrange','addpenarc','addpenline','align','allowstepping','angularsystem','animationdelay','appendsuffix','arcarrowangle','arcarrowfactor','arrow2sizelimit','arrowangle','arrowbarb','arrowdir','arrowfactor','arrowhookfactor','arrowlength','arrowsizelimit','arrowtexfactor','authorpen','axis','axiscoverage','axislabelfactor','background','backgroundcolor','backgroundpen','barfactor','barmarksizefactor','basealign','baselinetemplate','beveljoin','bigvertexpen','bigvertexsize','black','blue','bm','bottom','bp','brown','bullet','byfoci','byvertices','camerafactor','chartreuse','circlemarkradiusfactor','circlenodesnumberfactor','circleprecision','circlescale','cm','codefile','codepen','codeskip','colorPen','coloredNodes','coloredSegments',
|
||||
'conditionlength','conicnodesfactor','count','cputimeformat','crossmarksizefactor','currentcoordsys','currentlight','currentpatterns','currentpen','currentpicture','currentposition','currentprojection','curvilinearsystem','cuttings','cyan','darkblue','darkbrown','darkcyan','darkgray','darkgreen','darkgrey','darkmagenta','darkolive','darkred','dashdotted','dashed','datepen','dateskip','debuggerlines','debugging','deepblue','deepcyan','deepgray','deepgreen','deepgrey','deepmagenta','deepred','default','defaultControl','defaultS','defaultbackpen','defaultcoordsys','defaultexcursion','defaultfilename','defaultformat','defaultmassformat','defaultpen','diagnostics','differentlengths','dot','dotfactor','dotframe','dotted','doublelinepen','doublelinespacing','down','duplicateFuzz','edge','ellipsenodesnumberfactor','eps','epsgeo','epsilon','evenodd','expansionfactor','extendcap','exterior','fermionpen','figureborder','figuremattpen','file3','firstnode','firststep','foregroundcolor','fuchsia','fuzz','gapfactor','ghostpen','gluonamplitude','gluonpen','gluonratio','gray','green','grey','hatchepsilon','havepagenumber','heavyblue','heavycyan','heavygray','heavygreen','heavygrey','heavymagenta','heavyred','hline','hwratio','hyperbola','hyperbolanodesnumberfactor','identity4','ignore','inXasyMode','inch','inches','includegraphicscommand','inf','infinity','institutionpen','intMax','intMin','interior','invert','invisible','itempen','itemskip','itemstep','labelmargin','landscape','lastnode','left','legendhskip','legendlinelength',
|
||||
'legendmargin','legendmarkersize','legendmaxrelativewidth','legendvskip','lightblue','lightcyan','lightgray','lightgreen','lightgrey','lightmagenta','lightolive','lightred','lightyellow','line','linemargin','lm_infmsg','lm_shortmsg','longdashdotted','longdashed','magenta','magneticRadius','mantissaBits','markangleradius','markangleradiusfactor','markanglespace','markanglespacefactor','mediumblue','mediumcyan','mediumgray','mediumgreen','mediumgrey','mediummagenta','mediumred','mediumyellow','middle','minDistDefault','minblockheight','minblockwidth','mincirclediameter','minipagemargin','minipagewidth','minvertexangle','miterjoin','mm','momarrowfactor','momarrowlength','momarrowmargin','momarrowoffset','momarrowpen','monoPen','morepoints','nCircle','newbulletcolor','ngraph','nil','nmesh','nobasealign','nodeMarginDefault','nodesystem','nomarker','nopoint','noprimary','nullpath','nullpen','numarray','ocgindex','oldbulletcolor','olive','orange','origin','overpaint','page','pageheight','pagemargin','pagenumberalign','pagenumberpen','pagenumberposition','pagewidth','paleblue','palecyan','palegray','palegreen','palegrey',
|
||||
'palemagenta','palered','paleyellow','parabolanodesnumberfactor','perpfactor','phi','photonamplitude','photonpen','photonratio','pi','pink','plain','plain_bounds','plain_scaling','plus','preamblenodes','pt','purple','r3','r4a','r4b','randMax','realDigits','realEpsilon','realMax','realMin','red','relativesystem','reverse','right','roundcap','roundjoin','royalblue','salmon','saveFunctions','scalarpen','sequencereal','settings','shipped','signedtrailingzero','solid','springgreen','sqrtEpsilon','squarecap','squarepen','startposition','stdin','stdout','stepfactor','stepfraction','steppagenumberpen','stepping','stickframe','stickmarksizefactor','stickmarkspacefactor','swap','textpen','ticksize','tildeframe','tildemarksizefactor','tinv','titlealign','titlepagepen','titlepageposition','titlepen','titleskip','top','trailingzero','treeLevelStep','treeMinNodeWidth','treeNodeStep','trembleAngle','trembleFrequency','trembleRandom','undefined','unitcircle','unitsquare','up','urlpen','urlskip','version','vertexpen','vertexsize','viewportmargin','viewportsize','vline','white','wye','xformStack','yellow','ylabelwidth','zerotickfuzz','zerowinding'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => array(
|
||||
'(', ')', '{', '}', '[', ']'
|
||||
),
|
||||
1 => array('<', '>','='),
|
||||
2 => array('+', '-', '*', '/', '%'),
|
||||
3 => array('!', '^', '&', '|'),
|
||||
4 => array('?', ':', ';'),
|
||||
5 => array('..')
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #b1b100;',
|
||||
2 => 'color: #000000; font-weight: bold;',
|
||||
3 => 'color: #990000;',
|
||||
4 => 'color: #009900; font-weight: bold;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #666666;',
|
||||
2 => 'color: #339900;',
|
||||
'MULTI' => 'color: #ff0000; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
1 => 'color: #000099; font-weight: bold;',
|
||||
2 => 'color: #660099; font-weight: bold;',
|
||||
3 => 'color: #660099; font-weight: bold;',
|
||||
4 => 'color: #660099; font-weight: bold;',
|
||||
5 => 'color: #006699; font-weight: bold;',
|
||||
'HARD' => '',
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #008000;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #FF0000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #0000dd;',
|
||||
GESHI_NUMBER_BIN_PREFIX_0B => 'color: #208080;',
|
||||
GESHI_NUMBER_OCT_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_HEX_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_FLT_SCI_SHORT => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_NONSCI_F => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_NONSCI => 'color:#800080;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #007788;',
|
||||
2 => 'color: #007788;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #008000;',
|
||||
1 => 'color: #000080;',
|
||||
2 => 'color: #000040;',
|
||||
3 => 'color: #000040;',
|
||||
4 => 'color: #008080;',
|
||||
5 => 'color: #009080;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => ''
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.',
|
||||
2 => '::'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_MAYBE,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9\$_\|\#])",
|
||||
'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_\|%\\-])"
|
||||
)
|
||||
)
|
||||
);
|
File diff suppressed because it is too large
Load Diff
|
@ -1,138 +0,0 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* batch.php
|
||||
* ------------
|
||||
* Author: FraidZZ ( fraidzz [@] bk.ru )
|
||||
* Copyright: (c) 2015 FraidZZ ( http://vk.com/fraidzz , http://www.cyberforum.ru/members/340557.html )
|
||||
* Release Version: 1.0.8.11
|
||||
* Date Started: 2015/03/28
|
||||
*
|
||||
* Windows batch file language file for GeSHi.
|
||||
*
|
||||
*************************************************************************************
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Windows Batch file',
|
||||
'COMMENT_SINGLE' => array(),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'COMMENT_REGEXP' => array(
|
||||
100 => '/(?:^|[&|])\\s*(?:rem|::)[^\\n]*/msi',
|
||||
101 => '/[\\/-]\\S*/si',
|
||||
102 => '/^\s*:[^:]\\S*/msi',
|
||||
103 => '/(?:([%!])[^"\'~ ][^"\' ]*\\1|%%?(?:~[dpnxsatz]*)?[^"\'])/si'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
100 => '/(?:([%!])\\S+\\1|%%(?:~[dpnxsatz]*)?[^"\'])/si'
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'echo', 'set', 'for', 'if', 'exit', 'else', 'do', 'not', 'defined', 'exist'
|
||||
),
|
||||
2 => array(
|
||||
"ASSOC", "ATTRIB", "BREAK", "BCDEDIT", "CACLS", "CD",
|
||||
"CHCP", "CHDIR", "CHKDSK", "CHKNTFS", "CLS", "CMD", "COLOR",
|
||||
"COMP", "COMPACT", "CONVERT", "COPY", "DATE", "DEL", "DIR",
|
||||
"DISKCOMP", "DISKCOPY", "DISKPART", "DOSKEY", "DRIVERQUERY", "ECHO", "ENDLOCAL",
|
||||
"ERASE", "EXIT", "FC", "FIND", "FINDSTR", "FOR", "FORMAT",
|
||||
"FSUTIL", "FTYPE", "GPRESULT", "GRAFTABL", "HELP", "ICACLS",
|
||||
"IF", "LABEL", "MD", "MKDIR", "MKLINK", "MODE", "MORE",
|
||||
"MOVE", "OPENFILES", "PATH", "PAUSE", "POPD", "PRINT", "PROMPT",
|
||||
"PUSHD", "RD", "RECOVER", "REN", "RENAME", "REPLACE", "RMDIR",
|
||||
"ROBOCOPY", "SET", "SETLOCAL", "SC", "SCHTASKS", "SHIFT", "SHUTDOWN",
|
||||
"SORT", "START", "SUBST", "SYSTEMINFO", "TASKLIST", "TASKKILL", "TIME",
|
||||
"TITLE", "TREE", "TYPE", "VER", "VERIFY", "VOL", "XCOPY",
|
||||
"WMIC", "CSCRIPT"
|
||||
),
|
||||
3 => array(
|
||||
"enabledelayedexpansion", "enableextensions"
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '+', '-', '~', '^', '@', '&', '*', '|', '/', '<', '>'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
5 => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #800080; font-weight: bold;',
|
||||
2 => 'color: #0080FF; font-weight: bold;',
|
||||
3 => 'color: #0000FF; font-weight: bold;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #888888;',
|
||||
2 => 'color: #FF1010; font-weight: bold;',
|
||||
101 => 'color: #44aa44; font-weight: bold;',
|
||||
100 => 'color: #888888;',
|
||||
102 => 'color: #990000; font-weight: bold;',
|
||||
103 => 'color: #000099; font-weight: bold;',
|
||||
'MULTI' => 'color: #808080; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
100 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #66cc66; font-weight: bold;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;',
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
0 => 'color: #006600;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #44aa44; font-weight: bold;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #990000; font-weight: bold',
|
||||
1 => 'color: #800080; font-weight: bold;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(),
|
||||
'REGEXPS' => array(
|
||||
0 => array(
|
||||
GESHI_SEARCH => "((?:goto|call)\\s*)(\\S+)",
|
||||
GESHI_REPLACE => "\\2",
|
||||
GESHI_BEFORE => "\\1",
|
||||
GESHI_MODIFIERS => "si",
|
||||
GESHI_AFTER => ""
|
||||
) ,
|
||||
1 => "goto|call"
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_MAYBE,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
|
@ -1,569 +0,0 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* cpp.php
|
||||
* -------
|
||||
* Author: Iulian M
|
||||
* Copyright: (c) 2006 Iulian M
|
||||
* Release Version: 1.0.8.11
|
||||
* Date Started: 2004/09/27
|
||||
*
|
||||
* C++ (with Qt extensions) language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/06/28 (1.0.8.4)
|
||||
* - Updated list of Keywords from Qt 4.5
|
||||
*
|
||||
* 2008/05/23 (1.0.7.22)
|
||||
* - Added description of extra language features (SF#1970248)
|
||||
*
|
||||
* TODO
|
||||
* ----
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'C++ (Qt)',
|
||||
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//Multiline-continued single-line comments
|
||||
1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//Multiline-continued preprocessor define
|
||||
2 => '/#(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//C++ 11 string literal extensions
|
||||
3 => '/(?:L|u8?|U)(?=")/',
|
||||
//C++ 11 string literal extensions (raw)
|
||||
4 => '/R"([^()\s\\\\]*)\((?:(?!\)\\1").)*\)\\1"/ms'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
//Simple Single Char Escapes
|
||||
1 => "#\\\\[abfnrtv\\\'\"?\n]#i",
|
||||
//Hexadecimal Char Specs
|
||||
2 => "#\\\\x[\da-fA-F]{2}#",
|
||||
//Hexadecimal Char Specs
|
||||
3 => "#\\\\u[\da-fA-F]{4}#",
|
||||
//Hexadecimal Char Specs
|
||||
4 => "#\\\\U[\da-fA-F]{8}#",
|
||||
//Octal Char Specs
|
||||
5 => "#\\\\[0-7]{1,3}#"
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
|
||||
GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
|
||||
GESHI_NUMBER_FLT_NONSCI_F | GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'case', 'continue', 'default', 'do', 'else', 'for', 'goto', 'if', 'return',
|
||||
'switch', 'while', 'delete', 'new', 'this'
|
||||
),
|
||||
2 => array(
|
||||
'NULL', 'false', 'break', 'true', 'enum', 'errno', 'EDOM',
|
||||
'ERANGE', 'FLT_RADIX', 'FLT_ROUNDS', 'FLT_DIG', 'DBL_DIG', 'LDBL_DIG',
|
||||
'FLT_EPSILON', 'DBL_EPSILON', 'LDBL_EPSILON', 'FLT_MANT_DIG', 'DBL_MANT_DIG',
|
||||
'LDBL_MANT_DIG', 'FLT_MAX', 'DBL_MAX', 'LDBL_MAX', 'FLT_MAX_EXP', 'DBL_MAX_EXP',
|
||||
'LDBL_MAX_EXP', 'FLT_MIN', 'DBL_MIN', 'LDBL_MIN', 'FLT_MIN_EXP', 'DBL_MIN_EXP',
|
||||
'LDBL_MIN_EXP', 'CHAR_BIT', 'CHAR_MAX', 'CHAR_MIN', 'SCHAR_MAX', 'SCHAR_MIN',
|
||||
'UCHAR_MAX', 'SHRT_MAX', 'SHRT_MIN', 'USHRT_MAX', 'INT_MAX', 'INT_MIN',
|
||||
'UINT_MAX', 'LONG_MAX', 'LONG_MIN', 'ULONG_MAX', 'HUGE_VAL', 'SIGABRT',
|
||||
'SIGFPE', 'SIGILL', 'SIGINT', 'SIGSEGV', 'SIGTERM', 'SIG_DFL', 'SIG_ERR',
|
||||
'SIG_IGN', 'BUFSIZ', 'EOF', 'FILENAME_MAX', 'FOPEN_MAX', 'L_tmpnam',
|
||||
'SEEK_CUR', 'SEEK_END', 'SEEK_SET', 'TMP_MAX', 'stdin', 'stdout', 'stderr',
|
||||
'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC',
|
||||
'virtual', 'public', 'private', 'protected', 'template', 'using', 'namespace',
|
||||
'try', 'catch', 'inline', 'dynamic_cast', 'const_cast', 'reinterpret_cast',
|
||||
'static_cast', 'explicit', 'friend', 'typename', 'typeid', 'class' ,
|
||||
'foreach','connect', 'Q_OBJECT' , 'slots' , 'signals', 'Q_SIGNALS', 'Q_SLOTS',
|
||||
'Q_FOREACH', 'QCOMPARE', 'QVERIFY', 'qDebug', 'kDebug', 'QBENCHMARK'
|
||||
),
|
||||
3 => array(
|
||||
'cin', 'cerr', 'clog', 'cout',
|
||||
'printf', 'fprintf', 'snprintf', 'sprintf', 'assert',
|
||||
'isalnum', 'isalpha', 'isdigit', 'iscntrl', 'isgraph', 'islower', 'isprint',
|
||||
'ispunct', 'isspace', 'isupper', 'isxdigit', 'tolower', 'toupper',
|
||||
'exp', 'log', 'log10', 'pow', 'sqrt', 'ceil', 'floor', 'fabs', 'ldexp',
|
||||
'frexp', 'modf', 'fmod', 'sin', 'cos', 'tan', 'asin', 'acos', 'atan', 'atan2',
|
||||
'sinh', 'cosh', 'tanh', 'setjmp', 'longjmp',
|
||||
'va_start', 'va_arg', 'va_end', 'offsetof', 'sizeof', 'fopen', 'freopen',
|
||||
'fflush', 'fclose', 'remove', 'rename', 'tmpfile', 'tmpname', 'setvbuf',
|
||||
'setbuf', 'vfprintf', 'vprintf', 'vsprintf', 'fscanf', 'scanf', 'sscanf',
|
||||
'fgetc', 'fgets', 'fputc', 'fputs', 'getc', 'getchar', 'gets', 'putc',
|
||||
'putchar', 'puts', 'ungetc', 'fread', 'fwrite', 'fseek', 'ftell', 'rewind',
|
||||
'fgetpos', 'fsetpos', 'clearerr', 'feof', 'ferror', 'perror', 'abs', 'labs',
|
||||
'div', 'ldiv', 'atof', 'atoi', 'atol', 'strtod', 'strtol', 'strtoul', 'calloc',
|
||||
'malloc', 'realloc', 'free', 'abort', 'exit', 'atexit', 'system', 'getenv',
|
||||
'bsearch', 'qsort', 'rand', 'srand', 'strcpy', 'strncpy', 'strcat', 'strncat',
|
||||
'strcmp', 'strncmp', 'strcoll', 'strchr', 'strrchr', 'strspn', 'strcspn',
|
||||
'strpbrk', 'strstr', 'strlen', 'strerror', 'strtok', 'strxfrm', 'memcpy',
|
||||
'memmove', 'memcmp', 'memchr', 'memset', 'clock', 'time', 'difftime', 'mktime',
|
||||
'asctime', 'ctime', 'gmtime', 'localtime', 'strftime'
|
||||
),
|
||||
4 => array(
|
||||
'auto', 'bool', 'char', 'const', 'double', 'float', 'int', 'long', 'longint',
|
||||
'register', 'short', 'shortint', 'signed', 'static', 'struct',
|
||||
'typedef', 'union', 'unsigned', 'void', 'volatile', 'extern', 'jmp_buf',
|
||||
'signal', 'raise', 'va_list', 'ptrdiff_t', 'size_t', 'FILE', 'fpos_t',
|
||||
'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm', 'wchar_t',
|
||||
|
||||
'int8', 'int16', 'int32', 'int64',
|
||||
'uint8', 'uint16', 'uint32', 'uint64',
|
||||
|
||||
'int_fast8_t', 'int_fast16_t', 'int_fast32_t', 'int_fast64_t',
|
||||
'uint_fast8_t', 'uint_fast16_t', 'uint_fast32_t', 'uint_fast64_t',
|
||||
|
||||
'int_least8_t', 'int_least16_t', 'int_least32_t', 'int_least64_t',
|
||||
'uint_least8_t', 'uint_least16_t', 'uint_least32_t', 'uint_least64_t',
|
||||
|
||||
'int8_t', 'int16_t', 'int32_t', 'int64_t',
|
||||
'uint8_t', 'uint16_t', 'uint32_t', 'uint64_t',
|
||||
|
||||
'intmax_t', 'uintmax_t', 'intptr_t', 'uintptr_t'
|
||||
),
|
||||
5 => array(
|
||||
"Q_UINT16", "Q_UINT32", "Q_UINT64", "Q_UINT8", "Q_ULLONG",
|
||||
"Q_ULONG", "Q3Accel", "Q3Action", "Q3ActionGroup", "Q3AsciiBucket",
|
||||
"Q3AsciiCache", "Q3AsciiCacheIterator", "Q3AsciiDict",
|
||||
"Q3AsciiDictIterator", "Q3BaseBucket", "Q3BoxLayout", "Q3Button",
|
||||
"Q3ButtonGroup", "Q3Cache", "Q3CacheIterator", "Q3Canvas",
|
||||
"Q3CanvasEllipse", "Q3CanvasItem", "Q3CanvasItemList",
|
||||
"Q3CanvasLine", "Q3CanvasPixmap", "Q3CanvasPixmapArray",
|
||||
"Q3CanvasPolygon", "Q3CanvasPolygonalItem", "Q3CanvasRectangle",
|
||||
"Q3CanvasSpline", "Q3CanvasSprite", "Q3CanvasText", "Q3CanvasView",
|
||||
"Q3CheckListItem", "Q3CheckTableItem", "Q3CleanupHandler",
|
||||
"Q3ColorDrag", "Q3ComboBox", "Q3ComboTableItem", "Q3CString",
|
||||
"Q3DataBrowser", "Q3DataTable", "Q3DataView", "Q3DateEdit",
|
||||
"Q3DateTimeEdit", "Q3DateTimeEditBase", "Q3DeepCopy", "Q3Dict",
|
||||
"Q3DictIterator", "Q3Dns", "Q3DnsSocket", "Q3DockArea",
|
||||
"Q3DockAreaLayout", "Q3DockWindow", "Q3DragObject", "Q3DropSite",
|
||||
"Q3EditorFactory", "Q3FileDialog", "Q3FileIconProvider",
|
||||
"Q3FilePreview", "Q3Frame", "Q3Ftp", "Q3GArray", "Q3GCache",
|
||||
"Q3GCacheIterator", "Q3GDict", "Q3GDictIterator", "Q3GList",
|
||||
"Q3GListIterator", "Q3GListStdIterator", "Q3Grid", "Q3GridLayout",
|
||||
"Q3GridView", "Q3GroupBox", "Q3GVector", "Q3HBox", "Q3HBoxLayout",
|
||||
"Q3HButtonGroup", "Q3Header", "Q3HGroupBox", "Q3Http",
|
||||
"Q3HttpHeader", "Q3HttpRequestHeader", "Q3HttpResponseHeader",
|
||||
"Q3IconDrag", "Q3IconDragItem", "Q3IconView", "Q3IconViewItem",
|
||||
"Q3ImageDrag", "Q3IntBucket", "Q3IntCache", "Q3IntCacheIterator",
|
||||
"Q3IntDict", "Q3IntDictIterator", "Q3ListBox", "Q3ListBoxItem",
|
||||
"Q3ListBoxPixmap", "Q3ListBoxText", "Q3ListView", "Q3ListViewItem",
|
||||
"Q3ListViewItemIterator", "Q3LNode", "Q3LocalFs", "Q3MainWindow",
|
||||
"Q3MemArray", "Q3MimeSourceFactory", "Q3MultiLineEdit",
|
||||
"Q3NetworkOperation", "Q3NetworkProtocol", "Q3NetworkProtocolDict",
|
||||
"Q3NetworkProtocolFactory", "Q3NetworkProtocolFactoryBase",
|
||||
"Q3ObjectDictionary", "Q3PaintDeviceMetrics", "Q3Painter",
|
||||
"Q3Picture", "Q3PointArray", "Q3PolygonScanner", "Q3PopupMenu",
|
||||
"Q3Process", "Q3ProgressBar", "Q3ProgressDialog", "Q3PtrBucket",
|
||||
"Q3PtrCollection", "Q3PtrDict", "Q3PtrDictIterator", "Q3PtrList",
|
||||
"Q3PtrListIterator", "Q3PtrListStdIterator", "Q3PtrQueue",
|
||||
"Q3PtrStack", "Q3PtrVector", "Q3RangeControl", "Q3ScrollView",
|
||||
"Q3Semaphore", "Q3ServerSocket", "Q3Shared", "Q3Signal",
|
||||
"Q3SimpleRichText", "Q3SingleCleanupHandler", "Q3Socket",
|
||||
"Q3SocketDevice", "Q3SortedList", "Q3SpinWidget", "Q3SqlCursor",
|
||||
"Q3SqlEditorFactory", "Q3SqlFieldInfo", "Q3SqlFieldInfoList",
|
||||
"Q3SqlForm", "Q3SqlPropertyMap", "Q3SqlRecordInfo",
|
||||
"Q3SqlSelectCursor", "Q3StoredDrag", "Q3StrIList", "Q3StringBucket",
|
||||
"Q3StrIVec", "Q3StrList", "Q3StrListIterator", "Q3StrVec",
|
||||
"Q3StyleSheet", "Q3StyleSheetItem", "Q3SyntaxHighlighter",
|
||||
"Q3TabDialog", "Q3Table", "Q3TableItem", "Q3TableSelection",
|
||||
"Q3TextBrowser", "Q3TextDrag", "Q3TextEdit",
|
||||
"Q3TextEditOptimPrivate", "Q3TextStream", "Q3TextView",
|
||||
"Q3TimeEdit", "Q3ToolBar", "Q3TSFUNC", "Q3UriDrag", "Q3Url",
|
||||
"Q3UrlOperator", "Q3ValueList", "Q3ValueListConstIterator",
|
||||
"Q3ValueListIterator", "Q3ValueStack", "Q3ValueVector", "Q3VBox",
|
||||
"Q3VBoxLayout", "Q3VButtonGroup", "Q3VGroupBox", "Q3WhatsThis",
|
||||
"Q3WidgetStack", "Q3Wizard", "QAbstractButton",
|
||||
"QAbstractEventDispatcher", "QAbstractExtensionFactory",
|
||||
"QAbstractExtensionManager", "QAbstractFileEngine",
|
||||
"QAbstractFileEngineHandler", "QAbstractFileEngineIterator",
|
||||
"QAbstractFormBuilder", "QAbstractGraphicsShapeItem",
|
||||
"QAbstractItemDelegate", "QAbstractItemModel", "QAbstractItemView",
|
||||
"QAbstractListModel", "QAbstractMessageHandler",
|
||||
"QAbstractNetworkCache", "QAbstractPageSetupDialog",
|
||||
"QAbstractPrintDialog", "QAbstractProxyModel",
|
||||
"QAbstractScrollArea", "QAbstractSlider", "QAbstractSocket",
|
||||
"QAbstractSpinBox", "QAbstractTableModel",
|
||||
"QAbstractTextDocumentLayout", "QAbstractUndoItem",
|
||||
"QAbstractUriResolver", "QAbstractXmlNodeModel",
|
||||
"QAbstractXmlReceiver", "QAccessible", "QAccessible2Interface",
|
||||
"QAccessibleApplication", "QAccessibleBridge",
|
||||
"QAccessibleBridgeFactoryInterface", "QAccessibleBridgePlugin",
|
||||
"QAccessibleEditableTextInterface", "QAccessibleEvent",
|
||||
"QAccessibleFactoryInterface", "QAccessibleInterface",
|
||||
"QAccessibleInterfaceEx", "QAccessibleObject",
|
||||
"QAccessibleObjectEx", "QAccessiblePlugin",
|
||||
"QAccessibleSimpleEditableTextInterface",
|
||||
"QAccessibleTableInterface", "QAccessibleTextInterface",
|
||||
"QAccessibleValueInterface", "QAccessibleWidget",
|
||||
"QAccessibleWidgetEx", "QAction", "QActionEvent", "QActionGroup",
|
||||
"QApplication", "QArgument", "QAssistantClient", "QAtomicInt",
|
||||
"QAtomicPointer", "QAuthenticator", "QBasicAtomicInt",
|
||||
"QBasicAtomicPointer", "QBasicTimer", "QBitArray", "QBitmap",
|
||||
"QBitRef", "QBool", "QBoxLayout", "QBrush", "QBrushData", "QBuffer",
|
||||
"QButtonGroup", "QByteArray", "QByteArrayMatcher", "QByteRef",
|
||||
"QCache", "QCalendarWidget", "QCDEStyle", "QChar", "QCharRef",
|
||||
"QCheckBox", "QChildEvent", "QCleanlooksStyle", "QClipboard",
|
||||
"QClipboardEvent", "QCloseEvent", "QColor", "QColorDialog",
|
||||
"QColorGroup", "QColormap", "QColumnView", "QComboBox",
|
||||
"QCommandLinkButton", "QCommonStyle", "QCompleter",
|
||||
"QConicalGradient", "QConstString", "QContextMenuEvent", "QCOORD",
|
||||
"QCoreApplication", "QCryptographicHash", "QCursor", "QCursorShape",
|
||||
"QCustomEvent", "QDataStream", "QDataWidgetMapper", "QDate",
|
||||
"QDateEdit", "QDateTime", "QDateTimeEdit", "QDB2Driver",
|
||||
"QDB2Result", "QDBusAbstractAdaptor", "QDBusAbstractInterface",
|
||||
"QDBusArgument", "QDBusConnection", "QDBusConnectionInterface",
|
||||
"QDBusContext", "QDBusError", "QDBusInterface", "QDBusMessage",
|
||||
"QDBusMetaType", "QDBusObjectPath", "QDBusPendingCall",
|
||||
"QDBusPendingCallWatcher", "QDBusPendingReply",
|
||||
"QDBusPendingReplyData", "QDBusReply", "QDBusServer",
|
||||
"QDBusSignature", "QDBusVariant", "QDebug",
|
||||
"QDesignerActionEditorInterface", "QDesignerBrushManagerInterface",
|
||||
"QDesignerComponents", "QDesignerContainerExtension",
|
||||
"QDesignerCustomWidgetCollectionInterface",
|
||||
"QDesignerCustomWidgetInterface", "QDesignerDnDItemInterface",
|
||||
"QDesignerDynamicPropertySheetExtension", "QDesignerExportWidget",
|
||||
"QDesignerExtraInfoExtension", "QDesignerFormEditorInterface",
|
||||
"QDesignerFormEditorPluginInterface", "QDesignerFormWindowCursorInterface",
|
||||
"QDesignerFormWindowInterface", "QDesignerFormWindowManagerInterface",
|
||||
"QDesignerFormWindowToolInterface",
|
||||
"QDesignerIconCacheInterface", "QDesignerIntegrationInterface",
|
||||
"QDesignerLanguageExtension", "QDesignerLayoutDecorationExtension",
|
||||
"QDesignerMemberSheetExtension", "QDesignerMetaDataBaseInterface",
|
||||
"QDesignerMetaDataBaseItemInterface",
|
||||
"QDesignerObjectInspectorInterface", "QDesignerPromotionInterface",
|
||||
"QDesignerPropertyEditorInterface",
|
||||
"QDesignerPropertySheetExtension", "QDesignerResourceBrowserInterface",
|
||||
"QDesignerTaskMenuExtension", "QDesignerWidgetBoxInterface",
|
||||
"QDesignerWidgetDataBaseInterface", "QDesignerWidgetDataBaseItemInterface",
|
||||
"QDesignerWidgetFactoryInterface", "QDesktopServices",
|
||||
"QDesktopWidget", "QDial", "QDialog", "QDialogButtonBox", "QDir",
|
||||
"QDirIterator", "QDirModel", "QDockWidget", "QDomAttr",
|
||||
"QDomCDATASection", "QDomCharacterData", "QDomComment",
|
||||
"QDomDocument", "QDomDocumentFragment", "QDomDocumentType",
|
||||
"QDomElement", "QDomEntity", "QDomEntityReference",
|
||||
"QDomImplementation", "QDomNamedNodeMap", "QDomNode",
|
||||
"QDomNodeList", "QDomNotation", "QDomProcessingInstruction",
|
||||
"QDomText", "QDoubleSpinBox", "QDoubleValidator", "QDrag",
|
||||
"QDragEnterEvent", "QDragLeaveEvent", "QDragMoveEvent",
|
||||
"QDragResponseEvent", "QDropEvent", "QDynamicPropertyChangeEvent",
|
||||
"QErrorMessage", "QEvent", "QEventLoop", "QEventSizeOfChecker",
|
||||
"QExplicitlySharedDataPointer", "QExtensionFactory",
|
||||
"QExtensionManager", "QFactoryInterface", "QFile", "QFileDialog",
|
||||
"QFileIconProvider", "QFileInfo", "QFileInfoList",
|
||||
"QFileInfoListIterator", "QFileOpenEvent", "QFileSystemModel",
|
||||
"QFileSystemWatcher", "QFlag", "QFlags", "QFocusEvent",
|
||||
"QFocusFrame", "QFont", "QFontComboBox", "QFontDatabase",
|
||||
"QFontDialog", "QFontInfo", "QFontMetrics", "QFontMetricsF",
|
||||
"QForeachContainer", "QForeachContainerBase", "QFormBuilder",
|
||||
"QFormLayout", "QFrame", "QFSFileEngine", "QFtp", "QFuture",
|
||||
"QFutureInterface", "QFutureInterfaceBase", "QFutureIterator",
|
||||
"QFutureSynchronizer", "QFutureWatcher", "QFutureWatcherBase",
|
||||
"QGenericArgument", "QGenericReturnArgument", "QGLColormap",
|
||||
"QGLContext", "QGLFormat", "QGLFramebufferObject", "QGlobalStatic",
|
||||
"QGlobalStaticDeleter", "QGLPixelBuffer", "QGLWidget", "QGradient",
|
||||
"QGradientStop", "QGradientStops", "QGraphicsEllipseItem",
|
||||
"QGraphicsGridLayout", "QGraphicsItem", "QGraphicsItemAnimation",
|
||||
"QGraphicsItemGroup", "QGraphicsLayout", "QGraphicsLayoutItem",
|
||||
"QGraphicsLinearLayout", "QGraphicsLineItem", "QGraphicsPathItem",
|
||||
"QGraphicsPixmapItem", "QGraphicsPolygonItem",
|
||||
"QGraphicsProxyWidget", "QGraphicsRectItem", "QGraphicsScene",
|
||||
"QGraphicsSceneContextMenuEvent", "QGraphicsSceneDragDropEvent",
|
||||
"QGraphicsSceneEvent", "QGraphicsSceneHelpEvent",
|
||||
"QGraphicsSceneHoverEvent", "QGraphicsSceneMouseEvent",
|
||||
"QGraphicsSceneMoveEvent", "QGraphicsSceneResizeEvent",
|
||||
"QGraphicsSceneWheelEvent", "QGraphicsSimpleTextItem",
|
||||
"QGraphicsSvgItem", "QGraphicsTextItem", "QGraphicsView",
|
||||
"QGraphicsWidget", "QGridLayout", "QGroupBox", "QGtkStyle", "QHash",
|
||||
"QHashData", "QHashDummyNode", "QHashDummyValue", "QHashIterator",
|
||||
"QHashNode", "QHBoxLayout", "QHeaderView", "QHelpContentItem",
|
||||
"QHelpContentModel", "QHelpContentWidget", "QHelpEngine",
|
||||
"QHelpEngineCore", "QHelpEvent", "QHelpGlobal", "QHelpIndexModel",
|
||||
"QHelpIndexWidget", "QHelpSearchEngine", "QHelpSearchQuery",
|
||||
"QHelpSearchQueryWidget", "QHelpSearchResultWidget", "QHideEvent",
|
||||
"QHostAddress", "QHostInfo", "QHoverEvent", "QHttp", "QHttpHeader",
|
||||
"QHttpRequestHeader", "QHttpResponseHeader", "QIBaseDriver",
|
||||
"QIBaseResult", "QIcon", "QIconDragEvent", "QIconEngine",
|
||||
"QIconEngineFactoryInterface", "QIconEngineFactoryInterfaceV2",
|
||||
"QIconEnginePlugin", "QIconEnginePluginV2", "QIconEngineV2",
|
||||
"QIconSet", "QImage", "QImageIOHandler",
|
||||
"QImageIOHandlerFactoryInterface", "QImageIOPlugin", "QImageReader",
|
||||
"QImageTextKeyLang", "QImageWriter", "QIncompatibleFlag",
|
||||
"QInputContext", "QInputContextFactory",
|
||||
"QInputContextFactoryInterface", "QInputContextPlugin",
|
||||
"QInputDialog", "QInputEvent", "QInputMethodEvent", "Q_INT16",
|
||||
"Q_INT32", "Q_INT64", "Q_INT8", "QInternal", "QIntForSize",
|
||||
"QIntForType", "QIntValidator", "QIODevice", "Q_IPV6ADDR",
|
||||
"QIPv6Address", "QItemDelegate", "QItemEditorCreator",
|
||||
"QItemEditorCreatorBase", "QItemEditorFactory", "QItemSelection",
|
||||
"QItemSelectionModel", "QItemSelectionRange", "QKeyEvent",
|
||||
"QKeySequence", "QLabel", "QLatin1Char", "QLatin1String", "QLayout",
|
||||
"QLayoutItem", "QLayoutIterator", "QLCDNumber", "QLibrary",
|
||||
"QLibraryInfo", "QLine", "QLinearGradient", "QLineEdit", "QLineF",
|
||||
"QLinkedList", "QLinkedListData", "QLinkedListIterator",
|
||||
"QLinkedListNode", "QList", "QListData", "QListIterator",
|
||||
"QListView", "QListWidget", "QListWidgetItem", "Q_LLONG", "QLocale",
|
||||
"QLocalServer", "QLocalSocket", "Q_LONG", "QMacCompatGLenum",
|
||||
"QMacCompatGLint", "QMacCompatGLuint", "QMacGLCompatTypes",
|
||||
"QMacMime", "QMacPasteboardMime", "QMainWindow", "QMap", "QMapData",
|
||||
"QMapIterator", "QMapNode", "QMapPayloadNode", "QMatrix",
|
||||
"QMdiArea", "QMdiSubWindow", "QMenu", "QMenuBar",
|
||||
"QMenubarUpdatedEvent", "QMenuItem", "QMessageBox",
|
||||
"QMetaClassInfo", "QMetaEnum", "QMetaMethod", "QMetaObject",
|
||||
"QMetaObjectExtraData", "QMetaProperty", "QMetaType", "QMetaTypeId",
|
||||
"QMetaTypeId2", "QMimeData", "QMimeSource", "QModelIndex",
|
||||
"QModelIndexList", "QMotifStyle", "QMouseEvent", "QMoveEvent",
|
||||
"QMovie", "QMultiHash", "QMultiMap", "QMutableFutureIterator",
|
||||
"QMutableHashIterator", "QMutableLinkedListIterator",
|
||||
"QMutableListIterator", "QMutableMapIterator",
|
||||
"QMutableSetIterator", "QMutableStringListIterator",
|
||||
"QMutableVectorIterator", "QMutex", "QMutexLocker", "QMYSQLDriver",
|
||||
"QMYSQLResult", "QNetworkAccessManager", "QNetworkAddressEntry",
|
||||
"QNetworkCacheMetaData", "QNetworkCookie", "QNetworkCookieJar",
|
||||
"QNetworkDiskCache", "QNetworkInterface", "QNetworkProxy",
|
||||
"QNetworkProxyFactory", "QNetworkProxyQuery", "QNetworkReply",
|
||||
"QNetworkRequest", "QNoDebug", "QNoImplicitBoolCast", "QObject",
|
||||
"QObjectCleanupHandler", "QObjectData", "QObjectList",
|
||||
"QObjectUserData", "QOCIDriver", "QOCIResult", "QODBCDriver",
|
||||
"QODBCResult", "QPageSetupDialog", "QPaintDevice", "QPaintEngine",
|
||||
"QPaintEngineState", "QPainter", "QPainterPath",
|
||||
"QPainterPathPrivate", "QPainterPathStroker", "QPaintEvent",
|
||||
"QPair", "QPalette", "QPen", "QPersistentModelIndex", "QPicture",
|
||||
"QPictureFormatInterface", "QPictureFormatPlugin", "QPictureIO",
|
||||
"Q_PID", "QPixmap", "QPixmapCache", "QPlainTextDocumentLayout",
|
||||
"QPlainTextEdit", "QPlastiqueStyle", "QPluginLoader", "QPoint",
|
||||
"QPointer", "QPointF", "QPolygon", "QPolygonF", "QPrintDialog",
|
||||
"QPrintEngine", "QPrinter", "QPrinterInfo", "QPrintPreviewDialog",
|
||||
"QPrintPreviewWidget", "QProcess", "QProgressBar",
|
||||
"QProgressDialog", "QProxyModel", "QPSQLDriver", "QPSQLResult",
|
||||
"QPushButton", "QQueue", "QRadialGradient", "QRadioButton",
|
||||
"QReadLocker", "QReadWriteLock", "QRect", "QRectF", "QRegExp",
|
||||
"QRegExpValidator", "QRegion", "QResizeEvent", "QResource",
|
||||
"QReturnArgument", "QRgb", "QRubberBand", "QRunnable",
|
||||
"QScriptable", "QScriptClass", "QScriptClassPropertyIterator",
|
||||
"QScriptContext", "QScriptContextInfo", "QScriptContextInfoList",
|
||||
"QScriptEngine", "QScriptEngineAgent", "QScriptEngineDebugger",
|
||||
"QScriptExtensionInterface", "QScriptExtensionPlugin",
|
||||
"QScriptString", "QScriptSyntaxCheckResult", "QScriptValue",
|
||||
"QScriptValueIterator", "QScriptValueList", "QScrollArea",
|
||||
"QScrollBar", "QSemaphore", "QSessionManager", "QSet",
|
||||
"QSetIterator", "QSettings", "QSharedData", "QSharedDataPointer",
|
||||
"QSharedMemory", "QSharedPointer", "QShortcut", "QShortcutEvent",
|
||||
"QShowEvent", "QSignalMapper", "QSignalSpy", "QSimpleXmlNodeModel",
|
||||
"QSize", "QSizeF", "QSizeGrip", "QSizePolicy", "QSlider",
|
||||
"QSocketNotifier", "QSortFilterProxyModel", "QSound",
|
||||
"QSourceLocation", "QSpacerItem", "QSpinBox", "QSplashScreen",
|
||||
"QSplitter", "QSplitterHandle", "QSpontaneKeyEvent", "QSqlDatabase",
|
||||
"QSqlDriver", "QSqlDriverCreator", "QSqlDriverCreatorBase",
|
||||
"QSqlDriverFactoryInterface", "QSqlDriverPlugin", "QSqlError",
|
||||
"QSqlField", "QSqlIndex", "QSQLite2Driver", "QSQLite2Result",
|
||||
"QSQLiteDriver", "QSQLiteResult", "QSqlQuery", "QSqlQueryModel",
|
||||
"QSqlRecord", "QSqlRelation", "QSqlRelationalDelegate",
|
||||
"QSqlRelationalTableModel", "QSqlResult", "QSqlTableModel", "QSsl",
|
||||
"QSslCertificate", "QSslCipher", "QSslConfiguration", "QSslError",
|
||||
"QSslKey", "QSslSocket", "QStack", "QStackedLayout",
|
||||
"QStackedWidget", "QStandardItem", "QStandardItemEditorCreator",
|
||||
"QStandardItemModel", "QStatusBar", "QStatusTipEvent",
|
||||
"QStdWString", "QString", "QStringList", "QStringListIterator",
|
||||
"QStringListModel", "QStringMatcher", "QStringRef", "QStyle",
|
||||
"QStyledItemDelegate", "QStyleFactory", "QStyleFactoryInterface",
|
||||
"QStyleHintReturn", "QStyleHintReturnMask",
|
||||
"QStyleHintReturnVariant", "QStyleOption", "QStyleOptionButton",
|
||||
"QStyleOptionComboBox", "QStyleOptionComplex",
|
||||
"QStyleOptionDockWidget", "QStyleOptionDockWidgetV2",
|
||||
"QStyleOptionFocusRect", "QStyleOptionFrame", "QStyleOptionFrameV2",
|
||||
"QStyleOptionFrameV3", "QStyleOptionGraphicsItem",
|
||||
"QStyleOptionGroupBox", "QStyleOptionHeader",
|
||||
"QStyleOptionMenuItem", "QStyleOptionProgressBar",
|
||||
"QStyleOptionProgressBarV2", "QStyleOptionQ3DockWindow",
|
||||
"QStyleOptionQ3ListView", "QStyleOptionQ3ListViewItem",
|
||||
"QStyleOptionRubberBand", "QStyleOptionSizeGrip",
|
||||
"QStyleOptionSlider", "QStyleOptionSpinBox", "QStyleOptionTab",
|
||||
"QStyleOptionTabBarBase", "QStyleOptionTabBarBaseV2",
|
||||
"QStyleOptionTabV2", "QStyleOptionTabV3",
|
||||
"QStyleOptionTabWidgetFrame", "QStyleOptionTitleBar",
|
||||
"QStyleOptionToolBar", "QStyleOptionToolBox",
|
||||
"QStyleOptionToolBoxV2", "QStyleOptionToolButton",
|
||||
"QStyleOptionViewItem", "QStyleOptionViewItemV2",
|
||||
"QStyleOptionViewItemV3", "QStyleOptionViewItemV4", "QStylePainter",
|
||||
"QStylePlugin", "QSvgGenerator", "QSvgRenderer", "QSvgWidget",
|
||||
"QSyntaxHighlighter", "QSysInfo", "QSystemLocale",
|
||||
"QSystemSemaphore", "QSystemTrayIcon", "Qt", "Qt3Support",
|
||||
"QTabBar", "QTabletEvent", "QTableView", "QTableWidget",
|
||||
"QTableWidgetItem", "QTableWidgetSelectionRange", "QTabWidget",
|
||||
"QtAlgorithms", "QtAssistant", "QtCleanUpFunction",
|
||||
"QtConcurrentFilter", "QtConcurrentMap", "QtConcurrentRun",
|
||||
"QtContainerFwd", "QtCore", "QTcpServer", "QTcpSocket", "QtDBus",
|
||||
"QtDebug", "QtDesigner", "QTDSDriver", "QTDSResult",
|
||||
"QTemporaryFile", "QtEndian", "QTest", "QTestAccessibility",
|
||||
"QTestAccessibilityEvent", "QTestData", "QTestDelayEvent",
|
||||
"QTestEvent", "QTestEventList", "QTestEventLoop",
|
||||
"QTestKeyClicksEvent", "QTestKeyEvent", "QTestMouseEvent",
|
||||
"QtEvents", "QTextBlock", "QTextBlockFormat", "QTextBlockGroup",
|
||||
"QTextBlockUserData", "QTextBoundaryFinder", "QTextBrowser",
|
||||
"QTextCharFormat", "QTextCodec", "QTextCodecFactoryInterface",
|
||||
"QTextCodecPlugin", "QTextCursor", "QTextDecoder", "QTextDocument",
|
||||
"QTextDocumentFragment", "QTextDocumentWriter", "QTextEdit",
|
||||
"QTextEncoder", "QTextFormat", "QTextFragment", "QTextFrame",
|
||||
"QTextFrameFormat", "QTextFrameLayoutData", "QTextImageFormat",
|
||||
"QTextInlineObject", "QTextIStream", "QTextItem", "QTextLayout",
|
||||
"QTextLength", "QTextLine", "QTextList", "QTextListFormat",
|
||||
"QTextObject", "QTextObjectInterface", "QTextOption",
|
||||
"QTextOStream", "QTextStream", "QTextStreamFunction",
|
||||
"QTextStreamManipulator", "QTextTable", "QTextTableCell",
|
||||
"QTextTableCellFormat", "QTextTableFormat", "QtGlobal", "QtGui",
|
||||
"QtHelp", "QThread", "QThreadPool", "QThreadStorage",
|
||||
"QThreadStorageData", "QTime", "QTimeEdit", "QTimeLine", "QTimer",
|
||||
"QTimerEvent", "QtMsgHandler", "QtNetwork", "QToolBar",
|
||||
"QToolBarChangeEvent", "QToolBox", "QToolButton", "QToolTip",
|
||||
"QtOpenGL", "QtPlugin", "QtPluginInstanceFunction", "QTransform",
|
||||
"QTranslator", "QTreeView", "QTreeWidget", "QTreeWidgetItem",
|
||||
"QTreeWidgetItemIterator", "QTS", "QtScript", "QtScriptTools",
|
||||
"QtSql", "QtSvg", "QtTest", "QtUiTools", "QtWebKit", "QtXml",
|
||||
"QtXmlPatterns", "QTypeInfo", "QUdpSocket", "QUiLoader",
|
||||
"QUintForSize", "QUintForType", "QUndoCommand", "QUndoGroup",
|
||||
"QUndoStack", "QUndoView", "QUnixPrintWidget", "QUpdateLaterEvent",
|
||||
"QUrl", "QUrlInfo", "QUuid", "QValidator", "QVariant",
|
||||
"QVariantComparisonHelper", "QVariantHash", "QVariantList",
|
||||
"QVariantMap", "QVarLengthArray", "QVBoxLayout", "QVector",
|
||||
"QVectorData", "QVectorIterator", "QVectorTypedData",
|
||||
"QWaitCondition", "QWeakPointer", "QWebDatabase", "QWebFrame",
|
||||
"QWebHistory", "QWebHistoryInterface", "QWebHistoryItem",
|
||||
"QWebHitTestResult", "QWebPage", "QWebPluginFactory",
|
||||
"QWebSecurityOrigin", "QWebSettings", "QWebView", "QWhatsThis",
|
||||
"QWhatsThisClickedEvent", "QWheelEvent", "QWidget", "QWidgetAction",
|
||||
"QWidgetData", "QWidgetItem", "QWidgetItemV2", "QWidgetList",
|
||||
"QWidgetMapper", "QWidgetSet", "QWindowsCEStyle", "QWindowsMime",
|
||||
"QWindowsMobileStyle", "QWindowsStyle", "QWindowStateChangeEvent",
|
||||
"QWindowsVistaStyle", "QWindowsXPStyle", "QWizard", "QWizardPage",
|
||||
"QWMatrix", "QWorkspace", "QWriteLocker", "QX11EmbedContainer",
|
||||
"QX11EmbedWidget", "QX11Info", "QXmlAttributes",
|
||||
"QXmlContentHandler", "QXmlDeclHandler", "QXmlDefaultHandler",
|
||||
"QXmlDTDHandler", "QXmlEntityResolver", "QXmlErrorHandler",
|
||||
"QXmlFormatter", "QXmlInputSource", "QXmlItem",
|
||||
"QXmlLexicalHandler", "QXmlLocator", "QXmlName", "QXmlNamePool",
|
||||
"QXmlNamespaceSupport", "QXmlNodeModelIndex", "QXmlParseException",
|
||||
"QXmlQuery", "QXmlReader", "QXmlResultItems", "QXmlSerializer",
|
||||
"QXmlSimpleReader", "QXmlStreamAttribute", "QXmlStreamAttributes",
|
||||
"QXmlStreamEntityDeclaration", "QXmlStreamEntityDeclarations",
|
||||
"QXmlStreamEntityResolver", "QXmlStreamNamespaceDeclaration",
|
||||
"QXmlStreamNamespaceDeclarations", "QXmlStreamNotationDeclaration",
|
||||
"QXmlStreamNotationDeclarations", "QXmlStreamReader",
|
||||
"QXmlStreamStringRef", "QXmlStreamWriter"
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':', ',', ';', '|', '<', '>'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
5 => true,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #000000; font-weight:bold;',
|
||||
2 => 'color: #0057AE;',
|
||||
3 => 'color: #2B74C7;',
|
||||
4 => 'color: #0057AE;',
|
||||
5 => 'color: #22aadd;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #888888;',
|
||||
2 => 'color: #006E28;',
|
||||
3 => 'color: #BF0303;',
|
||||
4 => 'color: #BF0303;',
|
||||
'MULTI' => 'color: #888888; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
1 => 'color: #000099; font-weight: bold;',
|
||||
2 => 'color: #660099; font-weight: bold;',
|
||||
3 => 'color: #660099; font-weight: bold;',
|
||||
4 => 'color: #660099; font-weight: bold;',
|
||||
5 => 'color: #006699; font-weight: bold;',
|
||||
'HARD' => '',
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #006E28;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #BF0303;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #B08000;',
|
||||
GESHI_NUMBER_BIN_PREFIX_0B => 'color: #208080;',
|
||||
GESHI_NUMBER_OCT_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_HEX_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_FLT_SCI_SHORT => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_NONSCI_F => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_NONSCI => 'color:#800080;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #2B74C7;',
|
||||
2 => 'color: #2B74C7;',
|
||||
3 => 'color: #2B74C7;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #006E28;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => 'http://doc.qt.io/qt-5/{FNAMEL}.html'
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.',
|
||||
2 => '::',
|
||||
3 => '->',
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9\$_\|\#>|^])",
|
||||
'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_<\|%\\-])"
|
||||
),
|
||||
'OOLANG' => array(
|
||||
'MATCH_AFTER' => '~?[a-zA-Z][a-zA-Z0-9_]*',
|
||||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -1,237 +0,0 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* css.php
|
||||
* -------
|
||||
* Author: Nigel McNie (nigel@geshi.org)
|
||||
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Date Started: 2004/06/18
|
||||
*
|
||||
* CSS language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2008/05/23 (1.0.7.22)
|
||||
* - Added description of extra language features (SF#1970248)
|
||||
* 2004/11/27 (1.0.3)
|
||||
* - Added support for multiple object splitters
|
||||
* 2004/10/27 (1.0.2)
|
||||
* - Changed regexps to catch "-" symbols
|
||||
* - Added support for URLs
|
||||
* 2004/08/05 (1.0.1)
|
||||
* - Added support for symbols
|
||||
* 2004/07/14 (1.0.0)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2004/11/27)
|
||||
* -------------------------
|
||||
* * Improve or drop regexps for class/id/psuedoclass highlighting
|
||||
* * Re-look at keywords - possibly to make several CSS language
|
||||
* files, all with different versions of CSS in them
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'CSS',
|
||||
'COMMENT_SINGLE' => array(1 => '@'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
2 => "/(?<=\\()\\s*(?:(?:[a-z0-9]+?:\\/\\/)?[a-z0-9_\\-\\.\\/:]+?)?[a-z]+?\\.[a-z]+?(\\?[^\)]+?)?\\s*?(?=\\))/i"
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"', "'"),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
//Simple Single Char Escapes
|
||||
//1 => "#\\\\[nfrtv\$\"\n\\\\]#i",
|
||||
//Hexadecimal Char Specs
|
||||
2 => "#\\\\[\da-fA-F]{1,6}\s?#i",
|
||||
//Unicode Char Specs
|
||||
//3 => "#\\\\u[\da-fA-F]{1,8}#i",
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'align-items', 'align-self', 'align-content',
|
||||
'aqua', 'azimuth', 'background-attachment', 'background-color',
|
||||
'background-image', 'background-position', 'background-repeat',
|
||||
'background', 'black', 'blue', 'border-bottom-color',
|
||||
'border-radius', 'border-top-left-radius', 'border-top-right-radius',
|
||||
'border-bottom-right-radius', 'border-bottom-left-radius',
|
||||
'border-bottom-style', 'border-bottom-width', 'border-image-source',
|
||||
'border-image-slice', 'border-image-width', 'border-image-outset',
|
||||
'border-image-repeat', 'border-image', 'border-left-color',
|
||||
'border-left-style', 'border-left-width', 'border-right',
|
||||
'border-right-color', 'border-right-style', 'border-right-width',
|
||||
'border-top-color', 'border-top-style',
|
||||
'border-top-width','border-bottom', 'border-collapse',
|
||||
'border-left', 'border-width', 'border-color', 'border-spacing',
|
||||
'border-style', 'border-top', 'border', 'box-shadow',
|
||||
'break-after', 'break-before', 'break-inside', 'column-count',
|
||||
'column-fill', 'column-gap', 'column-rule', 'column-rule-color',
|
||||
'column-rule-style', 'column-rule-width', 'columns', 'column-span',
|
||||
'column-width', 'caption-side', 'clear',
|
||||
'clip', 'color', 'content', 'counter-increment', 'counter-reset',
|
||||
'cue-after', 'cue-before', 'cue', 'cursor', 'direction', 'display',
|
||||
'elevation', 'empty-cells', 'flex-direction', 'flex-grow',
|
||||
'flex-wrap', 'flex-shrink', 'flex-basis', 'flex-flow', 'flex',
|
||||
|
||||
'float', 'font-family', 'font-size',
|
||||
'font-size-adjust', 'font-stretch', 'font-style', 'font-variant',
|
||||
'font-weight', 'font', 'justify-content', 'line-height', 'letter-spacing',
|
||||
'list-style', 'list-style-image', 'list-style-position',
|
||||
'list-style-type', 'margin-bottom', 'margin-left', 'margin-right',
|
||||
'margin-top', 'margin', 'marker-offset', 'marks', 'max-height',
|
||||
'max-width', 'min-height', 'min-width', 'order', 'orphans', 'outline',
|
||||
'outline-color', 'outline-style', 'outline-width', 'overflow',
|
||||
'padding-bottom', 'padding-left', 'padding-right', 'padding-top',
|
||||
'padding', 'page', 'page-break-after', 'page-break-before',
|
||||
'page-break-inside', 'pause-after', 'pause-before', 'pause',
|
||||
'pitch', 'pitch-range', 'play-during', 'position', 'quotes',
|
||||
'richness', 'right', 'size', 'speak-header', 'speak-numeral',
|
||||
'speak-punctuation', 'speak', 'speech-rate', 'stress',
|
||||
'table-layout', 'text-align', 'text-decoration', 'text-indent',
|
||||
'text-shadow', 'text-transform', 'top', 'unicode-bidi',
|
||||
'vertical-align', 'visibility', 'voice-family', 'volume',
|
||||
'white-space', 'widows', 'width', 'word-spacing', 'z-index',
|
||||
'bottom', 'left', 'height'
|
||||
),
|
||||
2 => array(
|
||||
'above', 'absolute', 'always', 'armenian', 'aural', 'auto',
|
||||
'avoid', 'baseline', 'behind', 'below', 'bidi-override', 'blink',
|
||||
'block', 'bold', 'bolder', 'both', 'capitalize', 'center-left',
|
||||
'center-right', 'center', 'circle', 'cjk-ideographic',
|
||||
'close-quote', 'collapse', 'column', 'column-reverse', 'condensed', 'continuous', 'crop',
|
||||
'crosshair', 'cross', 'cursive', 'dashed', 'decimal-leading-zero',
|
||||
'decimal', 'default', 'digits', 'disc', 'dotted', 'double',
|
||||
'ease-in', 'ease-out',
|
||||
'e-resize', 'embed', 'extra-condensed', 'extra-expanded',
|
||||
'expanded', 'fantasy', 'far-left', 'far-right', 'faster', 'fast',
|
||||
'fixed', 'flex-end', 'flex-start', 'fuchsia', 'georgian', 'gray', 'green', 'groove',
|
||||
'hebrew', 'help', 'hidden', 'hide', 'higher', 'high',
|
||||
'hiragana-iroha', 'hiragana', 'icon', 'inherit', 'inline-table',
|
||||
'inline', 'inset', 'inside', 'invert', 'italic', 'justify',
|
||||
'katakana-iroha', 'katakana', 'landscape', 'larger', 'large',
|
||||
'left-side', 'leftwards', 'level', 'lighter', 'lime',
|
||||
'line-through', 'list-item', 'loud', 'lower-alpha', 'lower-greek',
|
||||
'lower-roman', 'lowercase', 'ltr', 'lower', 'low', 'maroon',
|
||||
'medium', 'message-box', 'middle', 'mix', 'monospace', 'n-resize',
|
||||
'narrower', 'navy', 'ne-resize', 'no-close-quote',
|
||||
'no-open-quote', 'no-repeat', 'none', 'normal', 'nowrap',
|
||||
'nw-resize', 'oblique', 'olive', 'once', 'open-quote', 'outset',
|
||||
'outside', 'overline', 'pointer', 'portrait', 'purple', 'px',
|
||||
'red', 'relative', 'repeat-x', 'repeat-y', 'repeat', 'rgb',
|
||||
'ridge', 'right-side', 'rightwards', 'row', 'row-reverse', 's-resize', 'sans-serif',
|
||||
'scroll', 'se-resize', 'semi-condensed', 'semi-expanded',
|
||||
'separate', 'serif', 'show', 'silent', 'silver', 'slow', 'slower',
|
||||
'small-caps', 'small-caption', 'smaller', 'soft', 'solid',
|
||||
'space-around', 'space-between',
|
||||
'spell-out', 'square', 'static', 'status-bar', 'stretch', 'super',
|
||||
'sw-resize', 'table-caption', 'table-cell', 'table-column',
|
||||
'table-column-group', 'table-footer-group', 'table-header-group',
|
||||
'table-row', 'table-row-group', 'teal', 'text', 'text-bottom',
|
||||
'text-top', 'thick', 'thin', 'transparent', 'ultra-condensed',
|
||||
'ultra-expanded', 'underline', 'upper-alpha', 'upper-latin',
|
||||
'upper-roman', 'uppercase', 'url', 'visible', 'w-resize', 'wait',
|
||||
'white', 'wider', 'wrap', 'wrap-reverse', 'x-fast', 'x-high', 'x-large', 'x-loud',
|
||||
'x-low', 'x-small', 'x-soft', 'xx-large', 'xx-small', 'yellow',
|
||||
'yes'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '{', '}', ':', ';',
|
||||
'>', '+', '*', ',', '^', '='
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #000000; font-weight: bold;',
|
||||
2 => 'color: #993333;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #a1a100;',
|
||||
2 => 'color: #ff0000; font-style: italic;',
|
||||
'MULTI' => 'color: #808080; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
//1 => 'color: #000099; font-weight: bold;',
|
||||
2 => 'color: #000099; font-weight: bold;'
|
||||
//3 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #00AA00;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #00AA00;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #cc00cc;',
|
||||
1 => 'color: #6666ff;',
|
||||
2 => 'color: #3333ff;',
|
||||
3 => 'color: #933;'
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
//DOM Node ID
|
||||
0 => '\#[a-zA-Z0-9\-_]+(?:\\\\:[a-zA-Z0-9\-_]+)*',
|
||||
//CSS classname
|
||||
1 => '\.(?!\d)[a-zA-Z0-9\-_]+(?:\\\\:[a-zA-Z0-9\-_]+)*\b(?=[\{\.#\s,:].|<\|)',
|
||||
//CSS Pseudo classes
|
||||
//note: & is needed for > (i.e. > )
|
||||
2 => '(?<!\\\\):(?!\d)[a-zA-Z0-9\-]+\b(?:\s*(?=[\{\.#a-zA-Z,:+*&](.|\n)|<\|))',
|
||||
//Measurements
|
||||
3 => '[+\-]?(\d+|(\d*\.\d+))(em|ex|pt|px|cm|in|%)',
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
'DISALLOWED_AFTER' => '(?![\-a-zA-Z0-9_\|%\\-&\.])',
|
||||
'DISALLOWED_BEFORE' => '(?<![\-a-zA-Z0-9_\|%\\~&\.])'
|
||||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -1,504 +0,0 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* gml.php
|
||||
* --------
|
||||
* Author: Jos<EFBFBD> Jorge Enr<EFBFBD>quez (jenriquez@users.sourceforge.net)
|
||||
* Copyright: (c) 2005 Jos<EFBFBD> Jorge Enr<EFBFBD>quez Rodr<EFBFBD>guez (http://www.zonamakers.com)
|
||||
* Release Version: 1.0.8.11
|
||||
* Date Started: 2005/06/21
|
||||
*
|
||||
* GML language file for GeSHi.
|
||||
*
|
||||
* GML (Game Maker Language) is a script language that is built-in into Game Maker,
|
||||
* a game creation program, more info about Game Maker can be found at
|
||||
* http://www.gamemaker.nl/
|
||||
* All GML keywords were extracted from the Game Maker HTML Help file using a PHP
|
||||
* script (one section at a time). I love PHP for saving me that bunch of work :P!.
|
||||
* I think all GML functions have been indexed here, but I'm not sure about it, so
|
||||
* please let me know of any issue you may find.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2005/11/11
|
||||
* - Changed 'CASE_KEYWORDS' fom 'GESHI_CAPS_LOWER' to 'GESHI_CAPS_NO_CHANGE',
|
||||
* so that MCI_command appears correctly (the only GML function using capitals).
|
||||
* - Changed 'CASE_SENSITIVE' options, 'GESHI_COMMENTS' from true to false and all
|
||||
* of the others from false to true.
|
||||
* - Deleted repeated entries.
|
||||
* - div and mod are language keywords, moved (from symbols) to the appropiate section (1).
|
||||
* - Moved self, other, all, noone and global identifiers to language keywords section 1.
|
||||
* - Edited this file lines to a maximum width of 100 characters (as stated in
|
||||
* the GeSHi docs). Well, not strictly to 100 but around it.
|
||||
* - Corrected some minor issues (the vk_f1...vk_f12 keys and similar).
|
||||
* - Deleted the KEYWORDS=>5 and KEYWORDS=>6 sections (actually, they were empty).
|
||||
* I was planning of using those for the GML functions available only in the
|
||||
* registered version of the program, but not anymore.
|
||||
*
|
||||
* 2005/06/26 (1.0.3)
|
||||
* - First Release.
|
||||
*
|
||||
* TODO (updated 2005/11/11)
|
||||
* -------------------------
|
||||
* - Test it for a while and make the appropiate corrections.
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'GML',
|
||||
'COMMENT_SINGLE' => array(1 => '//'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'"),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
// language keywords
|
||||
1 => array(
|
||||
'break', 'continue', 'do', 'until', 'if', 'else',
|
||||
'exit', 'for', 'repeat', 'return', 'switch',
|
||||
'case', 'default', 'var', 'while', 'with', 'div', 'mod',
|
||||
// GML Language overview
|
||||
'self', 'other', 'all', 'noone', 'global',
|
||||
),
|
||||
// modifiers and built-in variables
|
||||
2 => array(
|
||||
// Game play
|
||||
'x','y','xprevious','yprevious','xstart','ystart','hspeed','vspeed','direction','speed',
|
||||
'friction','gravity','gravity_direction',
|
||||
'path_index','path_position','path_positionprevious','path_speed','path_orientation',
|
||||
'path_endaction',
|
||||
'object_index','id','mask_index','solid','persistent','instance_count','instance_id',
|
||||
'room_speed','fps','current_time','current_year','current_month','current_day','current_weekday',
|
||||
'current_hour','current_minute','current_second','alarm','timeline_index','timeline_position',
|
||||
'timeline_speed',
|
||||
'room','room_first','room_last','room_width','room_height','room_caption','room_persistent',
|
||||
'score','lives','health','show_score','show_lives','show_health','caption_score','caption_lives',
|
||||
'caption_health',
|
||||
'event_type','event_number','event_object','event_action',
|
||||
'error_occurred','error_last',
|
||||
// User interaction
|
||||
'keyboard_lastkey','keyboard_key','keyboard_lastchar','keyboard_string',
|
||||
'mouse_x','mouse_y','mouse_button','mouse_lastbutton',
|
||||
// Game Graphics
|
||||
'sprite_index','sprite_width','sprite_height','sprite_xoffset','sprite_yoffset',
|
||||
'image_number','image_index','image_speed','image_xscale','image_yscale','image_angle',
|
||||
'image_alpha','image_blend','bbox_left','bbox_right','bbox_top','bbox_bottom',
|
||||
'background_color','background_showcolor','background_visible','background_foreground',
|
||||
'background_index','background_x','background_y','background_width','background_height',
|
||||
'background_htiled','background_vtiled','background_xscale','background_yscale',
|
||||
'background_hspeed','background_vspeed','background_blend','background_alpha',
|
||||
'background','left, top, width, height','depth','visible','xscale','yscale','blend','alpha',
|
||||
'view_enabled','view_current','view_visible','view_yview','view_wview','view_hview','view_xport',
|
||||
'view_yport','view_wport','view_hport','view_angle','view_hborder','view_vborder','view_hspeed',
|
||||
'view_vspeed','view_object',
|
||||
'transition_kind',
|
||||
// Files, registry and executing programs
|
||||
'game_id','working_directory','temp_directory',
|
||||
'secure_mode',
|
||||
// Creating particles
|
||||
'xmin', 'xmax', 'ymin', 'ymax','shape','distribution','particle type','number',
|
||||
'force','dist','kind','additive', 'parttype1', 'parttype2'
|
||||
),
|
||||
// functions
|
||||
3 => array(
|
||||
// Computing things
|
||||
'random','choose','abs','sign','round','floor','ceil','frac','sqrt','sqr','power','exp','ln',
|
||||
'log2','log10','logn','sin','cos','tan','arcsin','arccos','arctan','arctan2','degtorad',
|
||||
'radtodeg','min','max','mean','median','point_distance','point_direction','lengthdir_x',
|
||||
'lengthdir_y','is_real','is_string',
|
||||
'chr','ord','real','string','string_format','string_length','string_pos','string_copy',
|
||||
'string_char_at','string_delete','string_insert','string_replace','string_replace_all',
|
||||
'string_count','string_lower','string_upper','string_repeat','string_letters','string_digits',
|
||||
'string_lettersdigits','clipboard_has_text','clipboard_get_text','clipboard_set_text',
|
||||
'date_current_datetime','date_current_date','date_current_time','date_create_datetime',
|
||||
'date_create_date','date_create_time','date_valid_datetime','date_valid_date','date_valid_time',
|
||||
'date_inc_year','date_inc_month','date_inc_week','date_inc_day','date_inc_hour',
|
||||
'date_inc_minute','date_inc_second','date_get_year','date_get_month','date_get_week',
|
||||
'date_get_day','date_get_hour', 'date_get_minute','date_get_second','date_get_weekday',
|
||||
'date_get_day_of_year','date_get_hour_of_year','date_get_minute_of_year',
|
||||
'date_get_second_of_year','date_year_span','date_month_span','date_week_span','date_day_span',
|
||||
'date_hour_span','date_minute_span','date_second_span','date_compare_datetime',
|
||||
'date_compare_date','date_compare_time','date_date_of','date_time_of','date_datetime_string',
|
||||
'date_date_string','date_time_string','date_days_in_month','date_days_in_year','date_leap_year',
|
||||
'date_is_today',
|
||||
// Game play
|
||||
'motion_set','motion_add','place_free','place_empty','place_meeting','place_snapped',
|
||||
'move_random','move_snap','move_wrap','move_towards_point','move_bounce_solid','move_bounce_all',
|
||||
'move_contact_solid','move_contact_all','move_outside_solid','move_outside_all',
|
||||
'distance_to_point','distance_to_object','position_empty','position_meeting',
|
||||
'path_start','path_end',
|
||||
'mp_linear_step','mp_linear_step_object','mp_potential_step','mp_potential_step_object',
|
||||
'mp_potential_settings','mp_linear_path','mp_linear_path_object', 'mp_potential_path',
|
||||
'mp_potential_path_object','mp_grid_create','mp_grid_destroy','mp_grid_clear_all',
|
||||
'mp_grid_clear_cell','mp_grid_clear_rectangle','mp_grid_add_cell','mp_grid_add_rectangle',
|
||||
'mp_grid_add_instances','mp_grid_path','mp_grid_draw',
|
||||
'collision_point','collision_rectangle','collision_circle','collision_ellipse','collision_line',
|
||||
'instance_find','instance_exists','instance_number','instance_position','instance_nearest',
|
||||
'instance_furthest','instance_place','instance_create','instance_copy','instance_destroy',
|
||||
'instance_change','position_destroy','position_change',
|
||||
'instance_deactivate_all','instance_deactivate_object','instance_deactivate_region',
|
||||
'instance_activate_all','instance_activate_object','instance_activate_region',
|
||||
'sleep',
|
||||
'room_goto','room_goto_previous','room_goto_next','room_restart','room_previous','room_next',
|
||||
'game_end','game_restart','game_save','game_load',
|
||||
'event_perform', 'event_perform_object','event_user','event_inherited',
|
||||
'show_debug_message','variable_global_exists','variable_local_exists','variable_global_get',
|
||||
'variable_global_array_get','variable_global_array2_get','variable_local_get',
|
||||
'variable_local_array_get','variable_local_array2_get','variable_global_set',
|
||||
'variable_global_array_set','variable_global_array2_set','variable_local_set',
|
||||
'variable_local_array_set','variable_local_array2_set','set_program_priority',
|
||||
// User interaction
|
||||
'keyboard_set_map','keyboard_get_map','keyboard_unset_map','keyboard_check',
|
||||
'keyboard_check_pressed','keyboard_check_released','keyboard_check_direct',
|
||||
'keyboard_get_numlock','keyboard_set_numlock','keyboard_key_press','keyboard_key_release',
|
||||
'keyboard_clear','io_clear','io_handle','keyboard_wait',
|
||||
'mouse_check_button','mouse_check_button_pressed','mouse_check_button_released','mouse_clear',
|
||||
'mouse_wait',
|
||||
'joystick_exists','joystick_name','joystick_axes','joystick_buttons','joystick_has_pov',
|
||||
'joystick_direction','joystick_check_button','joystick_xpos','joystick_ypos','joystick_zpos',
|
||||
'joystick_rpos','joystick_upos','joystick_vpos','joystick_pov',
|
||||
// Game Graphics
|
||||
'draw_sprite','draw_sprite_stretched','draw_sprite_tiled','draw_sprite_part','draw_background',
|
||||
'draw_background_stretched','draw_background_tiled','draw_background_part','draw_sprite_ext',
|
||||
'draw_sprite_stretched_ext','draw_sprite_tiled_ext','draw_sprite_part_ext','draw_sprite_general',
|
||||
'draw_background_ext','draw_background_stretched_ext','draw_background_tiled_ext',
|
||||
'draw_background_part_ext','draw_background_general',
|
||||
'draw_clear','draw_clear_alpha','draw_point','draw_line','draw_rectangle','draw_roundrect',
|
||||
'draw_triangle','draw_circle','draw_ellipse','draw_arrow','draw_button','draw_path',
|
||||
'draw_healthbar','draw_set_color','draw_set_alpha','draw_get_color','draw_get_alpha',
|
||||
'make_color_rgb','make_color_hsv','color_get_red','color_get_green','color_get_blue',
|
||||
'color_get_hue','color_get_saturation','color_get_value','merge_color','draw_getpixel',
|
||||
'screen_save','screen_save_part',
|
||||
'draw_set_font','draw_set_halign','draw_set_valign','draw_text','draw_text_ext','string_width',
|
||||
'string_height','string_width_ext','string_height_ext','draw_text_transformed',
|
||||
'draw_text_ext_transformed','draw_text_color','draw_text_ext_color',
|
||||
'draw_text_transformed_color','draw_text_ext_transformed_color',
|
||||
'draw_point_color','draw_line_color','draw_rectangle_color','draw_roundrect_color',
|
||||
'draw_triangle_color','draw_circle_color','draw_ellipse_color','draw_primitive_begin',
|
||||
'draw_vertex','draw_vertex_color','draw_primitive_end','sprite_get_texture',
|
||||
'background_get_texture','texture_preload','texture_set_priority',
|
||||
'texture_get_width','texture_get_height','draw_primitive_begin_texture','draw_vertex_texture',
|
||||
'draw_vertex_texture_color','texture_set_interpolation',
|
||||
'texture_set_blending','texture_set_repeat','draw_set_blend_mode','draw_set_blend_mode_ext',
|
||||
'surface_create','surface_free','surface_exists','surface_get_width','surface_get_height',
|
||||
'surface_get_texture','surface_set_target','surface_reset_target','surface_getpixel',
|
||||
'surface_save','surface_save_part','draw_surface','draw_surface_stretched','draw_surface_tiled',
|
||||
'draw_surface_part','draw_surface_ext','draw_surface_stretched_ext','draw_surface_tiled_ext',
|
||||
'draw_surface_part_ext','draw_surface_general','surface_copy','surface_copy_part',
|
||||
'tile_add','tile_delete','tile_exists','tile_get_x','tile_get_y','tile_get_left','tile_get_top',
|
||||
'tile_get_width','tile_get_height','tile_get_depth','tile_get_visible','tile_get_xscale',
|
||||
'tile_get_yscale','tile_get_background','tile_get_blend','tile_get_alpha','tile_set_position',
|
||||
'tile_set_region','tile_set_background','tile_set_visible','tile_set_depth','tile_set_scale',
|
||||
'tile_set_blend','tile_set_alpha','tile_layer_hide','tile_layer_show','tile_layer_delete',
|
||||
'tile_layer_shift','tile_layer_find','tile_layer_delete_at','tile_layer_depth',
|
||||
'display_get_width','display_get_height','display_get_colordepth','display_get_frequency',
|
||||
'display_set_size','display_set_colordepth','display_set_frequency','display_set_all',
|
||||
'display_test_all','display_reset','display_mouse_get_x','display_mouse_get_y','display_mouse_set',
|
||||
'window_set_visible','window_get_visible','window_set_fullscreen','window_get_fullscreen',
|
||||
'window_set_showborder','window_get_showborder','window_set_showicons','window_get_showicons',
|
||||
'window_set_stayontop','window_get_stayontop','window_set_sizeable','window_get_sizeable',
|
||||
'window_set_caption','window_get_caption','window_set_cursor', 'window_get_cursor',
|
||||
'window_set_color','window_get_color','window_set_region_scale','window_get_region_scale',
|
||||
'window_set_position','window_set_size','window_set_rectangle','window_center','window_default',
|
||||
'window_get_x','window_get_y','window_get_width','window_get_height','window_mouse_get_x',
|
||||
'window_mouse_get_y','window_mouse_set',
|
||||
'window_set_region_size','window_get_region_width','window_get_region_height',
|
||||
'window_view_mouse_get_x','window_view_mouse_get_y','window_view_mouse_set',
|
||||
'window_views_mouse_get_x','window_views_mouse_get_y','window_views_mouse_set',
|
||||
'screen_redraw','screen_refresh','set_automatic_draw','set_synchronization','screen_wait_vsync',
|
||||
// Sound and music)
|
||||
'sound_play','sound_loop','sound_stop','sound_stop_all','sound_isplaying','sound_volume',
|
||||
'sound_global_volume','sound_fade','sound_pan','sound_background_tempo','sound_set_search_directory',
|
||||
'sound_effect_set','sound_effect_chorus','sound_effect_echo', 'sound_effect_flanger',
|
||||
'sound_effect_gargle','sound_effect_reverb','sound_effect_compressor','sound_effect_equalizer',
|
||||
'sound_3d_set_sound_position','sound_3d_set_sound_velocity','sound_3d_set_sound_distance',
|
||||
'sound_3d_set_sound_cone',
|
||||
'cd_init','cd_present','cd_number','cd_playing','cd_paused','cd_track','cd_length',
|
||||
'cd_track_length','cd_position','cd_track_position','cd_play','cd_stop','cd_pause','cd_resume',
|
||||
'cd_set_position','cd_set_track_position','cd_open_door','cd_close_door','MCI_command',
|
||||
// Splash screens, highscores, and other pop-ups
|
||||
'show_text','show_image','show_video','show_info','load_info',
|
||||
'show_message','show_message_ext','show_question','get_integer','get_string',
|
||||
'message_background','message_alpha','message_button','message_text_font','message_button_font',
|
||||
'message_input_font','message_mouse_color','message_input_color','message_caption',
|
||||
'message_position','message_size','show_menu','show_menu_pos','get_color','get_open_filename',
|
||||
'get_save_filename','get_directory','get_directory_alt','show_error',
|
||||
'highscore_show','highscore_set_background','highscore_set_border','highscore_set_font',
|
||||
'highscore_set_colors','highscore_set_strings','highscore_show_ext','highscore_clear',
|
||||
'highscore_add','highscore_add_current','highscore_value','highscore_name','draw_highscore',
|
||||
// Resources
|
||||
'sprite_exists','sprite_get_name','sprite_get_number','sprite_get_width','sprite_get_height',
|
||||
'sprite_get_transparent','sprite_get_smooth','sprite_get_preload','sprite_get_xoffset',
|
||||
'sprite_get_yoffset','sprite_get_bbox_left','sprite_get_bbox_right','sprite_get_bbox_top',
|
||||
'sprite_get_bbox_bottom','sprite_get_bbox_mode','sprite_get_precise',
|
||||
'sound_exists','sound_get_name','sound_get_kind','sound_get_preload','sound_discard',
|
||||
'sound_restore',
|
||||
'background_exists','background_get_name','background_get_width','background_get_height',
|
||||
'background_get_transparent','background_get_smooth','background_get_preload',
|
||||
'font_exists','font_get_name','font_get_fontname','font_get_bold','font_get_italic',
|
||||
'font_get_first','font_get_last',
|
||||
'path_exists','path_get_name','path_get_length','path_get_kind','path_get_closed',
|
||||
'path_get_precision','path_get_number','path_get_point_x','path_get_point_y',
|
||||
'path_get_point_speed','path_get_x','path_get_y','path_get_speed',
|
||||
'script_exists','script_get_name','script_get_text',
|
||||
'timeline_exists','timeline_get_name',
|
||||
'object_exists','object_get_name','object_get_sprite','object_get_solid','object_get_visible',
|
||||
'object_get_depth','object_get_persistent','object_get_mask','object_get_parent',
|
||||
'object_is_ancestor',
|
||||
'room_exists','room_get_name',
|
||||
// Changing resources
|
||||
'sprite_set_offset','sprite_set_bbox_mode','sprite_set_bbox','sprite_set_precise',
|
||||
'sprite_duplicate','sprite_assign','sprite_merge','sprite_add','sprite_replace',
|
||||
'sprite_create_from_screen','sprite_add_from_screen','sprite_create_from_surface',
|
||||
'sprite_add_from_surface','sprite_delete','sprite_set_alpha_from_sprite',
|
||||
'sound_add','sound_replace','sound_delete',
|
||||
'background_duplicate','background_assign','background_add','background_replace',
|
||||
'background_create_color','background_create_gradient','background_create_from_screen',
|
||||
'background_create_from_surface','background_delete','background_set_alpha_from_background',
|
||||
'font_add','font_add_sprite','font_replace_sprite','font_delete',
|
||||
'path_set_kind','path_set_closed','path_set_precision','path_add','path_delete','path_duplicate',
|
||||
'path_assign','path_append','path_add_point','path_insert_point','path_change_point',
|
||||
'path_delete_point','path_clear_points','path_reverse','path_mirror','path_flip','path_rotate',
|
||||
'path_scale','path_shift',
|
||||
'execute_string','execute_file','script_execute',
|
||||
'timeline_add','timeline_delete','timeline_moment_add','timeline_moment_clear',
|
||||
'object_set_sprite','object_set_solid','object_set_visible','object_set_depth',
|
||||
'object_set_persistent','object_set_mask','object_set_parent','object_add','object_delete',
|
||||
'object_event_add','object_event_clear',
|
||||
'room_set_width','room_set_height','room_set_caption','room_set_persistent','room_set_code',
|
||||
'room_set_background_color','room_set_background','room_set_view','room_set_view_enabled',
|
||||
'room_add','room_duplicate','room_assign','room_instance_add','room_instance_clear',
|
||||
'room_tile_add','room_tile_add_ext','room_tile_clear',
|
||||
// Files, registry and executing programs
|
||||
'file_text_open_read','file_text_open_write','file_text_open_append','file_text_close',
|
||||
'file_text_write_string','file_text_write_real','file_text_writeln','file_text_read_string',
|
||||
'file_text_read_real','file_text_readln','file_text_eof','file_exists','file_delete',
|
||||
'file_rename','file_copy','directory_exists','directory_create','file_find_first',
|
||||
'file_find_next','file_find_close','file_attributes', 'filename_name','filename_path',
|
||||
'filename_dir','filename_drive','filename_ext','filename_change_ext','file_bin_open',
|
||||
'file_bin_rewrite','file_bin_close','file_bin_size','file_bin_position','file_bin_seek',
|
||||
'file_bin_write_byte','file_bin_read_byte','parameter_count','parameter_string',
|
||||
'environment_get_variable',
|
||||
'registry_write_string','registry_write_real','registry_read_string','registry_read_real',
|
||||
'registry_exists','registry_write_string_ext','registry_write_real_ext',
|
||||
'registry_read_string_ext','registry_read_real_ext','registry_exists_ext','registry_set_root',
|
||||
'ini_open','ini_close','ini_read_string','ini_read_real','ini_write_string','ini_write_real',
|
||||
'ini_key_exists','ini_section_exists','ini_key_delete','ini_section_delete',
|
||||
'execute_program','execute_shell',
|
||||
// Data structures
|
||||
'ds_stack_create','ds_stack_destroy','ds_stack_clear','ds_stack_size','ds_stack_empty',
|
||||
'ds_stack_push','ds_stack_pop','ds_stack_top',
|
||||
'ds_queue_create','ds_queue_destroy','ds_queue_clear','ds_queue_size','ds_queue_empty',
|
||||
'ds_queue_enqueue','ds_queue_dequeue','ds_queue_head','ds_queue_tail',
|
||||
'ds_list_create','ds_list_destroy','ds_list_clear','ds_list_size','ds_list_empty','ds_list_add',
|
||||
'ds_list_insert','ds_list_replace','ds_list_delete','ds_list_find_index','ds_list_find_value',
|
||||
'ds_list_sort',
|
||||
'ds_map_create','ds_map_destroy','ds_map_clear','ds_map_size','ds_map_empty','ds_map_add',
|
||||
'ds_map_replace','ds_map_delete','ds_map_exists','ds_map_find_value','ds_map_find_previous',
|
||||
'ds_map_find_next','ds_map_find_first','ds_map_find_last',
|
||||
'ds_priority_create','ds_priority_destroy','ds_priority_clear','ds_priority_size',
|
||||
'ds_priority_empty','ds_priority_add','ds_priority_change_priority','ds_priority_find_priority',
|
||||
'ds_priority_delete_value','ds_priority_delete_min','ds_priority_find_min',
|
||||
'ds_priority_delete_max','ds_priority_find_max',
|
||||
'ds_grid_create','ds_grid_destroy','ds_grid_resize','ds_grid_width','ds_grid_height',
|
||||
'ds_grid_clear','ds_grid_set','ds_grid_add','ds_grid_multiply','ds_grid_set_region',
|
||||
'ds_grid_add_region','ds_grid_multiply_region','ds_grid_set_disk','ds_grid_add_disk',
|
||||
'ds_grid_multiply_disk','ds_grid_get','ds_grid_get_sum','ds_grid_get_max','ds_grid_get_min',
|
||||
'ds_grid_get_mean','ds_grid_get_disk_sum','ds_grid_get_disk_min','ds_grid_get_disk_max',
|
||||
'ds_grid_get_disk_mean','ds_grid_value_exists','ds_grid_value_x','ds_grid_value_y',
|
||||
'ds_grid_value_disk_exists','ds_grid_value_disk_x','ds_grid_value_disk_y',
|
||||
// Creating particles
|
||||
'effect_create_below','effect_create_above','effect_clear',
|
||||
'part_type_create','part_type_destroy','part_type_exists','part_type_clear','part_type_shape',
|
||||
'part_type_sprite','part_type_size','part_type_scale',
|
||||
'part_type_orientation','part_type_color1','part_type_color2','part_type_color3',
|
||||
'part_type_color_mix','part_type_color_rgb','part_type_color_hsv',
|
||||
'part_type_alpha1','part_type_alpha2','part_type_alpha3','part_type_blend','part_type_life',
|
||||
'part_type_step','part_type_death','part_type_speed','part_type_direction','part_type_gravity',
|
||||
'part_system_create','part_system_destroy','part_system_exists','part_system_clear',
|
||||
'part_system_draw_order','part_system_depth','part_system_position',
|
||||
'part_system_automatic_update','part_system_automatic_draw','part_system_update',
|
||||
'part_system_drawit','part_particles_create','part_particles_create_color',
|
||||
'part_particles_clear','part_particles_count',
|
||||
'part_emitter_create','part_emitter_destroy','part_emitter_destroy_all','part_emitter_exists',
|
||||
'part_emitter_clear','part_emitter_region','part_emitter_burst','part_emitter_stream',
|
||||
'part_attractor_create','part_attractor_destroy','part_attractor_destroy_all',
|
||||
'part_attractor_exists','part_attractor_clear','part_attractor_position','part_attractor_force',
|
||||
'part_destroyer_create','part_destroyer_destroy','part_destroyer_destroy_all',
|
||||
'part_destroyer_exists','part_destroyer_clear','part_destroyer_region',
|
||||
'part_deflector_create','part_deflector_destroy','part_deflector_destroy_all',
|
||||
'part_deflector_exists','part_deflector_clear','part_deflector_region','part_deflector_kind',
|
||||
'part_deflector_friction',
|
||||
'part_changer_create','part_changer_destroy','part_changer_destroy_all','part_changer_exists',
|
||||
'part_changer_clear','part_changer_region','part_changer_types','part_changer_kind',
|
||||
// Multiplayer games
|
||||
'mplay_init_ipx','mplay_init_tcpip','mplay_init_modem','mplay_init_serial',
|
||||
'mplay_connect_status','mplay_end','mplay_ipaddress',
|
||||
'mplay_session_create','mplay_session_find','mplay_session_name','mplay_session_join',
|
||||
'mplay_session_mode','mplay_session_status','mplay_session_end',
|
||||
'mplay_player_find','mplay_player_name','mplay_player_id',
|
||||
'mplay_data_write','mplay_data_read','mplay_data_mode',
|
||||
'mplay_message_send','mplay_message_send_guaranteed','mplay_message_receive','mplay_message_id',
|
||||
'mplay_message_value','mplay_message_player','mplay_message_name','mplay_message_count',
|
||||
'mplay_message_clear',
|
||||
// Using DLL's
|
||||
'external_define','external_call','external_free','window_handle',
|
||||
// 3D Graphics
|
||||
'd3d_start','d3d_end','d3d_set_hidden','d3d_set_perspective',
|
||||
'd3d_set_depth',
|
||||
'd3d_primitive_begin','d3d_vertex','d3d_vertex_color','d3d_primitive_end',
|
||||
'd3d_primitive_begin_texture','d3d_vertex_texture','d3d_vertex_texture_color','d3d_set_culling',
|
||||
'd3d_draw_block','d3d_draw_cylinder','d3d_draw_cone','d3d_draw_ellipsoid','d3d_draw_wall',
|
||||
'd3d_draw_floor',
|
||||
'd3d_set_projection','d3d_set_projection_ext','d3d_set_projection_ortho',
|
||||
'd3d_set_projection_perspective',
|
||||
'd3d_transform_set_identity','d3d_transform_set_translation','d3d_transform_set_scaling',
|
||||
'd3d_transform_set_rotation_x','d3d_transform_set_rotation_y','d3d_transform_set_rotation_z',
|
||||
'd3d_transform_set_rotation_axis','d3d_transform_add_translation','d3d_transform_add_scaling',
|
||||
'd3d_transform_add_rotation_x','d3d_transform_add_rotation_y','d3d_transform_add_rotation_z',
|
||||
'd3d_transform_add_rotation_axis','d3d_transform_stack_clear','d3d_transform_stack_empty',
|
||||
'd3d_transform_stack_push','d3d_transform_stack_pop','d3d_transform_stack_top',
|
||||
'd3d_transform_stack_discard',
|
||||
'd3d_set_fog',
|
||||
'd3d_set_lighting','d3d_set_shading','d3d_light_define_direction','d3d_light_define_point',
|
||||
'd3d_light_enable','d3d_vertex_normal','d3d_vertex_normal_color','d3d_vertex_normal_texture',
|
||||
'd3d_vertex_normal_texture_color',
|
||||
'd3d_model_create','d3d_model_destroy','d3d_model_clear','d3d_model_save','d3d_model_load',
|
||||
'd3d_model_draw','d3d_model_primitive_begin','d3d_model_vertex','d3d_model_vertex_color',
|
||||
'd3d_model_vertex_texture','d3d_model_vertex_texture_color','d3d_model_vertex_normal',
|
||||
'd3d_model_vertex_normal_color','d3d_model_vertex_normal_texture',
|
||||
'd3d_model_vertex_normal_texture_color','d3d_model_primitive_end','d3d_model_block',
|
||||
'd3d_model_cylinder','d3d_model_cone','d3d_model_ellipsoid','d3d_model_wall','d3d_model_floor'
|
||||
),
|
||||
// constants
|
||||
4 => array(
|
||||
'true', 'false', 'pi',
|
||||
'ev_destroy','ev_step','ev_alarm','ev_keyboard','ev_mouse','ev_collision','ev_other','ev_draw',
|
||||
'ev_keypress','ev_keyrelease','ev_left_button','ev_right_button','ev_middle_button',
|
||||
'ev_no_button','ev_left_press','ev_right_press','ev_middle_press','ev_left_release',
|
||||
'ev_right_release','ev_middle_release','ev_mouse_enter','ev_mouse_leave','ev_mouse_wheel_up',
|
||||
'ev_mouse_wheel_down','ev_global_left_button','ev_global_right_button','ev_global_middle_button',
|
||||
'ev_global_left_press','ev_global_right_press','ev_global_middle_press','ev_global_left_release',
|
||||
'ev_global_right_release','ev_global_middle_release','ev_joystick1_left','ev_joystick1_right',
|
||||
'ev_joystick1_up','ev_joystick1_down','ev_joystick1_button1','ev_joystick1_button2',
|
||||
'ev_joystick1_button3','ev_joystick1_button4','ev_joystick1_button5','ev_joystick1_button6',
|
||||
'ev_joystick1_button7','ev_joystick1_button8','ev_joystick2_left','ev_joystick2_right',
|
||||
'ev_joystick2_up','ev_joystick2_down','ev_joystick2_button1','ev_joystick2_button2',
|
||||
'ev_joystick2_button3','ev_joystick2_button4','ev_joystick2_button5','ev_joystick2_button6',
|
||||
'ev_joystick2_button7','ev_joystick2_button8',
|
||||
'ev_outside','ev_boundary','ev_game_start','ev_game_end','ev_room_start','ev_room_end',
|
||||
'ev_no_more_lives','ev_no_more_health','ev_animation_end','ev_end_of_path','ev_user0','ev_user1',
|
||||
'ev_user2','ev_user3','ev_user4','ev_user5','ev_user6','ev_user7','ev_user8','ev_user9',
|
||||
'ev_user10','ev_user11','ev_user12','ev_user13','ev_user14','ev_user15','ev_step_normal',
|
||||
'ev_step_begin','ev_step_end',
|
||||
'vk_nokey','vk_anykey','vk_left','vk_right','vk_up','vk_down','vk_enter','vk_escape','vk_space',
|
||||
'vk_shift','vk_control','vk_alt','vk_backspace','vk_tab','vk_home','vk_end','vk_delete',
|
||||
'vk_insert','vk_pageup','vk_pagedown','vk_pause','vk_printscreen',
|
||||
'vk_f1','vk_f2','vk_f3','vk_f4','vk_f5','vk_f6','vk_f7','vk_f8','vk_f9','vk_f10','vk_f11','vk_f12',
|
||||
'vk_numpad0','vk_numpad1','vk_numpad2','vk_numpad3','vk_numpad4','vk_numpad5','vk_numpad6',
|
||||
'vk_numpad7','vk_numpad8','vk_numpad9', 'vk_multiply','vk_divide','vk_add','vk_subtract',
|
||||
'vk_decimal','vk_lshift','vk_lcontrol','vk_lalt','vk_rshift','vk_rcontrol','vk_ralt',
|
||||
'c_aqua','c_black','c_blue','c_dkgray','c_fuchsia','c_gray','c_green','c_lime','c_ltgray',
|
||||
'c_maroon','c_navy','c_olive','c_purple','c_red','c_silver','c_teal','c_white','c_yellow',
|
||||
'fa_left', 'fa_center','fa_right','fa_top','fa_middle','fa_bottom',
|
||||
'pr_pointlist','pr_linelist','pr_linestrip','pr_trianglelist','pr_trianglestrip',
|
||||
'pr_trianglefan',
|
||||
'cr_none','cr_arrow','cr_cross','cr_beam','cr_size_nesw','cr_size_ns','cr_size_nwse',
|
||||
'cr_size_we','cr_uparrow','cr_hourglass','cr_drag','cr_nodrop','cr_hsplit','cr_vsplit',
|
||||
'cr_multidrag','cr_sqlwait','cr_no','cr_appstart','cr_help','cr_handpoint','cr_size_all',
|
||||
'se_chorus','se_echo','se_flanger','se_gargle','se_reverb','se_compressor','se_equalizer',
|
||||
'fa_readonly','fa_hidden','fa_sysfile','fa_volumeid','fa_directory','fa_archive',
|
||||
'pt_shape_pixel','pt_shape_disk','pt_shape_square','pt_shape_line','pt_shape_star',
|
||||
'pt_shape_circle','pt_shape_ring','pt_shape_sphere','pt_shape_flare','pt_shape_spark',
|
||||
'pt_shape_explosion','pt_shape_cloud','pt_shape_smoke','pt_shape_snow',
|
||||
'ps_shape_rectangle','ps_shape_ellipse ','ps_shape_diamond','ps_shape_line',
|
||||
'ps_distr_linear','ps_distr_gaussian','ps_force_constant','ps_force_linear','ps_force_quadratic',
|
||||
'ps_deflect_horizontal', 'ps_deflect_vertical',
|
||||
'ps_change_motion','ps_change_shape','ps_change_all'
|
||||
),
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '{', '}', '[', ']',
|
||||
'&&', '||', '^^', '&', '|', '^',
|
||||
'<', '<=', '==', '!=', '>', '>=', '=',
|
||||
'<<', '>>',
|
||||
'+=', '-=', '*=', '/=',
|
||||
'+', '-', '*', '/',
|
||||
'!', '~', ',', ';'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'font-weight: bold; color: #000000;',
|
||||
2 => 'font-weight: bold; color: #000000;',
|
||||
3 => 'color: navy;',
|
||||
4 => 'color: #663300;',
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'font-style: italic; color: green;',
|
||||
'MULTI' => 'font-style: italic; color: green;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000000;' //'color: #66cc66;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #202020;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #66cc66; font-weight: bold;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => ''
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
|
@ -1,248 +0,0 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* sass.php
|
||||
* -------
|
||||
* Author: Javier Eguiluz (javier.eguiluz@gmail.com)
|
||||
* Release Version: 1.0.8.12
|
||||
* Date Started: 2014/05/10
|
||||
*
|
||||
* SASS language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2014/05/10 (1.0.0)
|
||||
* - First Release
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Sass',
|
||||
'COMMENT_SINGLE' => array(1 => '//'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"', "'"),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_FLT_SCI_ZERO,
|
||||
'KEYWORDS' => array(
|
||||
// properties
|
||||
1 => array(
|
||||
'azimuth', 'background-attachment', 'background-color',
|
||||
'background-image', 'background-position', 'background-repeat',
|
||||
'background', 'border-bottom-color', 'border-radius',
|
||||
'border-top-left-radius', 'border-top-right-radius',
|
||||
'border-bottom-right-radius', 'border-bottom-left-radius',
|
||||
'border-bottom-style', 'border-bottom-width', 'border-left-color',
|
||||
'border-left-style', 'border-left-width', 'border-right',
|
||||
'border-right-color', 'border-right-style', 'border-right-width',
|
||||
'border-top-color', 'border-top-style',
|
||||
'border-top-width','border-bottom', 'border-collapse',
|
||||
'border-left', 'border-width', 'border-color', 'border-spacing',
|
||||
'border-style', 'border-top', 'border', 'box-shadow', 'caption-side', 'clear',
|
||||
'clip', 'color', 'content', 'counter-increment', 'counter-reset',
|
||||
'cue-after', 'cue-before', 'cue', 'cursor', 'direction', 'display',
|
||||
'elevation', 'empty-cells', 'float', 'font-family', 'font-size',
|
||||
'font-size-adjust', 'font-stretch', 'font-style', 'font-variant',
|
||||
'font-weight', 'font', 'line-height', 'letter-spacing',
|
||||
'list-style', 'list-style-image', 'list-style-position',
|
||||
'list-style-type', 'margin-bottom', 'margin-left', 'margin-right',
|
||||
'margin-top', 'margin', 'marker-offset', 'marks', 'max-height',
|
||||
'max-width', 'min-height', 'min-width', 'orphans', 'outline',
|
||||
'outline-color', 'outline-style', 'outline-width', 'overflow',
|
||||
'padding-bottom', 'padding-left', 'padding-right', 'padding-top',
|
||||
'padding', 'page', 'page-break-after', 'page-break-before',
|
||||
'page-break-inside', 'pause-after', 'pause-before', 'pause',
|
||||
'pitch', 'pitch-range', 'play-during', 'position', 'quotes',
|
||||
'richness', 'right', 'size', 'speak-header', 'speak-numeral',
|
||||
'speak-punctuation', 'speak', 'speech-rate', 'stress',
|
||||
'table-layout', 'text-align', 'text-decoration', 'text-indent',
|
||||
'text-shadow', 'text-transform', 'top', 'unicode-bidi',
|
||||
'vertical-align', 'visibility', 'voice-family', 'volume',
|
||||
'white-space', 'widows', 'width', 'word-spacing', 'z-index',
|
||||
'bottom', 'left', 'height',
|
||||
// media queries
|
||||
'screen', 'orientation', 'min-device-width', 'max-device-width',
|
||||
),
|
||||
// reserved words for values
|
||||
2 => array(
|
||||
// colors
|
||||
'aqua', 'black', 'blue', 'fuchsia', 'gray', 'green', 'lime',
|
||||
'maroon', 'navy', 'olive', 'orange', 'purple', 'red', 'silver',
|
||||
'teal', 'white', 'yellow',
|
||||
// media queries
|
||||
'landscape', 'portrait',
|
||||
// other
|
||||
'above', 'absolute', 'always', 'armenian', 'aural', 'auto',
|
||||
'avoid', 'baseline', 'behind', 'below', 'bidi-override', 'blink',
|
||||
'block', 'bold', 'bolder', 'both', 'capitalize', 'center-left',
|
||||
'center-right', 'center', 'circle', 'cjk-ideographic',
|
||||
'close-quote', 'collapse', 'condensed', 'continuous', 'crop',
|
||||
'crosshair', 'cross', 'cursive', 'dashed', 'decimal-leading-zero',
|
||||
'decimal', 'default', 'digits', 'disc', 'dotted', 'double',
|
||||
'e-resize', 'embed', 'extra-condensed', 'extra-expanded',
|
||||
'expanded', 'fantasy', 'far-left', 'far-right', 'faster', 'fast',
|
||||
'fixed', 'georgian', 'groove', 'hebrew', 'help', 'hidden',
|
||||
'hide', 'higher', 'high', 'hiragana-iroha', 'hiragana', 'icon',
|
||||
'inherit', 'inline-table', 'inline', 'inline-block', 'inset', 'inside',
|
||||
'invert', 'italic', 'justify', 'katakana-iroha', 'katakana', 'landscape',
|
||||
'larger', 'large', 'left-side', 'leftwards', 'level', 'lighter',
|
||||
'line-through', 'list-item', 'loud', 'lower-alpha', 'lower-greek',
|
||||
'lower-roman', 'lowercase', 'ltr', 'lower', 'low',
|
||||
'medium', 'message-box', 'middle', 'mix', 'monospace', 'n-resize',
|
||||
'narrower', 'ne-resize', 'no-close-quote',
|
||||
'no-open-quote', 'no-repeat', 'none', 'normal', 'nowrap',
|
||||
'nw-resize', 'oblique', 'once', 'open-quote', 'outset',
|
||||
'outside', 'overline', 'pointer', 'portrait', 'px',
|
||||
'relative', 'repeat-x', 'repeat-y', 'repeat', 'rgb',
|
||||
'ridge', 'right-side', 'rightwards', 's-resize', 'sans-serif',
|
||||
'scroll', 'se-resize', 'semi-condensed', 'semi-expanded',
|
||||
'separate', 'serif', 'show', 'silent', 'slow', 'slower',
|
||||
'small-caps', 'small-caption', 'smaller', 'soft', 'solid',
|
||||
'spell-out', 'square', 'static', 'status-bar', 'super',
|
||||
'sw-resize', 'table-caption', 'table-cell', 'table-column',
|
||||
'table-column-group', 'table-footer-group', 'table-header-group',
|
||||
'table-row', 'table-row-group', 'text', 'text-bottom',
|
||||
'text-top', 'thick', 'thin', 'transparent', 'ultra-condensed',
|
||||
'ultra-expanded', 'underline', 'upper-alpha', 'upper-latin',
|
||||
'upper-roman', 'uppercase', 'url', 'visible', 'w-resize', 'wait',
|
||||
'wider', 'x-fast', 'x-high', 'x-large', 'x-loud', 'x-low',
|
||||
'x-small', 'x-soft', 'xx-large', 'xx-small', 'yellow', 'yes'
|
||||
),
|
||||
// directives
|
||||
3 => array(
|
||||
'@at-root', '@charset', '@content', '@debug', '@each', '@else', '@elseif',
|
||||
'@else if', '@extend', '@font-face', '@for', '@function', '@if',
|
||||
'@import', '@include', '@media', '@mixin', '@namespace', '@page',
|
||||
'@return', '@warn', '@while',
|
||||
),
|
||||
// built-in Sass functions
|
||||
4 => array(
|
||||
'rgb', 'rgba', 'red', 'green', 'blue', 'mix',
|
||||
'hsl', 'hsla', 'hue', 'saturation', 'lightness', 'adjust-hue',
|
||||
'lighten', 'darken', 'saturate', 'desaturate', 'grayscale',
|
||||
'complement', 'invert',
|
||||
'alpha', 'rgba', 'opacify', 'transparentize',
|
||||
'adjust-color', 'scale-color', 'change-color', 'ie-hex-str',
|
||||
'unquote', 'quote', 'str-length', 'str-insert', 'str-index',
|
||||
'str-slice', 'to-upper-case', 'to-lower-case',
|
||||
'percentage', 'round', 'ceil', 'floor', 'abs', 'min', 'max', 'random',
|
||||
'length', 'nth', 'join', 'append', 'zip', 'index', 'list-separator',
|
||||
'map-get', 'map-merge', 'map-remove', 'map-keys', 'map-values',
|
||||
'map-has-key', 'keywords',
|
||||
'feature-exists', 'variable-exists', 'global-variable-exists',
|
||||
'function-exists', 'mixin-exists', 'inspect', 'type-of', 'unit',
|
||||
'unitless', 'comparable', 'call',
|
||||
'if', 'unique-id',
|
||||
),
|
||||
// reserved words
|
||||
5 => array(
|
||||
'!important', '!default', '!optional', 'true', 'false', 'with',
|
||||
'without', 'null', 'from', 'through', 'to', 'in', 'and', 'or',
|
||||
'only', 'not',
|
||||
),
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '{', '}', ':', ';',
|
||||
'>', '+', '*', ',', '^', '=',
|
||||
'&', '~', '!', '%', '?', '...',
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
5 => false,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #000000; font-weight: bold;',
|
||||
2 => 'color: #993333;',
|
||||
3 => 'color: #990000;',
|
||||
4 => 'color: #000000; font-weight: bold;',
|
||||
5 => 'color: #009900;',
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #006600; font-style: italic;',
|
||||
'MULTI' => 'color: #006600; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #00AA00;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #00AA00;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #cc00cc;',
|
||||
1 => 'color: #6666ff;',
|
||||
2 => 'color: #3333ff;',
|
||||
3 => 'color: #933;',
|
||||
4 => 'color: #ff6633;',
|
||||
5 => 'color: #0066ff;',
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => '',
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
// Variables
|
||||
0 => "[$][a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*",
|
||||
// Hexadecimal colors
|
||||
1 => "\#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})",
|
||||
// CSS Pseudo classes
|
||||
// note: & is needed for > (i.e. > )
|
||||
2 => "(?<!\\\\):(?!\d)[a-zA-Z0-9\-]+\b(?:\s*(?=[\{\.#a-zA-Z,:+*&](.|\n)|<\|))",
|
||||
// Measurements
|
||||
3 => "[+\-]?(\d+|(\d*\.\d+))(em|ex|pt|px|cm|in|%)",
|
||||
// Interpolation
|
||||
4 => "(\#\{.*\})",
|
||||
// Browser prefixed properties
|
||||
5 => "(\-(moz|ms|o|webkit)\-[a-z\-]*)",
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 2,
|
||||
);
|
|
@ -1,374 +0,0 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* tsql.php
|
||||
* --------
|
||||
* Author: Duncan Lock (dunc@dflock.co.uk)
|
||||
* Copyright: (c) 2006 Duncan Lock (http://dflock.co.uk/), Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.11
|
||||
* Date Started: 2005/11/22
|
||||
*
|
||||
* T-SQL language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2004/01/23 (1.0.0)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2006/01/23)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'T-SQL',
|
||||
'COMMENT_SINGLE' => array(1 => '--'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
// Datatypes
|
||||
'bigint', 'tinyint', 'money',
|
||||
'smallmoney', 'datetime', 'smalldatetime',
|
||||
'text', 'nvarchar', 'ntext', 'varbinary', 'image',
|
||||
'sql_variant', 'uniqueidentifier',
|
||||
|
||||
// Keywords
|
||||
'ABSOLUTE', 'ACTION', 'ADD', 'ADMIN', 'AFTER', 'AGGREGATE', 'ALIAS', 'ALLOCATE', 'ALTER', 'ARE', 'ARRAY', 'AS',
|
||||
'ASC', 'ASSERTION', 'AT', 'AUTHORIZATION', 'BACKUP', 'BEFORE', 'BEGIN', 'BINARY', 'BIT', 'BLOB', 'BOOLEAN', 'BOTH', 'BREADTH',
|
||||
'BREAK', 'BROWSE', 'BULK', 'BY', 'CALL', 'CASCADE', 'CASCADED', 'CASE', 'CAST', 'CATALOG', 'CATCH', 'CHAR', 'CHARACTER', 'CHECK', 'CHECKPOINT',
|
||||
'CLASS', 'CLOB', 'CLOSE', 'CLUSTERED', 'COALESCE', 'COLLATE', 'COLLATION', 'COLUMN', 'COMMIT', 'COMPLETION', 'COMPUTE', 'CONNECT',
|
||||
'CONNECTION', 'CONSTRAINT', 'CONSTRAINTS', 'CONSTRUCTOR', 'CONTAINS', 'CONTAINSTABLE', 'CONTINUE', 'CONVERT', 'CORRESPONDING', 'CREATE',
|
||||
'CUBE', 'CURRENT', 'CURRENT_DATE', 'CURRENT_PATH', 'CURRENT_ROLE', 'CURRENT_TIME', 'CURRENT_TIMESTAMP', 'CURRENT_USER',
|
||||
'CURSOR', 'CYCLE', 'DATA', 'DATABASE', 'DATE', 'DAY', 'DBCC', 'DEALLOCATE', 'DEC', 'DECIMAL', 'DECLARE', 'DEFAULT', 'DEFERRABLE',
|
||||
'DEFERRED', 'DELETE', 'DENY', 'DEPTH', 'DEREF', 'DESC', 'DESCRIBE', 'DESCRIPTOR', 'DESTROY', 'DESTRUCTOR', 'DETERMINISTIC',
|
||||
'DIAGNOSTICS', 'DICTIONARY', 'DISCONNECT', 'DISK', 'DISTINCT', 'DISTRIBUTED', 'DOMAIN', 'DOUBLE', 'DROP', 'DUMMY', 'DUMP', 'DYNAMIC',
|
||||
'EACH', 'ELSE', 'END', 'END-EXEC', 'EQUALS', 'ERRLVL', 'ESCAPE', 'EVERY', 'EXCEPT', 'EXCEPTION', 'EXEC', 'EXECUTE', 'EXIT',
|
||||
'EXTERNAL', 'FALSE', 'FETCH', 'FILE', 'FILLFACTOR', 'FIRST', 'FLOAT', 'FOR', 'FOREIGN', 'FOUND', 'FREE', 'FREETEXT', 'FREETEXTTABLE',
|
||||
'FROM', 'FULL', 'FUNCTION', 'GENERAL', 'GET', 'GLOBAL', 'GOTO', 'GRANT', 'GROUP', 'GROUPING', 'HAVING', 'HOLDLOCK', 'HOST', 'HOUR',
|
||||
'IDENTITY', 'IDENTITY_INSERT', 'IDENTITYCOL', 'IF', 'IGNORE', 'IMMEDIATE', 'INDEX', 'INDICATOR', 'INITIALIZE', 'INITIALLY',
|
||||
'INNER', 'INOUT', 'INPUT', 'INSERT', 'INT', 'INTEGER', 'INTERSECT', 'INTERVAL', 'INTO', 'IS', 'ISOLATION', 'ITERATE', 'KEY',
|
||||
'KILL', 'LANGUAGE', 'LARGE', 'LAST', 'LATERAL', 'LEADING', 'LEFT', 'LESS', 'LEVEL', 'LIMIT', 'LINENO', 'LOAD', 'LOCAL',
|
||||
'LOCALTIME', 'LOCALTIMESTAMP', 'LOCATOR', 'MAP', 'MATCH', 'MINUTE', 'MODIFIES', 'MODIFY', 'MODULE', 'MONTH', 'NAMES', 'NATIONAL',
|
||||
'NATURAL', 'NCHAR', 'NCLOB', 'NEW', 'NEXT', 'NO', 'NOCHECK', 'NONCLUSTERED', 'NONE', 'NULLIF', 'NUMERIC', 'OBJECT', 'OF',
|
||||
'OFF', 'OFFSETS', 'OLD', 'ON', 'ONLY', 'OPEN', 'OPENDATASOURCE', 'OPENQUERY', 'OPENROWSET', 'OPENXML', 'OPERATION', 'OPTION',
|
||||
'ORDER', 'ORDINALITY', 'OUT', 'OUTPUT', 'OVER', 'PAD', 'PARAMETER', 'PARAMETERS', 'PARTIAL', 'PATH', 'PERCENT', 'PLAN',
|
||||
'POSTFIX', 'PRECISION', 'PREFIX', 'PREORDER', 'PREPARE', 'PRESERVE', 'PRIMARY', 'PRINT', 'PRIOR', 'PRIVILEGES', 'PROC', 'PROCEDURE',
|
||||
'PUBLIC', 'RAISERROR', 'READ', 'READS', 'READTEXT', 'REAL', 'RECONFIGURE', 'RECURSIVE', 'REF', 'REFERENCES', 'REFERENCING', 'RELATIVE',
|
||||
'REPLICATION', 'RESTORE', 'RESTRICT', 'RESULT', 'RETURN', 'RETURNS', 'REVOKE', 'RIGHT', 'ROLE', 'ROLLBACK', 'ROLLUP', 'ROUTINE', 'ROW',
|
||||
'ROWGUIDCOL', 'ROWS', 'RULE', 'SAVE', 'SAVEPOINT', 'SCHEMA', 'SCOPE', 'SCROLL', 'SEARCH', 'SECOND', 'SECTION', 'SELECT',
|
||||
'SEQUENCE', 'SESSION', 'SESSION_USER', 'SET', 'SETS', 'SETUSER', 'SHUTDOWN', 'SIZE', 'SMALLINT', 'SPACE', 'SPECIFIC',
|
||||
'SPECIFICTYPE', 'SQL', 'SQLEXCEPTION', 'SQLSTATE', 'SQLWARNING', 'START', 'STATE', 'STATEMENT', 'STATIC', 'STATISTICS', 'STRUCTURE',
|
||||
'SYSTEM_USER', 'TABLE', 'TEMPORARY', 'TERMINATE', 'TEXTSIZE', 'THAN', 'THEN', 'TIME', 'TIMESTAMP', 'TIMEZONE_HOUR', 'TIMEZONE_MINUTE',
|
||||
'TO', 'TOP', 'TRAILING', 'TRAN', 'TRANSACTION', 'TRANSLATION', 'TREAT', 'TRIGGER', 'TRUE', 'TRUNCATE', 'TRY', 'TSEQUAL', 'UNDER', 'UNION',
|
||||
'UNIQUE', 'UNKNOWN', 'UNNEST', 'UPDATE', 'UPDATETEXT', 'USAGE', 'USE', 'USER', 'USING', 'VALUE', 'VALUES', 'VARCHAR', 'VARIABLE',
|
||||
'VARYING', 'VIEW', 'WAITFOR', 'WHEN', 'WHENEVER', 'WHERE', 'WHILE', 'WITH', 'WITHOUT', 'WORK', 'WRITE', 'WRITETEXT', 'YEAR', 'ZONE',
|
||||
'UNCOMMITTED', 'NOCOUNT',
|
||||
),
|
||||
2 => array(
|
||||
/*
|
||||
Built-in functions
|
||||
Highlighted in pink.
|
||||
*/
|
||||
|
||||
//Configuration Functions
|
||||
'@@DATEFIRST','@@OPTIONS','@@DBTS','@@REMSERVER','@@LANGID','@@SERVERNAME',
|
||||
'@@LANGUAGE','@@SERVICENAME','@@LOCK_TIMEOUT','@@SPID','@@MAX_CONNECTIONS',
|
||||
'@@TEXTSIZE','@@MAX_PRECISION','@@VERSION','@@NESTLEVEL',
|
||||
|
||||
//Cursor Functions
|
||||
'@@CURSOR_ROWS','@@FETCH_STATUS',
|
||||
|
||||
//Date and Time Functions
|
||||
'DATEADD','DATEDIFF','DATENAME','DATEPART','GETDATE','GETUTCDATE',
|
||||
|
||||
//Mathematical Functions
|
||||
'ABS','DEGREES','RAND','ACOS','EXP','ROUND','ASIN','FLOOR','SIGN',
|
||||
'ATAN','LOG','SIN','ATN2','LOG10','SQUARE','CEILING','PI','SQRT','COS',
|
||||
'POWER','TAN','COT','RADIANS',
|
||||
|
||||
//Meta Data Functions
|
||||
'COL_LENGTH','COL_NAME','FULLTEXTCATALOGPROPERTY',
|
||||
'COLUMNPROPERTY','FULLTEXTSERVICEPROPERTY','DATABASEPROPERTY','INDEX_COL',
|
||||
'DATABASEPROPERTYEX','INDEXKEY_PROPERTY','DB_ID','INDEXPROPERTY','DB_NAME',
|
||||
'OBJECT_ID','FILE_ID','OBJECT_NAME','FILE_NAME','OBJECTPROPERTY','FILEGROUP_ID',
|
||||
'@@PROCID','FILEGROUP_NAME','SQL_VARIANT_PROPERTY','FILEGROUPPROPERTY',
|
||||
'TYPEPROPERTY','FILEPROPERTY',
|
||||
|
||||
//Security Functions
|
||||
'IS_SRVROLEMEMBER','SUSER_SID','SUSER_SNAME','USER_ID',
|
||||
'HAS_DBACCESS','IS_MEMBER',
|
||||
|
||||
//String Functions
|
||||
'ASCII','SOUNDEX','PATINDEX','CHARINDEX','REPLACE','STR',
|
||||
'DIFFERENCE','QUOTENAME','STUFF','REPLICATE','SUBSTRING','LEN',
|
||||
'REVERSE','UNICODE','LOWER','UPPER','LTRIM','RTRIM',
|
||||
|
||||
//System Functions
|
||||
'APP_NAME','COLLATIONPROPERTY','@@ERROR','FORMATMESSAGE',
|
||||
'GETANSINULL','HOST_ID','HOST_NAME','IDENT_CURRENT','IDENT_INCR',
|
||||
'IDENT_SEED','@@IDENTITY','ISDATE','ISNUMERIC','PARSENAME','PERMISSIONS',
|
||||
'@@ROWCOUNT','ROWCOUNT_BIG','SCOPE_IDENTITY','SERVERPROPERTY','SESSIONPROPERTY',
|
||||
'STATS_DATE','@@TRANCOUNT','USER_NAME',
|
||||
|
||||
//System Statistical Functions
|
||||
'@@CONNECTIONS','@@PACK_RECEIVED','@@CPU_BUSY','@@PACK_SENT',
|
||||
'@@TIMETICKS','@@IDLE','@@TOTAL_ERRORS','@@IO_BUSY',
|
||||
'@@TOTAL_READ','@@PACKET_ERRORS','@@TOTAL_WRITE',
|
||||
|
||||
//Text and Image Functions
|
||||
'TEXTPTR','TEXTVALID',
|
||||
|
||||
//Aggregate functions
|
||||
'AVG', 'MAX', 'BINARY_CHECKSUM', 'MIN', 'CHECKSUM', 'SUM', 'CHECKSUM_AGG',
|
||||
'STDEV', 'COUNT', 'STDEVP', 'COUNT_BIG', 'VAR', 'VARP'
|
||||
),
|
||||
3 => array(
|
||||
/*
|
||||
System stored procedures
|
||||
Higlighted dark brown
|
||||
*/
|
||||
|
||||
//Active Directory Procedures
|
||||
'sp_ActiveDirectory_Obj', 'sp_ActiveDirectory_SCP',
|
||||
|
||||
//Catalog Procedures
|
||||
'sp_column_privileges', 'sp_special_columns', 'sp_columns', 'sp_sproc_columns',
|
||||
'sp_databases', 'sp_statistics', 'sp_fkeys', 'sp_stored_procedures', 'sp_pkeys',
|
||||
'sp_table_privileges', 'sp_server_info', 'sp_tables',
|
||||
|
||||
//Cursor Procedures
|
||||
'sp_cursor_list', 'sp_describe_cursor_columns', 'sp_describe_cursor', 'sp_describe_cursor_tables',
|
||||
|
||||
//Database Maintenance Plan Procedures
|
||||
'sp_add_maintenance_plan', 'sp_delete_maintenance_plan_db', 'sp_add_maintenance_plan_db',
|
||||
'sp_delete_maintenance_plan_job', 'sp_add_maintenance_plan_job', 'sp_help_maintenance_plan',
|
||||
'sp_delete_maintenance_plan',
|
||||
|
||||
//Distributed Queries Procedures
|
||||
'sp_addlinkedserver', 'sp_indexes', 'sp_addlinkedsrvlogin', 'sp_linkedservers', 'sp_catalogs',
|
||||
'sp_primarykeys', 'sp_column_privileges_ex', 'sp_columns_ex',
|
||||
'sp_table_privileges_ex', 'sp_tables_ex', 'sp_foreignkeys',
|
||||
|
||||
//Full-Text Search Procedures
|
||||
'sp_fulltext_catalog', 'sp_help_fulltext_catalogs_cursor', 'sp_fulltext_column',
|
||||
'sp_help_fulltext_columns', 'sp_fulltext_database', 'sp_help_fulltext_columns_cursor',
|
||||
'sp_fulltext_service', 'sp_help_fulltext_tables', 'sp_fulltext_table',
|
||||
'sp_help_fulltext_tables_cursor', 'sp_help_fulltext_catalogs',
|
||||
|
||||
//Log Shipping Procedures
|
||||
'sp_add_log_shipping_database', 'sp_delete_log_shipping_database', 'sp_add_log_shipping_plan',
|
||||
'sp_delete_log_shipping_plan', 'sp_add_log_shipping_plan_database',
|
||||
'sp_delete_log_shipping_plan_database', 'sp_add_log_shipping_primary',
|
||||
'sp_delete_log_shipping_primary', 'sp_add_log_shipping_secondary',
|
||||
'sp_delete_log_shipping_secondary', 'sp_can_tlog_be_applied', 'sp_get_log_shipping_monitor_info',
|
||||
'sp_change_monitor_role', 'sp_remove_log_shipping_monitor', 'sp_change_primary_role',
|
||||
'sp_resolve_logins', 'sp_change_secondary_role', 'sp_update_log_shipping_monitor_info',
|
||||
'sp_create_log_shipping_monitor_account', 'sp_update_log_shipping_plan',
|
||||
'sp_define_log_shipping_monitor', 'sp_update_log_shipping_plan_database',
|
||||
|
||||
//OLE Automation Extended Stored Procedures
|
||||
'sp_OACreate', 'sp_OAMethod', 'sp_OADestroy', 'sp_OASetProperty', 'sp_OAGetErrorInfo',
|
||||
'sp_OAStop', 'sp_OAGetProperty',
|
||||
|
||||
//Replication Procedures
|
||||
'sp_add_agent_parameter', 'sp_enableagentoffload', 'sp_add_agent_profile',
|
||||
'sp_enumcustomresolvers', 'sp_addarticle', 'sp_enumdsn', 'sp_adddistpublisher',
|
||||
'sp_enumfullsubscribers', 'sp_adddistributiondb', 'sp_expired_subscription_cleanup',
|
||||
'sp_adddistributor', 'sp_generatefilters', 'sp_addmergealternatepublisher',
|
||||
'sp_getagentoffloadinfo', 'sp_addmergearticle', 'sp_getmergedeletetype', 'sp_addmergefilter',
|
||||
'sp_get_distributor', 'sp_addmergepublication', 'sp_getqueuedrows', 'sp_addmergepullsubscription',
|
||||
'sp_getsubscriptiondtspackagename', 'sp_addmergepullsubscription_agent', 'sp_grant_publication_access',
|
||||
'sp_addmergesubscription', 'sp_help_agent_default', 'sp_addpublication', 'sp_help_agent_parameter',
|
||||
'sp_addpublication_snapshot', 'sp_help_agent_profile', 'sp_addpublisher70', 'sp_helparticle',
|
||||
'sp_addpullsubscription', 'sp_helparticlecolumns', 'sp_addpullsubscription_agent', 'sp_helparticledts',
|
||||
'sp_addscriptexec', 'sp_helpdistpublisher', 'sp_addsubscriber', 'sp_helpdistributiondb',
|
||||
'sp_addsubscriber_schedule', 'sp_helpdistributor', 'sp_addsubscription', 'sp_helpmergealternatepublisher',
|
||||
'sp_addsynctriggers', 'sp_helpmergearticle', 'sp_addtabletocontents', 'sp_helpmergearticlecolumn',
|
||||
'sp_adjustpublisheridentityrange', 'sp_helpmergearticleconflicts', 'sp_article_validation',
|
||||
'sp_helpmergeconflictrows', 'sp_articlecolumn', 'sp_helpmergedeleteconflictrows', 'sp_articlefilter',
|
||||
'sp_helpmergefilter', 'sp_articlesynctranprocs', 'sp_helpmergepublication', 'sp_articleview',
|
||||
'sp_helpmergepullsubscription', 'sp_attachsubscription', 'sp_helpmergesubscription', 'sp_browsesnapshotfolder',
|
||||
'sp_helppublication', 'sp_browsemergesnapshotfolder', 'sp_help_publication_access', 'sp_browsereplcmds',
|
||||
'sp_helppullsubscription', 'sp_change_agent_parameter', 'sp_helpreplfailovermode', 'sp_change_agent_profile',
|
||||
'sp_helpreplicationdboption', 'sp_changearticle', 'sp_helpreplicationoption', 'sp_changedistpublisher',
|
||||
'sp_helpsubscriberinfo', 'sp_changedistributiondb', 'sp_helpsubscription', 'sp_changedistributor_password',
|
||||
'sp_ivindexhasnullcols', 'sp_changedistributor_property', 'sp_helpsubscription_properties', 'sp_changemergearticle',
|
||||
'sp_link_publication', 'sp_changemergefilter', 'sp_marksubscriptionvalidation', 'sp_changemergepublication',
|
||||
'sp_mergearticlecolumn', 'sp_changemergepullsubscription', 'sp_mergecleanupmetadata', 'sp_changemergesubscription',
|
||||
'sp_mergedummyupdate', 'sp_changepublication', 'sp_mergesubscription_cleanup', 'sp_changesubscriber',
|
||||
'sp_publication_validation', 'sp_changesubscriber_schedule', 'sp_refreshsubscriptions', 'sp_changesubscriptiondtsinfo',
|
||||
'sp_reinitmergepullsubscription', 'sp_changesubstatus', 'sp_reinitmergesubscription', 'sp_change_subscription_properties',
|
||||
'sp_reinitpullsubscription', 'sp_check_for_sync_trigger', 'sp_reinitsubscription', 'sp_copymergesnapshot',
|
||||
'sp_removedbreplication', 'sp_copysnapshot', 'sp_repladdcolumn', 'sp_copysubscription', 'sp_replcmds',
|
||||
'sp_deletemergeconflictrow', 'sp_replcounters', 'sp_disableagentoffload', 'sp_repldone', 'sp_drop_agent_parameter',
|
||||
'sp_repldropcolumn', 'sp_drop_agent_profile', 'sp_replflush', 'sp_droparticle', 'sp_replicationdboption',
|
||||
'sp_dropanonymouseagent', 'sp_replication_agent_checkup', 'sp_dropdistpublisher', 'sp_replqueuemonitor',
|
||||
'sp_dropdistributiondb', 'sp_replsetoriginator', 'sp_dropmergealternatepublisher', 'sp_replshowcmds',
|
||||
'sp_dropdistributor', 'sp_repltrans', 'sp_dropmergearticle', 'sp_restoredbreplication', 'sp_dropmergefilter',
|
||||
'sp_revoke_publication_access', 'sp_scriptsubconflicttable', 'sp_dropmergepublication', 'sp_script_synctran_commands',
|
||||
'sp_dropmergepullsubscription', 'sp_setreplfailovermode', 'sp_showrowreplicainfo', 'sp_dropmergesubscription',
|
||||
'sp_subscription_cleanup', 'sp_droppublication', 'sp_table_validation', 'sp_droppullsubscription',
|
||||
'sp_update_agent_profile', 'sp_dropsubscriber', 'sp_validatemergepublication', 'sp_dropsubscription',
|
||||
'sp_validatemergesubscription', 'sp_dsninfo', 'sp_vupgrade_replication', 'sp_dumpparamcmd',
|
||||
|
||||
//Security Procedures
|
||||
'sp_addalias', 'sp_droprolemember', 'sp_addapprole', 'sp_dropserver', 'sp_addgroup', 'sp_dropsrvrolemember',
|
||||
'sp_dropuser', 'sp_addlogin', 'sp_grantdbaccess', 'sp_addremotelogin',
|
||||
'sp_grantlogin', 'sp_addrole', 'sp_helpdbfixedrole', 'sp_addrolemember', 'sp_helpgroup',
|
||||
'sp_addserver', 'sp_helplinkedsrvlogin', 'sp_addsrvrolemember', 'sp_helplogins', 'sp_adduser',
|
||||
'sp_helpntgroup', 'sp_approlepassword', 'sp_helpremotelogin', 'sp_changedbowner', 'sp_helprole',
|
||||
'sp_changegroup', 'sp_helprolemember', 'sp_changeobjectowner', 'sp_helprotect', 'sp_change_users_login',
|
||||
'sp_helpsrvrole', 'sp_dbfixedrolepermission', 'sp_helpsrvrolemember', 'sp_defaultdb', 'sp_helpuser',
|
||||
'sp_defaultlanguage', 'sp_MShasdbaccess', 'sp_denylogin', 'sp_password', 'sp_dropalias', 'sp_remoteoption',
|
||||
'sp_dropapprole', 'sp_revokedbaccess', 'sp_dropgroup', 'sp_revokelogin', 'sp_droplinkedsrvlogin',
|
||||
'sp_setapprole', 'sp_droplogin', 'sp_srvrolepermission', 'sp_dropremotelogin', 'sp_validatelogins', 'sp_droprole',
|
||||
|
||||
//SQL Mail Procedures
|
||||
'sp_processmail', 'xp_sendmail', 'xp_deletemail', 'xp_startmail', 'xp_findnextmsg', 'xp_stopmail', 'xp_readmail',
|
||||
|
||||
//SQL Profiler Procedures
|
||||
'sp_trace_create', 'sp_trace_setfilter', 'sp_trace_generateevent', 'sp_trace_setstatus', 'sp_trace_setevent',
|
||||
|
||||
//SQL Server Agent Procedures
|
||||
'sp_add_alert', 'sp_help_jobhistory', 'sp_add_category', 'sp_help_jobschedule', 'sp_add_job',
|
||||
'sp_help_jobserver', 'sp_add_jobschedule', 'sp_help_jobstep', 'sp_add_jobserver', 'sp_help_notification',
|
||||
'sp_add_jobstep', 'sp_help_operator', 'sp_add_notification', 'sp_help_targetserver',
|
||||
'sp_add_operator', 'sp_help_targetservergroup', 'sp_add_targetservergroup', 'sp_helptask',
|
||||
'sp_add_targetsvrgrp_member', 'sp_manage_jobs_by_login', 'sp_addtask', 'sp_msx_defect',
|
||||
'sp_apply_job_to_targets', 'sp_msx_enlist', 'sp_delete_alert', 'sp_post_msx_operation',
|
||||
'sp_delete_category', 'sp_purgehistory', 'sp_delete_job', 'sp_purge_jobhistory', 'sp_delete_jobschedule',
|
||||
'sp_reassigntask', 'sp_delete_jobserver', 'sp_remove_job_from_targets', 'sp_delete_jobstep',
|
||||
'sp_resync_targetserver', 'sp_delete_notification', 'sp_start_job', 'sp_delete_operator',
|
||||
'sp_stop_job', 'sp_delete_targetserver', 'sp_update_alert', 'sp_delete_targetservergroup',
|
||||
'sp_update_category', 'sp_delete_targetsvrgrp_member', 'sp_update_job', 'sp_droptask',
|
||||
'sp_update_jobschedule', 'sp_help_alert', 'sp_update_jobstep', 'sp_help_category',
|
||||
'sp_update_notification', 'sp_help_downloadlist', 'sp_update_operator', 'sp_helphistory',
|
||||
'sp_update_targetservergroup', 'sp_help_job', 'sp_updatetask', 'xp_sqlagent_proxy_account',
|
||||
|
||||
//System Procedures
|
||||
'sp_add_data_file_recover_suspect_db', 'sp_helpconstraint', 'sp_addextendedproc',
|
||||
'sp_helpdb', 'sp_addextendedproperty', 'sp_helpdevice', 'sp_add_log_file_recover_suspect_db',
|
||||
'sp_helpextendedproc', 'sp_addmessage', 'sp_helpfile', 'sp_addtype', 'sp_helpfilegroup',
|
||||
'sp_addumpdevice', 'sp_helpindex', 'sp_altermessage', 'sp_helplanguage', 'sp_autostats',
|
||||
'sp_helpserver', 'sp_attach_db', 'sp_helpsort', 'sp_attach_single_file_db', 'sp_helpstats',
|
||||
'sp_bindefault', 'sp_helptext', 'sp_bindrule', 'sp_helptrigger', 'sp_bindsession',
|
||||
'sp_indexoption', 'sp_certify_removable', 'sp_invalidate_textptr', 'sp_configure',
|
||||
'sp_lock', 'sp_create_removable', 'sp_monitor', 'sp_createstats', 'sp_procoption',
|
||||
'sp_cycle_errorlog', 'sp_recompile', 'sp_datatype_info', 'sp_refreshview', 'sp_dbcmptlevel',
|
||||
'sp_releaseapplock', 'sp_dboption', 'sp_rename', 'sp_dbremove', 'sp_renamedb',
|
||||
'sp_delete_backuphistory', 'sp_resetstatus', 'sp_depends', 'sp_serveroption', 'sp_detach_db',
|
||||
'sp_setnetname', 'sp_dropdevice', 'sp_settriggerorder', 'sp_dropextendedproc', 'sp_spaceused',
|
||||
'sp_dropextendedproperty', 'sp_tableoption', 'sp_dropmessage', 'sp_unbindefault', 'sp_droptype',
|
||||
'sp_unbindrule', 'sp_executesql', 'sp_updateextendedproperty', 'sp_getapplock', 'sp_updatestats',
|
||||
'sp_getbindtoken', 'sp_validname', 'sp_help', 'sp_who',
|
||||
|
||||
//Web Assistant Procedures
|
||||
'sp_dropwebtask', 'sp_makewebtask', 'sp_enumcodepages', 'sp_runwebtask',
|
||||
|
||||
//XML Procedures
|
||||
'sp_xml_preparedocument', 'sp_xml_removedocument',
|
||||
|
||||
//General Extended Procedures
|
||||
'xp_cmdshellxp_logininfo', 'xp_enumgroups', 'xp_msver', 'xp_findnextmsgxp_revokelogin',
|
||||
'xp_grantlogin', 'xp_sprintf', 'xp_logevent', 'xp_sqlmaint', 'xp_loginconfig', 'xp_sscanf',
|
||||
|
||||
//API System Stored Procedures
|
||||
'sp_cursor', 'sp_cursorclose', 'sp_cursorexecute', 'sp_cursorfetch', 'sp_cursoropen',
|
||||
'sp_cursoroption', 'sp_cursorprepare', 'sp_cursorunprepare', 'sp_execute', 'sp_prepare', 'sp_unprepare',
|
||||
|
||||
//Misc
|
||||
'sp_createorphan', 'sp_droporphans', 'sp_reset_connection', 'sp_sdidebug'
|
||||
),
|
||||
4 => array(
|
||||
//Function/sp's higlighted brown.
|
||||
'fn_helpcollations', 'fn_listextendedproperty ', 'fn_servershareddrives',
|
||||
'fn_trace_geteventinfo', 'fn_trace_getfilterinfo', 'fn_trace_getinfo',
|
||||
'fn_trace_gettable', 'fn_virtualfilestats','fn_listextendedproperty',
|
||||
),
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'!', '!=', '%', '&', '&&', '(', ')', '*', '+', '-', '/', '<', '<<', '<=',
|
||||
'<=>', '<>', '=', '>', '>=', '>>', '^', 'ALL', 'AND', 'ANY', 'BETWEEN', 'CROSS',
|
||||
'EXISTS', 'IN', 'JOIN', 'LIKE', 'NOT', 'NULL', 'OR', 'OUTER', 'SOME', '|', '||', '~'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #0000FF;',
|
||||
2 => 'color: #FF00FF;',
|
||||
3 => 'color: #AF0000;',
|
||||
4 => 'color: #AF0000;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #008080;',
|
||||
'MULTI' => 'color: #008080;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #808080;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #FF0000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #000;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #202020;',
|
||||
2 => 'color: #202020;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #808080;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => ''
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
|
@ -1,165 +0,0 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* xojo.php
|
||||
* --------
|
||||
* Author: Dr Garry Pettet (contact@garrypettet.com)
|
||||
* Copyright: (c) 2014 Dr Garry Pettet (http://garrypettet.com)
|
||||
* Release Version: 1.0.0
|
||||
* Date Started: 2014/10/19
|
||||
*
|
||||
* Xojo language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2014/10/19 (1.0.8.12)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2014/10/19)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Xojo',
|
||||
'COMMENT_SINGLE' => array(1 => "'", 2 => '//', 3 => 'rem'),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'NUMBERS' => array(
|
||||
1 => GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE, // integers
|
||||
2 => GESHI_NUMBER_FLT_NONSCI // floating point numbers
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
//Keywords
|
||||
1 => array(
|
||||
'AddHandler', 'AddressOf', 'Aggregates', 'And', 'Array', 'As', 'Assigns', 'Attributes',
|
||||
'Break', 'ByRef', 'ByVal', 'Call', 'Case', 'Catch', 'Class', 'Const', 'Continue',
|
||||
'CType', 'Declare', 'Delegate', 'Dim', 'Do', 'DownTo', 'Each', 'Else', 'Elseif', 'End',
|
||||
'Enum', 'Event', 'Exception', 'Exit', 'Extends', 'False', 'Finally', 'For',
|
||||
'Function', 'Global', 'GoTo', 'Handles', 'If', 'Implements', 'In', 'Inherits',
|
||||
'Inline68K', 'Interface', 'Is', 'IsA', 'Lib', 'Loop', 'Me', 'Mod', 'Module',
|
||||
'Namespace', 'New', 'Next', 'Nil', 'Not', 'Object', 'Of', 'Optional', 'Or',
|
||||
'ParamArray', 'Private', 'Property', 'Protected', 'Public', 'Raise',
|
||||
'RaiseEvent', 'Rect', 'Redim', 'RemoveHandler', 'Return', 'Select', 'Self', 'Shared',
|
||||
'Soft', 'Static', 'Step', 'Sub', 'Super', 'Then', 'To', 'True', 'Try',
|
||||
'Until', 'Using', 'Wend', 'While', 'With', 'WeakAddressOf', 'Xor'
|
||||
),
|
||||
//Data Types
|
||||
2 => array(
|
||||
'Boolean', 'CFStringRef', 'CString', 'Currency', 'Double', 'Int8', 'Int16', 'Int32',
|
||||
'Int64', 'Integer', 'OSType', 'PString', 'Ptr', 'Short', 'Single', 'String',
|
||||
'Structure', 'UInt8', 'UInt16', 'UInt32', 'UInt64', 'UShort', 'WindowPtr',
|
||||
'WString', 'XMLNodeType'
|
||||
),
|
||||
//Compiler Directives
|
||||
3 => array(
|
||||
'#Bad', '#Else', '#Endif', '#If', '#Pragma', '#Tag'
|
||||
),
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'+', '-', '*', '=', '/', '>', '<', '^', '(', ')', '.'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #0000FF;', // keywords
|
||||
2 => 'color: #0000FF;', // primitive data types
|
||||
3 => 'color: #0000FF;', // compiler commands
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #7F0000;',
|
||||
'MULTI' => 'color: #7F0000;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #008080;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000000;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #6500FE;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
1 => 'color: #326598;', // integers
|
||||
2 => 'color: #006532;', // floating point numbers
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #000000;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #000000;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
1 => 'color: #326598;', // &h hex numbers
|
||||
2 => 'color: #326598;', // &b hex numbers
|
||||
3 => 'color: #326598;', // &o hex numbers
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => 'http://docs.xojo.com/index.php/{FNAMEU}',
|
||||
2 => 'http://docs.xojo.com/index.php/{FNAMEU}',
|
||||
3 => ''
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 =>'.'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
1 => array( // &h numbers
|
||||
// search for &h, then any number of letters a-f or numbers 0-9
|
||||
GESHI_SEARCH => '(&h[0-9a-fA-F]*\b)',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
2 => array( // &b numbers
|
||||
// search for &b, then any number of 0-1 digits
|
||||
GESHI_SEARCH => '(&b[0-1]*\b)',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
3 => array( // &o octal numbers
|
||||
// search for &o, then any number of 0-7 digits
|
||||
GESHI_SEARCH => '(&o[0-7]*\b)',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
)
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
; http://editorconfig.org/
|
||||
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
[vendor]
|
||||
; Use editor default (possible autodetection).
|
||||
indent_style =
|
||||
indent_size =
|
||||
end_of_line =
|
||||
trim_trailing_whitespace =
|
||||
insert_final_newline =
|
|
@ -0,0 +1,3 @@
|
|||
dist
|
||||
build.properties
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
|
||||
BUGS - list of known bugs in GeSHi
|
||||
Version 1.0.8
|
||||
|
||||
- Number highlighting is quite poor [possibly better now]
|
||||
- I'm not happy with URLS - there still could be extra bugs, and it's rather unflexible
|
||||
(see TODO for a possible fix)
|
||||
- "Important" sections for some reason seem to have their spans added after every
|
||||
newline up until the next lexic, instead of stopping at the <END GeSHi> part. In fact,
|
||||
context sensitiveness is quite poor...
|
||||
- Using the extra line number highlighting feature without actually using line numbers
|
||||
will result in malformed XHTML (not sure about this one though...)
|
||||
- Slow!!! Especially for source with lots of strings in it. GeSHi will work acceptably
|
||||
for sourcecode under 5K (for simple language files like SQL, a 100K file can be
|
||||
highlighted in just 6 seconds), but above about 25K things get a little slow... If
|
||||
you're using this as part of some larger software, you may want to think about
|
||||
making some sort of "cache" effect to speed things up and reduce server load.
|
||||
- The result is built by string replacement instead of by building another string based
|
||||
on the source, that would be much safer. The focus of releases beyond 1.0.7 will be on
|
||||
changing this behaviour, which may well fix some of the other bugs mentioned above.
|
||||
- As of 1.0.7.1, dots (.) are allowed before keywords. This may change highlighting of some
|
||||
things slightly, if you notice anything odd about the highlighting then please report
|
||||
it to me.
|
||||
- Perl/Javascript /.../ regex syntax is only supported basically and there's no
|
||||
guarantee it is working all the time.
|
||||
- The <pre> header output is not XHTML compliant. Please use the <div> header instead.
|
||||
|
||||
Send any bug reports to BenBE@omorphia.de, or submit them via the bug tracker at
|
||||
sourceforge (http://sourceforge.net/tracker/?group_id=114997&atid=670231)
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,339 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
|
@ -0,0 +1,36 @@
|
|||
GeSHi - Generic Syntax Highlighter
|
||||
==================================
|
||||
### Version 1.0.9.0
|
||||
|
||||
Author: [Benny Baumann](http://blog.benny-baumann.de/), [Nigel McNie](http://nigel.mcnie.name/)
|
||||
Email: <BenBE@geshi.org>, <nigel@geshi.org>
|
||||
GeSHi Website: <http://qbnz.com/highlighter>
|
||||
|
||||
GeSHi is a generic syntax highlighter, written in PHP. You simply
|
||||
input the source code you wish to highlight with the language you
|
||||
wish to use, and the output will be a file syntax highlighted to
|
||||
XHTML standards.
|
||||
|
||||
Documentation
|
||||
-------------
|
||||
For more information on how to use GeSHi, please consult the
|
||||
documentation. If you got this readme from a GeSHi package, then
|
||||
the documentation is available in the [docs](https://github.com/GeSHi/geshi-1.0/tree/master/docs)
|
||||
directory. Documentation is also available [online](http://qbnz.com/highlighter/documentation.php).
|
||||
|
||||
If you think you've found a bug in GeSHi, contact me with a bug
|
||||
report at <BenBE@geshi.org>, submit to the [bug tracker at GitHub](https://github.com/GeSHi/geshi-1.0/issues).
|
||||
Be aware that minor highlighting errors may well just be incorrect
|
||||
language files, but if you do find something major please contact me.
|
||||
|
||||
And if you're using GeSHi as a plugin/mod for some other software,
|
||||
please tell me about it! It's worth a link to you, and I can give
|
||||
you specialist help if you need it.
|
||||
|
||||
License
|
||||
-------
|
||||
GeSHi is free software, released under the GNU GPL. Please see the
|
||||
[LICENSE](https://github.com/GeSHi/geshi-1.0/blob/master/LICENSE)
|
||||
file for more information. If you do modify this program, please tell
|
||||
me about it! Perhaps you've made a good improvement that I can learn
|
||||
from :)
|
|
@ -0,0 +1,284 @@
|
|||
|
||||
THANKS - List of credits for GeSHi
|
||||
|
||||
I owe these people/groups my thanks for help with GeSHi. Thanks, guys!
|
||||
|
||||
- Amit Gupta - Thanks for all that constructive criticism - it's
|
||||
a great help for making GeSHi even better. And
|
||||
thanks for the Wordpress plugin! (Anyone who is
|
||||
interested in the plugin can visit:
|
||||
http://blog.igeek.info/still-fresh/category/wp-plugins/igsyntax-hiliter/)
|
||||
- Andreas Gohr - Thanks for language files and for using GeSHi for DokuWiki
|
||||
(http://www.splitbrain.org/dokuwiki/wiki:dokuwiki). And thanks
|
||||
for all your criticisms and for that stylesheet-maker code :).
|
||||
Also, thanks for the UTF-8 patch.
|
||||
- Andreas von Oettingen - Thanks for those great ideas! :)
|
||||
- bbspliff - Thanks for pointing out that bug (pity I already
|
||||
found it though ;))
|
||||
- Benny Baumann - Thanks for your innumerable suggestions for improvements, and your
|
||||
work on Delphi support :)
|
||||
- Ben Keen - Thanks for the language files and pointing out some
|
||||
ideas for future releases. Lookin' forward to seeing that
|
||||
software soon! ;)
|
||||
- Brian Cheesman - Thanks for using GeSHi in phpCvsView, and for the suggestion about
|
||||
extension => language lookup
|
||||
- Christian Weiske - Thanks for the inspiration for creating advanced regexp
|
||||
highlighting :D
|
||||
- Cliff Stanford - Thanks for the hardquote support for C# and Perl (can be used elsewhere
|
||||
I'm sure)
|
||||
- David Gartner - Thanks for using GeSHi in net2ftp, and for the idea about a load_from_file
|
||||
method
|
||||
- forum.qbasicnews.com - Thanks for putting up with the crappy versions
|
||||
that I "forced" on you guys before ;)
|
||||
- Gizmore - Providing some patch to query supported languages
|
||||
- Jack Lloyd - Thanks for pointing out the versioning and method CSS bugs, and giving
|
||||
me the extra C/C++ keywords
|
||||
- Karim Scheik - Thanks for the php5 support report
|
||||
- Marcin Gryszkalis - Thanks for those links for C, Java, Perl
|
||||
- M. Uli Kusterer - Thanks for the idea about URL case conversion
|
||||
- Milian Wolff - Thanks for the loads of optimizations
|
||||
- Thanks for helping with implementation of various features
|
||||
- Roberto Armellin - Thanks for pointing out some flaws in GeSHi (that will be solved
|
||||
in 1.2 guaranteed)
|
||||
- Sterling Christensen - Thanks for those links to language specs
|
||||
- Tux - Thanks for making all those language files :D
|
||||
- zbw - Thanks for proving a phpBB port was possible
|
||||
|
||||
PEOPE WHO MADE LANGUAGE FILES
|
||||
|
||||
- ABAP Andres Picazo
|
||||
- Actionscript Steffen Krause (french translation by NikO)
|
||||
- ActionScript 3 Jordi Boggiano (version for ActionScript3 and MXML)
|
||||
- Ada Tux
|
||||
- AIMMS Guido Diepen
|
||||
- Algol68 Neville Dempsey
|
||||
- Apache Tux
|
||||
- Applescript Stephan Klimek
|
||||
- Apt sources.list Milian Wolff
|
||||
- ARM Marat Dukhan
|
||||
- ASM Tux, Dennis Yurichev, Marat Dukhan
|
||||
- ASP Amit Gupta
|
||||
- Asymptote Manuel Yguel
|
||||
- Autoconf Mihai Vasilian
|
||||
- AutoHotkey Naveen Garg
|
||||
- AutoIt mastrboy
|
||||
- AviSynth Ryan Jones
|
||||
- Awk George Pollard
|
||||
- BASCOM AVR Michal Goralczyk
|
||||
- Bash Andreas Gohr
|
||||
- Basic4GL Matthew Webb
|
||||
- Biblatex Maïeul Rouquette
|
||||
- BibTeX Quinn Taylor
|
||||
- BlitzBasic Padraig O`Connel
|
||||
- BNF Rowan Rodrik van der Molen
|
||||
- Boo Marcus Griep
|
||||
- Brainfuck \ Brainfork Benny Baumann
|
||||
- C for Loadrunner Stuart Moncrieff
|
||||
- C for Macs M. Uli Kusterer
|
||||
- C for Windows Benny Baumann
|
||||
- C# Alan Juden
|
||||
- C++ Dennis Bayer, M. Uli Kusterer
|
||||
- C++ (Qt) Iulian M
|
||||
- C++ for Windows Benny Baumann
|
||||
- CADDCL Roberto Rossi
|
||||
- CadLisp Roberto Rossi
|
||||
- CDFG John Horigan
|
||||
- Ceylon Lucas Werkmeister
|
||||
- ChaiScript Jason Turner, Jonathan Turner
|
||||
- Chapel Richard Molitor
|
||||
- CIL Marcus Griep
|
||||
- Clojure Jess Johnson
|
||||
- CMake Daniel Nelson
|
||||
- COBOL Benny Baumann, Edward Hart
|
||||
- CoffeeScript Trevor Burnham
|
||||
- ColdFusion Diego
|
||||
- CSS Nigel McNie, Zéfling, peterdd
|
||||
- Cuesheet Benny Baumann
|
||||
- D Thomas Kuehne
|
||||
- Dart Edward Hart
|
||||
- DCL Petr Hendl
|
||||
- DCPU-16 Benny Baumann
|
||||
- DCS Stelio Passaris
|
||||
- Delphi Járja Norbert, Benny Baumann
|
||||
- Div Gabriel Lorenzo
|
||||
- DOS Alessandro Staltari
|
||||
- E Kevin Reid
|
||||
- ECMAScript Michel Mariani
|
||||
- Eiffel Zoran Simic
|
||||
- eMail \ mbox Benny Baumann
|
||||
- EPC Thorsten Muehlfelder
|
||||
- Erlang Benny Baumann, Dan Forest-Barbier, Uwe Dauernheim
|
||||
- Euphoria Nicholas Koceja
|
||||
- EZT Ramesh Vishveshwar
|
||||
- F# Julien Ortin
|
||||
- Falcon billykater
|
||||
- FO (abas-ERP) Tan-Vinh Nguyen
|
||||
- FormulaOne Juro Bystricky
|
||||
- Fortran Cedric Arrabie
|
||||
- FreeBasic Roberto Rossi
|
||||
- FreeSWITCH James Rose
|
||||
- GADV 4CS Jason Curl
|
||||
- GAMBAS Jesus Guardon
|
||||
- Genie Nicolas Joseph
|
||||
- Gettext Milian Wolff
|
||||
- glSlang Benny Baumann
|
||||
- GML José Jorge Enríquez Rodríguez, Timon Knigge
|
||||
- GNU make Neil Bird
|
||||
- Gnuplot Milian Wolff
|
||||
- Go Markus Jarderot
|
||||
- Groovy Ivan F. Villanueva B.
|
||||
- GwBasic José Gabriel Moya Yangüela
|
||||
- Haskell Dagit
|
||||
- Haxe Andy Li, John Liao
|
||||
- HicEst Georg Petrich
|
||||
- HQ9+ Benny Baumann
|
||||
- HTML5 Robert Lidberg
|
||||
- Icon Matt Oates
|
||||
- Ini Deguix
|
||||
- Inno Thomas Klinger
|
||||
- INTERCAL Benny Baumann
|
||||
- ISPF Panel Ramesh Vishveshwar
|
||||
- J Ric Sherlock
|
||||
- Java 5 Clemens Bruckmann
|
||||
- Javascript Ben Keen
|
||||
- Job Control Language Ramesh Vishveshwar
|
||||
- jQuery Rob Loach
|
||||
- Julia John Lynch
|
||||
- KiXtart Riley McArdle
|
||||
- KLone C Mickael Auger
|
||||
- KLone C++ Mickael Auger
|
||||
- Kotlin Ole Sandum
|
||||
- LaTeX Matthais Pospiech
|
||||
- LDIF Bruno Harbulot
|
||||
- Liberty BASIC Chris Iverson
|
||||
- Lisp Roberto Rossi
|
||||
- LLVM Azriel Fasten
|
||||
- Locomotive Basic Nacho Cabanes
|
||||
- Logtalk Paulo Moura
|
||||
- LOLcode Benny Baumann
|
||||
- LScript Beau McGuigan
|
||||
- LSL2 William Fry
|
||||
- Lua Roberto Rossi
|
||||
- m86k Benny Baumann
|
||||
- MagikSF Sjoerd van Leent
|
||||
- Mathematica Connor Glosser
|
||||
- MapBasic Tomasz Berus
|
||||
- MetaPost Maxime Chupin
|
||||
- Mercury Sebastian Godelet
|
||||
- mIRC Alberto de Areba Sánchez
|
||||
- МК-61 Russkiy
|
||||
- Modula 2 Benjamin Kowarsch
|
||||
- Modula-3 Martin Bishop
|
||||
- Motorola 6502 ASM Warren Willmey
|
||||
- Motorola 68k ASM Warren Willmey
|
||||
- MPASM Bakalex
|
||||
- MXML David Spurr
|
||||
- MySQL Carl Fürstenberg, Marjolein Katsma
|
||||
- Nagios Albéric de Pertat
|
||||
- NewLisp cormullion
|
||||
- nginx Cliff Wells, Deoren Moor, Thomas Joiner
|
||||
- Nimrod Dennis Felsing
|
||||
- NSIS Tux, Deguix
|
||||
- Oberon-2 Mike Mol
|
||||
- Objeck Progr. Lang. Randy Hollines
|
||||
- Objective C M. Uli Kusterer
|
||||
- Ocaml Flaie
|
||||
- Ocaml-brief Flaie
|
||||
- Octave Carnë Draug, Juan Pablo Carbajal
|
||||
- OpenBSD Packet Filter David Berard
|
||||
- OpenOffice.org BASIC Roberto Rossi
|
||||
- Oracle 8 Guy Wicks
|
||||
- Oracle 11i Simon Redhead
|
||||
- Oxygene (Delphi Prism) Carlo Kok
|
||||
- Oz Wolfgang Meyer
|
||||
- ParaSail sttaft
|
||||
- PARI/GP Charles R Greathouse IV
|
||||
- Pascal Tux
|
||||
- PCRE Benny Baumann
|
||||
- Perl Andreas Gohr, Ben Keen
|
||||
- Perl6 Kodi Arfer
|
||||
- Phix Pete Lomax
|
||||
- PIC16xxx assembler Phil Mattison
|
||||
- Pike Rick E.
|
||||
- Pixel Bender Richard Olsson
|
||||
- PL/I Robert Prins
|
||||
- PL/SQL Victor Engmark
|
||||
- PostgreSQL Christophe Chauvet
|
||||
- PostScript Benny Baumann
|
||||
- POV-Ray Carl Fürstenberg
|
||||
- PowerBuilder Doug Porter
|
||||
- PowerShell Frode Aarebrot
|
||||
- ProFTPd Benny Baumann
|
||||
- Progress Marco Aurelio de Pasqual
|
||||
- Prolog Benny Baumann
|
||||
- Property Files Edy Hinzen
|
||||
- ProvideX Jeff Wilder
|
||||
- PureBasic Gustavo Julio Fiorenza
|
||||
- Python Roberto Rossi
|
||||
- Python for S60 Sohan Basak
|
||||
- PyCon Benny Baumann
|
||||
- q/kdb+ Ian Roddis
|
||||
- QML J-P Nurmi
|
||||
- R / S+ Ron Fredericks, Fernando H.F.P. da Rosa
|
||||
- Racket Tim Brown
|
||||
- Rails Moises Deniz
|
||||
- RBScript Deng Wen Gang
|
||||
- Rebol Lecanu Guillaume
|
||||
- Reg SmokingRope
|
||||
- Rexx Jon Wolfers
|
||||
- Robots Christian Lescuyer
|
||||
- RPM Specification File Paul Grinberg
|
||||
- Ruby Amit Gupta, Moises Deniz
|
||||
- Rust Dave Hodder
|
||||
- SAS Galen Johnson
|
||||
- SASS Javier Eguiluz
|
||||
- Scheme Jon Raphaelson
|
||||
- SciLab Christophe David
|
||||
- SCL Leonhard Hösch
|
||||
- SDLBasic Roberto Rossi
|
||||
- Smalltalk Bananeweizen
|
||||
- Smarty Alan Juden
|
||||
- SPARK Phil Thornley
|
||||
- SPARQL Karima Rafes
|
||||
- StandardML eldesh
|
||||
- StoneScript Archimmersion
|
||||
- Swift Ken Woo
|
||||
- SystemVerilog Sean O'Boyle
|
||||
- TCL Reid van Melle
|
||||
- TCL/eggdrop Reid van Melle
|
||||
- TeraTerm Boris Maisuradze
|
||||
- TexGraph Patrick Fradin
|
||||
- Text SmokingRope
|
||||
- thinBasic Eros Olmi
|
||||
- T-SQL Duncan Lock
|
||||
- TypoScript Jan-Philipp Halle
|
||||
- Twig Keyvan Akbary
|
||||
- Unicon Matt Oates
|
||||
- Uno IDL Cedric Bosdonnat
|
||||
- UnrealScript pospi
|
||||
- UPC Viraj Sinha
|
||||
- Urbi Alexandre Morgand
|
||||
- Vala Nicolas Joseph
|
||||
- VB Roberto Rossi
|
||||
- VB.NET Alan Juden
|
||||
- VBScript Rory Prendergast
|
||||
- Vedit Pauli Lindgren
|
||||
- Verilog Günter Dannoritzer, Tony Carrillo
|
||||
- VHDL Alexander 'E-Razor' Krause, Kevin Thibedeau
|
||||
- VIM Script Swaroop C H
|
||||
- Visual FoxPro Roberto Armellin
|
||||
- Visual Prolog Thomas Linder Puls
|
||||
- Whitespace Benny Baumann
|
||||
- Whois \ RPSL format Benny Baumann
|
||||
- Winbatch Craig Storey
|
||||
- Windows Batch FraidZZ
|
||||
- X++ Simon Butcher
|
||||
- XBasic José Gabriel Moya Yangüela
|
||||
- Xojo Garry Pettet
|
||||
- Xorg config Milian Wolff
|
||||
- YAML Josh Ventura
|
||||
- Z80 Assembler Benny Baumann
|
||||
- ZXBasic Jose Rodriguez
|
||||
|
||||
Do you want your name in here? Help me out! Make a language file, or suggest a new
|
||||
feature, or make a plugin for GeSHi for some other software, then tell me about it!
|
|
@ -0,0 +1 @@
|
|||
sfuser=
|
|
@ -0,0 +1,216 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<project name="GeSHi" default="pack" basedir=".">
|
||||
<!--
|
||||
GeSHi - Generic Syntax Highlighter - phing build file.
|
||||
Works for 1.0.x
|
||||
Packs up a new version of geshi, tags it in git and releases it on
|
||||
sourceforge.net
|
||||
-->
|
||||
<property file="build.properties" />
|
||||
|
||||
<property name="version" value="1.0.9.0" />
|
||||
<property name="stability" value="stable" />
|
||||
<property name="zipfile" value="${phing.project.name}-${version}.zip" />
|
||||
<property name="gzfile" value="${phing.project.name}-${version}.tar.gz" />
|
||||
<property name="bz2file" value="${phing.project.name}-${version}.tar.bz2" />
|
||||
<property name="pkgfile" value="geshi-${version}.tgz" />
|
||||
<property name="fileprefix" value="geshi/" />
|
||||
<property name="sfproject" value="GeSHi" />
|
||||
<property name="sffilepath" value="g/ge/geshi/" />
|
||||
|
||||
<property name="releasenotes" value="
|
||||
Version 1.0.9.0
|
||||
" />
|
||||
|
||||
|
||||
<fileset dir="src" id="files">
|
||||
<include name="**"/>
|
||||
<exclude name="**/.gitignore/"/>
|
||||
</fileset>
|
||||
|
||||
<fileset dir="." id="extra">
|
||||
<include name="contrib/**"/>
|
||||
<include name="docs/**"/>
|
||||
</fileset>
|
||||
|
||||
<taskdef name="d51pearpkg2" classname="phing.tasks.ext.d51PearPkg2Task" />
|
||||
|
||||
|
||||
|
||||
<target name="pack" depends=""
|
||||
description="Create zip and tar files for release"
|
||||
>
|
||||
<mkdir dir="dist" />
|
||||
<echo msg="Creating distribution files for ${phing.project.name} ${version}"/>
|
||||
|
||||
<delete file="dist/${zipfile}" failonerror="false"/>
|
||||
<delete file="dist/${gzfile}" failonerror="false"/>
|
||||
<delete file="dist/${bz2file}" failonerror="false"/>
|
||||
|
||||
<zip destfile="dist/${zipfile}" prefix="${fileprefix}">
|
||||
<fileset refid="files" />
|
||||
<fileset refid="extra" />
|
||||
</zip>
|
||||
<tar destfile="dist/${gzfile}" prefix="${fileprefix}" compression="gzip">
|
||||
<fileset refid="files" />
|
||||
<fileset refid="extra" />
|
||||
</tar>
|
||||
<tar destfile="dist/${bz2file}" prefix="${fileprefix}" compression="bzip2">
|
||||
<fileset refid="files" />
|
||||
<fileset refid="extra" />
|
||||
</tar>
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
<target name="pack-pear" depends=""
|
||||
description="Creates the PEAR package"
|
||||
>
|
||||
<mkdir dir="dist/pear" />
|
||||
<delete file="src/package.xml" failonerror="false" />
|
||||
<d51pearpkg2 dir="src" baseinstalldir="/">
|
||||
<name>geshi</name>
|
||||
<summary>Generic syntax highlighter, written in PHP.</summary>
|
||||
<description>
|
||||
GeSHi is a generic syntax highlighter, written in PHP. You simply
|
||||
input the source code you wish to highlight with the language you
|
||||
wish to use, and the output will be a file syntax highlighted to
|
||||
XHTML standards.
|
||||
</description>
|
||||
<channel>pear.geshi.org</channel>
|
||||
|
||||
<lead user="benbe" name="Benny Baumann" email="benbe@geshi.org" />
|
||||
<license>AGPL</license>
|
||||
|
||||
<version release="${version}" api="${version}" />
|
||||
<stability release="${stability}" api="${stability}" />
|
||||
|
||||
<notes>${releasenotes}</notes>
|
||||
|
||||
<dependencies>
|
||||
<php minimum_version="5.3.0" />
|
||||
<pear minimum_version="1.9.0" />
|
||||
</dependencies>
|
||||
|
||||
<!-- map directory (key) to role -->
|
||||
<dirroles key="src">.</dirroles>
|
||||
|
||||
<ignore>**/.gitignore</ignore>
|
||||
<ignore>contrib/**</ignore>
|
||||
<ignore>dist/**</ignore>
|
||||
<ignore>docs/**</ignore>
|
||||
<ignore>*.properties</ignore>
|
||||
<ignore>*.tgz</ignore>
|
||||
</d51pearpkg2>
|
||||
<!-- time to fix the package.xml file since the task does not
|
||||
allow everything we need:
|
||||
- strip the base directory names like src, data and www
|
||||
- remove that dumb baseinstalldir from files
|
||||
- md5sums are generated automatically when packaging
|
||||
-->
|
||||
<!-- yes, we need to generate a 2nd file and move it back -->
|
||||
<copy file="src/package.xml" tofile="src/package2.xml" overwrite="true">
|
||||
<filterchain>
|
||||
<replaceregexp>
|
||||
<!-- remove md5sums -->
|
||||
<regexp
|
||||
pattern="md5sum="[a-z0-9]{32}" "
|
||||
replace=""
|
||||
/>
|
||||
<!-- remove baseinstalldir for files -->
|
||||
<regexp
|
||||
pattern="<file baseinstalldir="/""
|
||||
replace="<file"
|
||||
/>
|
||||
<!-- install-as for different directories -->
|
||||
<regexp
|
||||
pattern="(<file name="data/(.+?)")"
|
||||
replace="\1 install-as="\2""
|
||||
/>
|
||||
<regexp
|
||||
pattern="(<file name="doc/(.+?)")"
|
||||
replace="\1 install-as="\2""
|
||||
/>
|
||||
<regexp
|
||||
pattern="(<file name="tests/(.+?)")"
|
||||
replace="\1 install-as="\2""
|
||||
/>
|
||||
<regexp
|
||||
pattern="(<file name="www/(.+?)")"
|
||||
replace="\1 install-as="phorkie/\2""
|
||||
/>
|
||||
<regexp
|
||||
pattern="(<file name="src/(.+?)")"
|
||||
replace="\1 install-as="\2""
|
||||
/>
|
||||
</replaceregexp>
|
||||
</filterchain>
|
||||
</copy>
|
||||
<move file="src/package2.xml" tofile="src/package.xml" overwrite="true" />
|
||||
|
||||
<!-- package up -->
|
||||
<exec command="pear package" passthru="true" dir="src" />
|
||||
<move file="src/${pkgfile}" todir="${phing.dir}/dist/pear/" />
|
||||
|
||||
<delete file="src/package.xml" failonerror="true" />
|
||||
</target>
|
||||
|
||||
|
||||
|
||||
<target name="release" depends="check,pack,pack-pear,deploy-sf,gittag"
|
||||
description="Release the version on sourceforge"
|
||||
>
|
||||
<!-- meta-target -->
|
||||
</target>
|
||||
|
||||
|
||||
<!--
|
||||
https://sourceforge.net/apps/trac/sourceforge/wiki/Release%20files%20for%20download
|
||||
-->
|
||||
<target name="deploy-sf" depends="check,pack"
|
||||
description="Upload release to sourceforge"
|
||||
>
|
||||
<delete dir="dist/deploy-sf" /><!-- make empty -->
|
||||
<mkdir dir="dist/deploy-sf" />
|
||||
<mkdir dir="dist/deploy-sf/geshi" />
|
||||
<mkdir dir="dist/deploy-sf/geshi/GeSHi ${version}" />
|
||||
<copy todir="dist/deploy-sf/geshi/GeSHi ${version}/">
|
||||
<fileset dir="dist">
|
||||
<include name="${zipfile}" />
|
||||
<include name="${gzfile}" />
|
||||
<include name="${bz2file}" />
|
||||
</fileset>
|
||||
</copy>
|
||||
<!-- test
|
||||
<exec command="rsync -av dist/deploy-sf/ /tmp/test/" escape="false" />
|
||||
-->
|
||||
<exec
|
||||
command="rsync -av -e ssh dist/deploy-sf/ ${sfuser},${sfproject}@frs.sourceforge.net:/home/frs/project/${sffilepath}/${sfproject}/"
|
||||
escape="false" checkreturn="false"
|
||||
/>
|
||||
|
||||
<!-- rsync always returns code 23 on sourceforge releases, so we
|
||||
can't check return values -->
|
||||
</target>
|
||||
|
||||
|
||||
<target name="gittag"
|
||||
description="create the git tag for the current version"
|
||||
>
|
||||
<exec
|
||||
command="git tag v${version}'"
|
||||
escape="false" checkreturn="true"
|
||||
/>
|
||||
</target>
|
||||
|
||||
|
||||
<target name="check"
|
||||
description="Check variables"
|
||||
>
|
||||
<fail unless="version" message="Version not defined!" />
|
||||
<fail unless="sfuser" message="Sourceforge username not defined!" />
|
||||
<fail unless="sfproject" message="Sourceforge project name not defined!" />
|
||||
<fail unless="sffilepath" message="Sourceforge project file path not defined!" />
|
||||
</target>
|
||||
|
||||
</project>
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"name": "geshi/geshi",
|
||||
"description": "Generic Syntax Highlighter",
|
||||
"license": "GPL-2.0+",
|
||||
"homepage": "http://qbnz.com/highlighter/",
|
||||
"authors": [
|
||||
{
|
||||
"name": "Benny Baumann",
|
||||
"email": "BenBE@geshi.org",
|
||||
"homepage": "http://blog.benny-baumann.de/",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"support": {
|
||||
"forum": "https://lists.sourceforge.net/lists/listinfo/geshi-users",
|
||||
"irc": "irc://irc.freenode.org/geshi",
|
||||
"issues": "https://sourceforge.net/p/geshi/feature-requests/"
|
||||
},
|
||||
"autoload": {
|
||||
"classmap": ["src/geshi/", "src/geshi.php"]
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^5.7"
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -4,7 +4,7 @@
|
|||
* ------
|
||||
* Author: Jason Curl (jason.curl@continental-corporation.com)
|
||||
* Copyright: (c) 2009 Jason Curl
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/09/05
|
||||
*
|
||||
* 4CS language file for GeSHi.
|
|
@ -4,7 +4,7 @@
|
|||
* -------
|
||||
* Author: Warren Willmey
|
||||
* Copyright: (c) 2010 Warren Willmey.
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/05/26
|
||||
*
|
||||
* MOS 6502 (more specifically 6510) ACME Cross Assembler 0.93 by Marco Baye language file for GeSHi.
|
||||
|
@ -226,4 +226,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* -------
|
||||
* Author: Warren Willmey
|
||||
* Copyright: (c) 2010 Warren Willmey.
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/06/07
|
||||
*
|
||||
* MOS 6502 (6510) Kick Assembler 3.13 language file for GeSHi.
|
||||
|
@ -237,4 +237,3 @@ $language_data = array (
|
|||
)
|
||||
),
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* -------
|
||||
* Author: Warren Willmey
|
||||
* Copyright: (c) 2010 Warren Willmey.
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/06/02
|
||||
*
|
||||
* MOS 6502 (6510) TASM/64TASS (64TASS being the super set of TASM) language file for GeSHi.
|
||||
|
@ -185,4 +185,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* -------
|
||||
* Author: Warren Willmey
|
||||
* Copyright: (c) 2010 Warren Willmey.
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/06/09
|
||||
*
|
||||
* Motorola 68000 - HiSoft Devpac ST 2 Assembler language file for GeSHi.
|
||||
|
@ -164,4 +164,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* - Sandra Rossi (sandra.rossi@gmail.com)
|
||||
* - Jacob Laursen (jlu@kmd.dk)
|
||||
* Copyright: (c) 2007 Andres Picazo
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/06/04
|
||||
*
|
||||
* ABAP language file for GeSHi.
|
||||
|
@ -1326,15 +1326,15 @@ $language_data = array(
|
|||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #000066; text-transform: uppercase; font-weight: bold; zzz:control;', //control statements
|
||||
2 => 'color: #cc4050; text-transform: uppercase; font-weight: bold; zzz:data;', //data statements
|
||||
3 => 'color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;', //first token of other statements
|
||||
4 => 'color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;', // next tokens of other statements ("keywords")
|
||||
5 => 'color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;',
|
||||
6 => 'color: #000066; text-transform: uppercase; font-weight: bold; zzz:control;',
|
||||
7 => 'color: #000066; text-transform: uppercase; font-weight: bold; zzz:control;',
|
||||
8 => 'color: #005066; text-transform: uppercase; font-weight: bold; zzz:statement;',
|
||||
9 => 'color: #500066; text-transform: uppercase; font-weight: bold; zzz:keyword;'
|
||||
1 => 'color: #000066; font-weight: bold; zzz:control;', //control statements
|
||||
2 => 'color: #cc4050; font-weight: bold; zzz:data;', //data statements
|
||||
3 => 'color: #005066; font-weight: bold; zzz:statement;', //first token of other statements
|
||||
4 => 'color: #500066; font-weight: bold; zzz:keyword;', // next tokens of other statements ("keywords")
|
||||
5 => 'color: #005066; font-weight: bold; zzz:statement;',
|
||||
6 => 'color: #000066; font-weight: bold; zzz:control;',
|
||||
7 => 'color: #000066; font-weight: bold; zzz:control;',
|
||||
8 => 'color: #005066; font-weight: bold; zzz:statement;',
|
||||
9 => 'color: #500066; font-weight: bold; zzz:keyword;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #808080; font-style: italic;',
|
||||
|
@ -1368,9 +1368,9 @@ $language_data = array(
|
|||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => 'http://help.sap.com/abapdocu/en/ABAP{FNAMEU}.htm',
|
||||
2 => 'http://help.sap.com/abapdocu/en/ABAP{FNAMEU}.htm',
|
||||
3 => 'http://help.sap.com/abapdocu/en/ABAP{FNAMEU}.htm',
|
||||
1 => 'http://help.sap.com/abapdocu_740/en/ABAP{FNAMEU}.htm',
|
||||
2 => 'http://help.sap.com/abapdocu_740/en/ABAP{FNAMEU}.htm',
|
||||
3 => 'http://help.sap.com/abapdocu_740/en/ABAP{FNAMEU}.htm',
|
||||
4 => '',
|
||||
5 => '',
|
||||
6 => '',
|
||||
|
@ -1405,4 +1405,3 @@ $language_data = array(
|
|||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* ----------------
|
||||
* Author: Steffen Krause (Steffen.krause@muse.de)
|
||||
* Copyright: (c) 2004 Steffen Krause, Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/06/20
|
||||
*
|
||||
* Actionscript language file for GeSHi.
|
||||
|
@ -193,4 +193,3 @@ $language_data = array (
|
|||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array()
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* ----------------
|
||||
* Author: Jordi Boggiano (j.boggiano@seld.be)
|
||||
* Copyright: (c) 2007 Jordi Boggiano (http://www.seld.be/), Benny Baumann (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2007/11/26
|
||||
*
|
||||
* ActionScript3 language file for GeSHi.
|
||||
|
@ -469,4 +469,3 @@ $language_data = array (
|
|||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array()
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* -------
|
||||
* Author: Tux (tux@inmail.cz)
|
||||
* Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/07/29
|
||||
*
|
||||
* Ada language file for GeSHi.
|
||||
|
@ -94,9 +94,6 @@ $language_data = array (
|
|||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #66cc66;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #7f007f;'
|
||||
),
|
||||
|
@ -131,4 +128,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Guido Diepen (guido.diepen@aimms.com)
|
||||
* Copyright: (c) 2011 Guido Diepen (http://www.aimms.com)
|
||||
* Release Version: 1.0.8.12
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2011/05/05
|
||||
*
|
||||
* AIMMS language file for GeSHi.
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Neville Dempsey (NevilleD.sourceforge@sgr-a.net)
|
||||
* Copyright: (c) 2010 Neville Dempsey (https://sourceforge.net/projects/algol68/files/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/04/24
|
||||
*
|
||||
* ALGOL 68 language file for GeSHi.
|
||||
|
@ -89,14 +89,14 @@ if(!function_exists('geshi_langfile_algol68_vars')) {
|
|||
# for some reason ".0 e - 2" is not recognised, but ".0 e + 2" IS!
|
||||
# work around: remove spaces between sign and digits! Maybe because
|
||||
# of the Unary '-' Operator
|
||||
$sign_="(?:-|\-|[-]|[\-]|\+|)"; # attempts #
|
||||
$sign_="(?:-|\-|[-]|[\-]|\+|)"; # attempts # // FIXME: This should be used or removed. Assignment beneath
|
||||
|
||||
$sign_="(?:-\s*|\+\s*|)"; # n.b. sign is followed by white space #
|
||||
|
||||
$_int=$sign_.$_dec;
|
||||
$il= $_int; # +_9 #
|
||||
|
||||
$GESHI_NUMBER_INT_BASIC='(?:(?<![0-9a-z_\.%])|(?<=\.\.))(?<![\d\.]e[+\-])([1-9]\d*?|0)(?![0-9a-z]|\.(?:[eE][+\-]?)?\d)';
|
||||
//$GESHI_NUMBER_INT_BASIC='(?:(?<![0-9a-z_\.%])|(?<=\.\.))(?<![\d\.]e[+\-])([1-9]\d*?|0)(?![0-9a-z]|\.(?:[eE][+\-]?)?\d)';
|
||||
|
||||
# Define REAL: #
|
||||
$prereal=$pre; $postreal=$post;
|
|
@ -4,7 +4,7 @@
|
|||
* ----------
|
||||
* Author: Tux (tux@inmail.cz)
|
||||
* Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/29/07
|
||||
*
|
||||
* Apache language file for GeSHi.
|
||||
|
@ -479,4 +479,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Stephan Klimek (http://www.initware.org)
|
||||
* Copyright: Stephan Klimek (http://www.initware.org)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2005/07/20
|
||||
*
|
||||
* AppleScript language file for GeSHi.
|
||||
|
@ -153,4 +153,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* ----------
|
||||
* Author: Milian Wolff (mail@milianw.de)
|
||||
* Copyright: (c) 2008 Milian Wolff (http://milianw.de)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2008/06/17
|
||||
*
|
||||
* Apt sources.list language file for GeSHi.
|
||||
|
@ -82,7 +82,7 @@ $language_data = array (
|
|||
'main', 'restricted', 'preview', 'contrib', 'non-free',
|
||||
'commercial', 'universe', 'multiverse'
|
||||
)
|
||||
),
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => "(((http|ftp):\/\/|file:\/)[^\s]+)|(cdrom:\[[^\]]*\][^\s]*)",
|
||||
),
|
||||
|
@ -151,4 +151,3 @@ $language_data = array (
|
|||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* -------
|
||||
* Author: Marat Dukhan (mdukhan3.at.gatech.dot.edu)
|
||||
* Copyright: (c) Marat Dukhan (mdukhan3.at.gatech.dot.edu)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2011/10/06
|
||||
*
|
||||
* ARM Assembler language file for GeSHi.
|
||||
|
@ -3314,4 +3314,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
* 2009-2011 Benny Baumann (http://qbnz.com/highlighter),
|
||||
* 2011 Dennis Yurichev (dennis@conus.info),
|
||||
* 2011 Marat Dukhan (mdukhan3.at.gatech.dot.edu)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/07/27
|
||||
*
|
||||
* x86 Assembler language file for GeSHi.
|
||||
|
@ -599,4 +599,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Amit Gupta (http://blog.igeek.info/)
|
||||
* Copyright: (c) 2004 Amit Gupta (http://blog.igeek.info/), Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/08/13
|
||||
*
|
||||
* ASP language file for GeSHi.
|
||||
|
@ -160,4 +160,3 @@ $language_data = array (
|
|||
3 => true
|
||||
)
|
||||
);
|
||||
|
File diff suppressed because it is too large
Load Diff
|
@ -4,7 +4,7 @@
|
|||
* -----
|
||||
* Author: Mihai Vasilian (grayasm@gmail.com)
|
||||
* Copyright: (c) 2010 Mihai Vasilian
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/01/25
|
||||
*
|
||||
* autoconf language file for GeSHi.
|
||||
|
@ -508,4 +508,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Naveen Garg (naveen.garg@gmail.com)
|
||||
* Copyright: (c) 2009 Naveen Garg and GeSHi
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/06/11
|
||||
*
|
||||
* Autohotkey language file for GeSHi.
|
||||
|
@ -369,4 +369,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
File diff suppressed because it is too large
Load Diff
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Ryan Jones (sciguyryan@gmail.com)
|
||||
* Copyright: (c) 2008 Ryan Jones
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2008/10/08
|
||||
*
|
||||
* AviSynth language file for GeSHi.
|
||||
|
@ -191,4 +191,3 @@ $language_data = array (
|
|||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* -------
|
||||
* Author: George Pollard (porges@porg.es)
|
||||
* Copyright: (c) 2009 George Pollard
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/01/28
|
||||
*
|
||||
* Awk language file for GeSHi.
|
|
@ -4,7 +4,7 @@
|
|||
* ---------------------------------
|
||||
* Author: aquaticus.info
|
||||
* Copyright: (c) 2008 aquaticus.info
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2008/01/09
|
||||
*
|
||||
* BASCOM AVR language file for GeSHi.
|
||||
|
@ -181,4 +181,3 @@ $language_data = array (
|
|||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Andreas Gohr (andi@splitbrain.org)
|
||||
* Copyright: (c) 2004 Andreas Gohr, Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/08/20
|
||||
*
|
||||
* BASH language file for GeSHi.
|
||||
|
@ -169,7 +169,7 @@ $language_data = array (
|
|||
'false', 'fbset', 'fdisk', 'ffmpeg', 'fgconsole','fgrep', 'file',
|
||||
'find', 'flex', 'flex++', 'fmt', 'free', 'ftp', 'funzip', 'fuser',
|
||||
|
||||
'g++', 'gawk', 'gc','gcc', 'gdb', 'getent', 'getkeycodes',
|
||||
'g++', 'gawk', 'gc','gcc', 'gdb', 'gdisk', 'getent', 'getkeycodes',
|
||||
'getopt', 'gettext', 'gettextize', 'gimp', 'gimp-remote',
|
||||
'gimptool', 'gmake', 'gocr', 'grep', 'groups', 'gs', 'gunzip',
|
||||
'gzexe', 'gzip',
|
||||
|
@ -185,7 +185,7 @@ $language_data = array (
|
|||
'git difftool--helper', 'git diff-tree', 'git fast-export',
|
||||
'git fast-import', 'git fetch', 'git fetch-pack',
|
||||
'git filter-branch', 'git fmt-merge-msg', 'git for-each-ref',
|
||||
'git format-patch', 'git fsck', 'git fsck-objects', 'git gc',
|
||||
'git format-patch', 'git fsck', 'git fsck-objects', 'git gc', 'git gui',
|
||||
'git get-tar-commit-id', 'git grep', 'git hash-object', 'git help',
|
||||
'git http-backend', 'git http-fetch', 'git http-push',
|
||||
'git imap-send', 'git index-pack', 'git init', 'git init-db',
|
||||
|
@ -470,4 +470,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* ---------------------------------
|
||||
* Author: Matthew Webb (bmatthew1@blueyonder.co.uk)
|
||||
* Copyright: (c) 2004 Matthew Webb (http://matthew-4gl.wikispaces.com)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2007/09/15
|
||||
*
|
||||
* Basic4GL language file for GeSHi.
|
|
@ -0,0 +1,228 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* batch.php
|
||||
* ------------
|
||||
* Author: FraidZZ ( fraidzz [@] bk.ru )
|
||||
* Copyright: (c) 2015 FraidZZ ( http://vk.com/fraidzz , http://www.cyberforum.ru/members/340557.html )
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2015/03/28
|
||||
*
|
||||
* Windows batch file language file for GeSHi.
|
||||
*
|
||||
*************************************************************************************
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array(
|
||||
'LANG_NAME' => 'Windows Batch file',
|
||||
'COMMENT_SINGLE' => array(),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'COMMENT_REGEXP' => array(
|
||||
100 => '/(?:^|[&|])\\s*(?:rem|::)[^\\n]*/msi',
|
||||
101 => '/[\\/-]\\S*/si',
|
||||
102 => '/^\s*:[^:]\\S*/msi',
|
||||
103 => '/(?:([%!])[^"\'~ ][^"\' ]*\\1|%%?(?:~[dpnxsatz]*)?[^"\'])/si'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
100 => '/(?:([%!])\\S+\\1|%%(?:~[dpnxsatz]*)?[^"\'])/si'
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'echo',
|
||||
'set',
|
||||
'for',
|
||||
'if',
|
||||
'exit',
|
||||
'else',
|
||||
'do',
|
||||
'not',
|
||||
'defined',
|
||||
'exist'
|
||||
),
|
||||
2 => array(
|
||||
"ASSOC",
|
||||
"ATTRIB",
|
||||
"BREAK",
|
||||
"BCDEDIT",
|
||||
"CACLS",
|
||||
"CD",
|
||||
"CHCP",
|
||||
"CHDIR",
|
||||
"CHKDSK",
|
||||
"CHKNTFS",
|
||||
"CLS",
|
||||
"CMD",
|
||||
"COLOR",
|
||||
"COMP",
|
||||
"COMPACT",
|
||||
"CONVERT",
|
||||
"COPY",
|
||||
"DATE",
|
||||
"DEL",
|
||||
"DIR",
|
||||
"DISKCOMP",
|
||||
"DISKCOPY",
|
||||
"DISKPART",
|
||||
"DOSKEY",
|
||||
"DRIVERQUERY",
|
||||
"ECHO",
|
||||
"ENDLOCAL",
|
||||
"ERASE",
|
||||
"EXIT",
|
||||
"FC",
|
||||
"FIND",
|
||||
"FINDSTR",
|
||||
"FOR",
|
||||
"FORMAT",
|
||||
"FSUTIL",
|
||||
"FTYPE",
|
||||
"GPRESULT",
|
||||
"GRAFTABL",
|
||||
"HELP",
|
||||
"ICACLS",
|
||||
"IF",
|
||||
"LABEL",
|
||||
"MD",
|
||||
"MKDIR",
|
||||
"MKLINK",
|
||||
"MODE",
|
||||
"MORE",
|
||||
"MOVE",
|
||||
"OPENFILES",
|
||||
"PATH",
|
||||
"PAUSE",
|
||||
"POPD",
|
||||
"PRINT",
|
||||
"PROMPT",
|
||||
"PUSHD",
|
||||
"RD",
|
||||
"RECOVER",
|
||||
"REN",
|
||||
"RENAME",
|
||||
"REPLACE",
|
||||
"RMDIR",
|
||||
"ROBOCOPY",
|
||||
"SET",
|
||||
"SETLOCAL",
|
||||
"SC",
|
||||
"SCHTASKS",
|
||||
"SHIFT",
|
||||
"SHUTDOWN",
|
||||
"SORT",
|
||||
"START",
|
||||
"SUBST",
|
||||
"SYSTEMINFO",
|
||||
"TASKLIST",
|
||||
"TASKKILL",
|
||||
"TIME",
|
||||
"TITLE",
|
||||
"TREE",
|
||||
"TYPE",
|
||||
"VER",
|
||||
"VERIFY",
|
||||
"VOL",
|
||||
"XCOPY",
|
||||
"WMIC",
|
||||
"CSCRIPT"
|
||||
),
|
||||
3 => array(
|
||||
"enabledelayedexpansion",
|
||||
"enableextensions"
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(',
|
||||
')',
|
||||
'+',
|
||||
'-',
|
||||
'~',
|
||||
'^',
|
||||
'@',
|
||||
'&',
|
||||
'*',
|
||||
'|',
|
||||
'/',
|
||||
'<',
|
||||
'>'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #800080; font-weight: bold;',
|
||||
2 => 'color: #0080FF; font-weight: bold;',
|
||||
3 => 'color: #0000FF; font-weight: bold;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
101 => 'color: #44aa44; font-weight: bold;',
|
||||
100 => 'color: #888888;',
|
||||
102 => 'color: #990000; font-weight: bold;',
|
||||
103 => 'color: #000099; font-weight: bold;',
|
||||
'MULTI' => 'color: #808080; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
100 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #66cc66; font-weight: bold;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;',
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
0 => 'color: #006600;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #44aa44; font-weight: bold;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #990000; font-weight: bold',
|
||||
1 => 'color: #800080; font-weight: bold;'
|
||||
),
|
||||
'SCRIPT' => array()
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(),
|
||||
'REGEXPS' => array(
|
||||
0 => array(
|
||||
GESHI_SEARCH => "((?:goto|call)\\s*)(\\S+)",
|
||||
GESHI_REPLACE => "\\2",
|
||||
GESHI_BEFORE => "\\1",
|
||||
GESHI_MODIFIERS => "si",
|
||||
GESHI_AFTER => ""
|
||||
),
|
||||
1 => "goto|call"
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_MAYBE,
|
||||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array()
|
||||
);
|
|
@ -4,7 +4,7 @@
|
|||
* ----------
|
||||
* Author: Benny Baumann (BenBE@geshi.org)
|
||||
* Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/10/31
|
||||
*
|
||||
* Brainfuck language file for GeSHi.
|
||||
|
@ -111,4 +111,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -0,0 +1,200 @@
|
|||
<?php
|
||||
/********************************************************************************
|
||||
* bibtex.php
|
||||
* -----
|
||||
* Author: Maïeul Rouquette from
|
||||
* Quinn Taylor (quinntaylor@mac.com)
|
||||
* Copyright: (c) 2009 Quinn Taylor (quinntaylor@mac.com), Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/04/29
|
||||
*
|
||||
* BibLaTeX language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* 2015/12/29 (1.0.8.13) Biblatex parser
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/04/29 (1.0.8.4)
|
||||
* - First Release
|
||||
*
|
||||
* TODO
|
||||
* -------------------------
|
||||
* - Add regex for matching and replacing URLs with corresponding hyperlinks
|
||||
* - Add regex for matching more LaTeX commands that may be embedded in BibTeX
|
||||
* (Someone who understands regex better than I should borrow from latex.php)
|
||||
********************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*
|
||||
*******************************************************************************/
|
||||
|
||||
// http://en.wikipedia.org/wiki/BibTeX
|
||||
// http://www.fb10.uni-bremen.de/anglistik/langpro/bibliographies/jacobsen-bibtex.html
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'BibTeX',
|
||||
'OOLANG' => false,
|
||||
'COMMENT_SINGLE' => array(
|
||||
1 => '%%'
|
||||
),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array(),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
0 => array(
|
||||
'@comment','@preamble','@string'
|
||||
),
|
||||
// Standard entry types
|
||||
1 => array(
|
||||
'@article','@book','@booklet','@conference','@inbook',
|
||||
'@incollection','@inproceedings','@manual','@mastersthesis',
|
||||
'@misc','@phdthesis','@proceedings','@techreport','@unpublished'
|
||||
),
|
||||
// Custom entry types
|
||||
2 => array(
|
||||
'@collection','@patent','@webpage'
|
||||
),
|
||||
// Standard entry field names
|
||||
3 => array(
|
||||
'address','annote','author','booktitle','chapter','crossref',
|
||||
'edition','editor','howpublished','institution','journal','key',
|
||||
'month','note','number','organization','pages','publisher','school',
|
||||
'series','title','type','volume','year',
|
||||
),
|
||||
// Custom entry field names
|
||||
4 => array(
|
||||
'abstract','affiliation','chaptername','cited-by','cites',
|
||||
'contents','copyright','date-added','date-modified','doi','eprint',
|
||||
'isbn','issn','keywords','language','lccn','lib-congress',
|
||||
'location','price','rating','read','size','source','url',
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
0 => '',
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => ''
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'{', '}', '#', '=', ','
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
GESHI_COMMENTS => false,
|
||||
),
|
||||
// Define the colors for the groups listed above
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #C02020;', // Standard entry types
|
||||
2 => 'color: #C02020;', // Custom entry types
|
||||
3 => 'color: #C08020;', // Standard entry field names
|
||||
4 => 'color: #C08020;' // Custom entry field names
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #2C922C; font-style: italic;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #2020C0;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #E02020;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
1 => 'color: #2020C0;', // {...}
|
||||
2 => 'color: #C08020;', // BibDesk fields
|
||||
3 => 'color: #800000;', // LaTeX commands
|
||||
4 => 'color: #C08020;', // Custom entry field (biblatex)
|
||||
5 => 'color: #C02020;', // Custom entry types (biblatex)
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000000; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #E02020;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
// {parameters}
|
||||
1 => array(
|
||||
GESHI_SEARCH => "(?<=\\{)(?:\\{(?R)\\}|[^\\{\\}])*(?=\\})",
|
||||
GESHI_REPLACE => '\0',
|
||||
GESHI_MODIFIERS => 's',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
2 => array(
|
||||
GESHI_SEARCH => "\bBdsk-(File|Url)-\d+",
|
||||
GESHI_REPLACE => '\0',
|
||||
GESHI_MODIFIERS => 'Us',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
3 => array(
|
||||
GESHI_SEARCH => "\\\\[A-Za-z0-9]*+",
|
||||
GESHI_REPLACE => '\0',
|
||||
GESHI_MODIFIERS => 'Us',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
4 => array(
|
||||
GESHI_SEARCH => "([A-z]+)\s+=",
|
||||
GESHI_REPLACE => '\0',
|
||||
GESHI_MODIFIERS => 'Us',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
5 => array(
|
||||
GESHI_SEARCH => "@([A-z])+",
|
||||
GESHI_REPLACE => '\0',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'PARSER_CONTROL' => array(
|
||||
'ENABLE_FLAGS' => array(
|
||||
'NUMBERS' => GESHI_NEVER
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
3 => array(
|
||||
'DISALLOWED_AFTER' => '(?=\s*=)'
|
||||
),
|
||||
4 => array(
|
||||
'DISALLOWED_AFTER' => '(?=\s*=)'
|
||||
),
|
||||
)
|
||||
)
|
||||
);
|
|
@ -4,7 +4,7 @@
|
|||
* -----
|
||||
* Author: Quinn Taylor (quinntaylor@mac.com)
|
||||
* Copyright: (c) 2009 Quinn Taylor (quinntaylor@mac.com), Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/04/29
|
||||
*
|
||||
* BibTeX language file for GeSHi.
|
||||
|
@ -179,4 +179,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* --------------
|
||||
* Author: P<EFBFBD>draig O`Connel (info@moonsword.info)
|
||||
* Copyright: (c) 2005 P<EFBFBD>draig O`Connel (http://moonsword.info)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 16.10.2005
|
||||
*
|
||||
* BlitzBasic language file for GeSHi.
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Rowan Rodrik van der Molen (rowan@bigsmoke.us)
|
||||
* Copyright: (c) 2006 Rowan Rodrik van der Molen (http://www.bigsmoke.us/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2006/09/28
|
||||
*
|
||||
* BNF (Backus-Naur form) language file for GeSHi.
|
||||
|
@ -115,4 +115,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Marcus Griep (neoeinstein+GeSHi@gmail.com)
|
||||
* Copyright: (c) 2007 Marcus Griep (http://www.xpdm.us)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2007/09/10
|
||||
*
|
||||
* Boo language file for GeSHi.
|
|
@ -7,7 +7,7 @@
|
|||
* - Jack Lloyd (lloyd@randombit.net)
|
||||
* - Michael Mol (mikemol@gmail.com)
|
||||
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/06/04
|
||||
*
|
||||
* C language file for GeSHi.
|
||||
|
@ -277,4 +277,3 @@ $language_data = array (
|
|||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* ---------------------------------
|
||||
* Author: Stuart Moncrieff (stuart at myloadtest dot com)
|
||||
* Copyright: (c) 2010 Stuart Moncrieff (http://www.myloadtest.com/loadrunner-syntax-highlighter/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010-07-25
|
||||
*
|
||||
* C (for LoadRunner) language file for GeSHi.
|
||||
|
@ -319,4 +319,3 @@ $language_data = array (
|
|||
// Note that if you are using <pre> tags for your code, then the browser chooses how many spaces your tabs will translate to.
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* ---------
|
||||
* Author: M. Uli Kusterer (witness.of.teachtext@gmx.net)
|
||||
* Copyright: (c) 2004 M. Uli Kusterer, Nigel McNie (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/06/04
|
||||
*
|
||||
* C for Macs language file for GeSHi.
|
||||
|
@ -223,4 +223,3 @@ $language_data = array (
|
|||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* - Jack Lloyd (lloyd@randombit.net)
|
||||
* - Michael Mol (mikemol@gmail.com)
|
||||
* Copyright: (c) 2012 Benny Baumann (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2012/08/12
|
||||
*
|
||||
* C (WinAPI) language file for GeSHi.
|
|
@ -4,7 +4,7 @@
|
|||
* ----------
|
||||
* Author: Roberto Rossi (rsoftware@altervista.org)
|
||||
* Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/08/30
|
||||
*
|
||||
* CAD DCL (Dialog Control Language) language file for GeSHi.
|
|
@ -4,7 +4,7 @@
|
|||
* -----------
|
||||
* Author: Roberto Rossi (rsoftware@altervista.org)
|
||||
* Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/blog)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/08/30
|
||||
*
|
||||
* AutoCAD/IntelliCAD Lisp language file for GeSHi.
|
|
@ -0,0 +1,171 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* ceylon.php
|
||||
* ----------
|
||||
* Author: Lucas Werkmeister (mail@lucaswerkmeister.de)
|
||||
* Copyright: (c) 2015 Lucas Werkmeister (http://lucaswerkmeister.de)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2015-01-08
|
||||
*
|
||||
* Ceylon language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
*
|
||||
* TODO (updated 2015-06-19)
|
||||
* ------------------
|
||||
* * Regexes match and break help URLs, so those are commented out for now
|
||||
* * Ceylon supports nested block comments
|
||||
* * The Ceylon compiler correctly parses
|
||||
* "\{FICTITIOUS CHARACTER WITH " IN NAME}"
|
||||
* as a single string literal.
|
||||
* (However, that's not really important
|
||||
* since Unicode character names never contain quotes.)
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Ceylon',
|
||||
'COMMENT_SINGLE' => array(1 => '//', 2 => '#!'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
/*
|
||||
* 1. regular line comments (see COMMENT_SINGLE)
|
||||
* 2. shebang line comments (see COMMENT_SINGLE)
|
||||
* 3. strings (including string templates)
|
||||
*/
|
||||
3 => '/(?:"|``).*?(?:``|")/'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'"),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
/*
|
||||
* 1. lexer keywords (class, else, etc.)
|
||||
* 2. language modifiers (shared, formal, etc.)
|
||||
* 3. language doc modifiers (doc, see, etc.)
|
||||
*/
|
||||
1 => array(
|
||||
'assembly', 'module', 'package', 'import',
|
||||
'alias', 'class', 'interface', 'object', 'given',
|
||||
'value', 'assign', 'void', 'function',
|
||||
'new', 'of', 'extends', 'satisfies', 'abstracts',
|
||||
'in', 'out',
|
||||
'return', 'break', 'continue', 'throw', 'assert',
|
||||
'dynamic',
|
||||
'if', 'else', 'switch', 'case',
|
||||
'for', 'while', 'try', 'catch', 'finally',
|
||||
'then', 'let',
|
||||
'this', 'outer', 'super',
|
||||
'is', 'exists', 'nonempty'
|
||||
),
|
||||
2 => array(
|
||||
'shared', 'abstract', 'formal', 'default', 'actual',
|
||||
'variable', 'late', 'native', 'deprecated',
|
||||
'final', 'sealed', 'annotation', 'small'
|
||||
),
|
||||
3 => array(
|
||||
'doc', 'by', 'license', 'see', 'throws', 'tagged'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
',', ';', '...', '{', '}', '[', ']', '`', '?.', '*.',
|
||||
'?', '->', '=>',
|
||||
'**', '++', '--', '..', ':', '&&', '||',
|
||||
'+=', '-=', '*=', '/=', '%=', '|=', '&=', '~=', '||=', '&&=',
|
||||
'+', '-', '*', '/', '%', '^',
|
||||
'~', '&', '|', '===', '==', '=', '!=', '!',
|
||||
'<=>', '<=', '>=',
|
||||
'<', '>',
|
||||
'.'
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'font-weight:bold;color:#4C4C4C;',
|
||||
2 => 'color:#39C',
|
||||
3 => 'color:#39C'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color:darkgray;',
|
||||
2 => 'color:darkgray;',
|
||||
3 => 'color:blue',
|
||||
'MULTI' => 'color:darkgray;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color:blue;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
1 => 'color:#639;',
|
||||
2 => 'color:#039;',
|
||||
3 => 'color:#906;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(),
|
||||
'BRACKETS' => array(),
|
||||
'NUMBERS' => array(),
|
||||
'METHODS' => array(),
|
||||
'SYMBOLS' => array(),
|
||||
'SCRIPT' => array()
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
/*
|
||||
* 1. qualified lidentifiers
|
||||
* 2. lidentifiers
|
||||
* 3. uidentifiers
|
||||
*
|
||||
* All of these contain various lookahead and -behind to ensure
|
||||
* that we don't match various stuff that GeSHi escapes
|
||||
* (for instance, we see semicolons as <SEMI>).
|
||||
*/
|
||||
1 => array(
|
||||
GESHI_SEARCH => '\\b((\?|\*)?\.[[:space:]]*)([[:lower:]][[:alnum:]]*|\\\\i[[:alnum:]]*)\\b',
|
||||
GESHI_REPLACE => '\\3',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '\\1',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
2 => array(
|
||||
GESHI_SEARCH => '(?<![|<>&![:alnum:]])([[:lower:]][[:alnum:]]*|\\\\i[[:alnum:]]*)(?![>[:alnum:]])',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
3 => array(
|
||||
GESHI_SEARCH => '(?<![|<>&![:alnum:]])([[:upper:]][[:alnum:]]*|\\\\I[[:alnum:]]*)(?![>[:alnum:]])',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
)
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '', 3 => '' // the real URLs are commented out because syntax highlighting breaks them
|
||||
// 2 => 'https://modules.ceylon-lang.org/repo/1/ceylon/language/1.1.0/module-doc/api/index.html#{FNAME}',
|
||||
// 3 => 'https://modules.ceylon-lang.org/repo/1/ceylon/language/1.1.0/module-doc/api/index.html#{FNAME}',
|
||||
),
|
||||
'CASE_SENSITIVE' => array(1 => true, 2 => true, 3 => true),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array()
|
||||
);
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: John Horigan <john@glyphic.com>
|
||||
* Copyright: (c) 2006 John Horigan http://www.ozonehouse.com/john/
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2006/03/11
|
||||
*
|
||||
* CFDG language file for GeSHi.
|
|
@ -4,7 +4,7 @@
|
|||
* -------
|
||||
* Author: Diego
|
||||
* Copyright: (c) 2006 Diego
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2006/02/25
|
||||
*
|
||||
* ColdFusion language file for GeSHi.
|
||||
|
@ -295,4 +295,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* Copyright: (c) 2010 Jason Turner (lefticus@gmail.com),
|
||||
* (c) 2009 Jonathan Turner,
|
||||
* (c) 2004 Ben Keen (ben.keen@gmail.com), Benny Baumann (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/07/03
|
||||
*
|
||||
* ChaiScript language file for GeSHi.
|
||||
|
@ -136,4 +136,3 @@ $language_data = array (
|
|||
1 => true
|
||||
)
|
||||
);
|
||||
|
|
@ -4,14 +4,14 @@
|
|||
* -----
|
||||
* Author: Richard Molitor (richard.molitor@student.kit.edu)
|
||||
* Copyright: (c) 2013 Richard Molitor
|
||||
* Release Version: 1.0.8.12
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2013/06/22
|
||||
*
|
||||
* Chapel language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2013/06/22 (1.0.8.12)
|
||||
* 2013/06/22 (1.0.8.13)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2013/06/22)
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Marcus Griep (neoeinstein+GeSHi@gmail.com)
|
||||
* Copyright: (c) 2007 Marcus Griep (http://www.xpdm.us)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2007/10/24
|
||||
*
|
||||
* CIL (Common Intermediate Language) language file for GeSHi.
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Jess Johnson (jess@grok-code.com)
|
||||
* Copyright: (c) 2009 Jess Johnson (http://grok-code.com)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/09/20
|
||||
*
|
||||
* Clojure language file for GeSHi.
|
||||
|
@ -130,4 +130,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* -------
|
||||
* Author: Daniel Nelson (danieln@eng.utah.edu)
|
||||
* Copyright: (c) 2009 Daniel Nelson
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/04/06
|
||||
*
|
||||
* CMake language file for GeSHi.
|
||||
|
@ -177,4 +177,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* ----------
|
||||
* Author: BenBE (BenBE@omorphia.org)
|
||||
* Copyright: (c) 2007-2008 BenBE (http://www.omorphia.de/)
|
||||
* Release Version: 1.0.8.12
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2007/07/02
|
||||
*
|
||||
* COBOL language file for GeSHi.
|
||||
|
@ -16,13 +16,13 @@
|
|||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2013/11/17 (1.0.8.12)
|
||||
* 2013/11/17 (1.0.8.13)
|
||||
* - Changed compiler directives to be handled like comments.
|
||||
* - Fixed bug where keywords in identifiers were highlighted.
|
||||
* 2013/08/19 (1.0.8.12)
|
||||
* 2013/08/19 (1.0.8.13)
|
||||
* - Added more intrinsic functions, reserved words, and compiler directives
|
||||
* from the (upcoming) standard.
|
||||
* 2013/07/07 (1.0.8.12)
|
||||
* 2013/07/07 (1.0.8.13)
|
||||
* - Added more reserved words, compiler directives and intrinsic functions.
|
||||
* - Added modern comment syntax and corrected the other one.
|
||||
* - Set OOLANG to true and added an object splitter.
|
|
@ -4,7 +4,7 @@
|
|||
* ----------
|
||||
* Author: Trevor Burnham (trevorburnham@gmail.com)
|
||||
* Copyright: (c) 2010 Trevor Burnham (http://iterative.ly)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/06/08
|
||||
*
|
||||
* CoffeeScript language file for GeSHi.
|
||||
|
@ -142,4 +142,3 @@ $language_data = array (
|
|||
0 => true
|
||||
)
|
||||
);
|
||||
|
|
@ -0,0 +1,622 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* cpp.php
|
||||
* -------
|
||||
* Author: Iulian M
|
||||
* Copyright: (c) 2006 Iulian M
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/09/27
|
||||
*
|
||||
* C++ (with Qt extensions) language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/06/28 (1.0.8.4)
|
||||
* - Updated list of Keywords from Qt 4.5
|
||||
*
|
||||
* 2008/05/23 (1.0.7.22)
|
||||
* - Added description of extra language features (SF#1970248)
|
||||
*
|
||||
* TODO
|
||||
* ----
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'C++ (Qt)',
|
||||
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//Multiline-continued single-line comments
|
||||
1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//Multiline-continued preprocessor define
|
||||
2 => '/#(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//C++ 11 string literal extensions
|
||||
3 => '/(?:L|u8?|U)(?=")/',
|
||||
//C++ 11 string literal extensions (raw)
|
||||
4 => '/R"([^()\s\\\\]*)\((?:(?!\)\\1").)*\)\\1"/ms'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
//Simple Single Char Escapes
|
||||
1 => "#\\\\[abfnrtv\\\'\"?\n]#i",
|
||||
//Hexadecimal Char Specs
|
||||
2 => "#\\\\x[\da-fA-F]{2}#",
|
||||
//Hexadecimal Char Specs
|
||||
3 => "#\\\\u[\da-fA-F]{4}#",
|
||||
//Hexadecimal Char Specs
|
||||
4 => "#\\\\U[\da-fA-F]{8}#",
|
||||
//Octal Char Specs
|
||||
5 => "#\\\\[0-7]{1,3}#"
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
|
||||
GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
|
||||
GESHI_NUMBER_FLT_NONSCI_F | GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'case', 'continue', 'default', 'do', 'else', 'for', 'goto', 'if', 'return',
|
||||
'switch', 'while', 'delete', 'new', 'this'
|
||||
),
|
||||
2 => array(
|
||||
'NULL', 'false', 'break', 'true', 'enum', 'errno', 'EDOM',
|
||||
'ERANGE', 'FLT_RADIX', 'FLT_ROUNDS', 'FLT_DIG', 'DBL_DIG', 'LDBL_DIG',
|
||||
'FLT_EPSILON', 'DBL_EPSILON', 'LDBL_EPSILON', 'FLT_MANT_DIG', 'DBL_MANT_DIG',
|
||||
'LDBL_MANT_DIG', 'FLT_MAX', 'DBL_MAX', 'LDBL_MAX', 'FLT_MAX_EXP', 'DBL_MAX_EXP',
|
||||
'LDBL_MAX_EXP', 'FLT_MIN', 'DBL_MIN', 'LDBL_MIN', 'FLT_MIN_EXP', 'DBL_MIN_EXP',
|
||||
'LDBL_MIN_EXP', 'CHAR_BIT', 'CHAR_MAX', 'CHAR_MIN', 'SCHAR_MAX', 'SCHAR_MIN',
|
||||
'UCHAR_MAX', 'SHRT_MAX', 'SHRT_MIN', 'USHRT_MAX', 'INT_MAX', 'INT_MIN',
|
||||
'UINT_MAX', 'LONG_MAX', 'LONG_MIN', 'ULONG_MAX', 'HUGE_VAL', 'SIGABRT',
|
||||
'SIGFPE', 'SIGILL', 'SIGINT', 'SIGSEGV', 'SIGTERM', 'SIG_DFL', 'SIG_ERR',
|
||||
'SIG_IGN', 'BUFSIZ', 'EOF', 'FILENAME_MAX', 'FOPEN_MAX', 'L_tmpnam',
|
||||
'SEEK_CUR', 'SEEK_END', 'SEEK_SET', 'TMP_MAX', 'stdin', 'stdout', 'stderr',
|
||||
'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC',
|
||||
'virtual', 'public', 'private', 'protected', 'template', 'using', 'namespace',
|
||||
'try', 'catch', 'inline', 'dynamic_cast', 'const_cast', 'reinterpret_cast',
|
||||
'static_cast', 'explicit', 'friend', 'typename', 'typeid', 'class' ,
|
||||
'foreach','connect', 'Q_OBJECT' , 'slots' , 'signals', 'Q_SIGNALS', 'Q_SLOTS',
|
||||
'Q_FOREACH', 'QCOMPARE', 'QVERIFY', 'qDebug', 'kDebug', 'QBENCHMARK',
|
||||
'SIGNAL', 'SLOT', 'emit'
|
||||
),
|
||||
3 => array(
|
||||
'cin', 'cerr', 'clog', 'cout',
|
||||
'printf', 'fprintf', 'snprintf', 'sprintf', 'assert',
|
||||
'isalnum', 'isalpha', 'isdigit', 'iscntrl', 'isgraph', 'islower', 'isprint',
|
||||
'ispunct', 'isspace', 'isupper', 'isxdigit', 'tolower', 'toupper',
|
||||
'exp', 'log', 'log10', 'pow', 'sqrt', 'ceil', 'floor', 'fabs', 'ldexp',
|
||||
'frexp', 'modf', 'fmod', 'sin', 'cos', 'tan', 'asin', 'acos', 'atan', 'atan2',
|
||||
'sinh', 'cosh', 'tanh', 'setjmp', 'longjmp',
|
||||
'va_start', 'va_arg', 'va_end', 'offsetof', 'sizeof', 'fopen', 'freopen',
|
||||
'fflush', 'fclose', 'remove', 'rename', 'tmpfile', 'tmpname', 'setvbuf',
|
||||
'setbuf', 'vfprintf', 'vprintf', 'vsprintf', 'fscanf', 'scanf', 'sscanf',
|
||||
'fgetc', 'fgets', 'fputc', 'fputs', 'getc', 'getchar', 'gets', 'putc',
|
||||
'putchar', 'puts', 'ungetc', 'fread', 'fwrite', 'fseek', 'ftell', 'rewind',
|
||||
'fgetpos', 'fsetpos', 'clearerr', 'feof', 'ferror', 'perror', 'abs', 'labs',
|
||||
'div', 'ldiv', 'atof', 'atoi', 'atol', 'strtod', 'strtol', 'strtoul', 'calloc',
|
||||
'malloc', 'realloc', 'free', 'abort', 'exit', 'atexit', 'system', 'getenv',
|
||||
'bsearch', 'qsort', 'rand', 'srand', 'strcpy', 'strncpy', 'strcat', 'strncat',
|
||||
'strcmp', 'strncmp', 'strcoll', 'strchr', 'strrchr', 'strspn', 'strcspn',
|
||||
'strpbrk', 'strstr', 'strlen', 'strerror', 'strtok', 'strxfrm', 'memcpy',
|
||||
'memmove', 'memcmp', 'memchr', 'memset', 'clock', 'time', 'difftime', 'mktime',
|
||||
'asctime', 'ctime', 'gmtime', 'localtime', 'strftime'
|
||||
),
|
||||
4 => array(
|
||||
'auto', 'bool', 'char', 'const', 'double', 'float', 'int', 'long', 'longint',
|
||||
'register', 'short', 'shortint', 'signed', 'static', 'struct',
|
||||
'typedef', 'union', 'unsigned', 'void', 'volatile', 'extern', 'jmp_buf',
|
||||
'signal', 'raise', 'va_list', 'ptrdiff_t', 'size_t', 'FILE', 'fpos_t',
|
||||
'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm', 'wchar_t',
|
||||
|
||||
'int8', 'int16', 'int32', 'int64',
|
||||
'uint8', 'uint16', 'uint32', 'uint64',
|
||||
|
||||
'int_fast8_t', 'int_fast16_t', 'int_fast32_t', 'int_fast64_t',
|
||||
'uint_fast8_t', 'uint_fast16_t', 'uint_fast32_t', 'uint_fast64_t',
|
||||
|
||||
'int_least8_t', 'int_least16_t', 'int_least32_t', 'int_least64_t',
|
||||
'uint_least8_t', 'uint_least16_t', 'uint_least32_t', 'uint_least64_t',
|
||||
|
||||
'int8_t', 'int16_t', 'int32_t', 'int64_t',
|
||||
'uint8_t', 'uint16_t', 'uint32_t', 'uint64_t',
|
||||
|
||||
'intmax_t', 'uintmax_t', 'intptr_t', 'uintptr_t'
|
||||
),
|
||||
5 => array(
|
||||
'Q_INT8', 'Q_INT16', 'Q_INT32', 'Q_INT64', 'Q_LLONG', 'Q_LONG',
|
||||
'Q_UINT8', 'Q_UINT16', 'Q_UINT32', 'Q_UINT64', 'Q_ULLONG', 'Q_ULONG',
|
||||
|
||||
'QAbstractAnimation', 'QAbstractButton', 'QAbstractEventDispatcher',
|
||||
'QAbstractExtensionFactory', 'QAbstractExtensionManager',
|
||||
'QAbstractFormBuilder', 'QAbstractGraphicsShapeItem',
|
||||
'QAbstractItemDelegate', 'QAbstractItemModel', 'QAbstractItemView',
|
||||
'QAbstractListModel', 'QAbstractMessageHandler',
|
||||
'QAbstractNativeEventFilter', 'QAbstractNetworkCache',
|
||||
'QAbstractOpenGLFunctions', 'QAbstractPlanarVideoBuffer',
|
||||
'QAbstractPrintDialog', 'QAbstractProxyModel', 'QAbstractScrollArea',
|
||||
'QAbstractSlider', 'QAbstractSocket', 'QAbstractSpinBox',
|
||||
'QAbstractState', 'QAbstractTableModel',
|
||||
'QAbstractTextDocumentLayout', 'QAbstractTransition',
|
||||
'QAbstractUriResolver', 'QAbstractVideoBuffer',
|
||||
'QAbstractVideoSurface', 'QAbstractXmlNodeModel',
|
||||
'QAbstractXmlReceiver', 'QAccelerometer', 'QAccelerometerFilter',
|
||||
'QAccelerometerReading', 'QAccessible', 'QAccessibleActionInterface',
|
||||
'QAccessibleEditableTextInterface', 'QAccessibleEvent',
|
||||
'QAccessibleInterface', 'QAccessibleObject', 'QAccessiblePlugin',
|
||||
'QAccessibleStateChangeEvent', 'QAccessibleTableCellInterface',
|
||||
'QAccessibleTableInterface', 'QAccessibleTableModelChangeEvent',
|
||||
'QAccessibleTextCursorEvent', 'QAccessibleTextInsertEvent',
|
||||
'QAccessibleTextInterface', 'QAccessibleTextRemoveEvent',
|
||||
'QAccessibleTextSelectionEvent', 'QAccessibleTextUpdateEvent',
|
||||
'QAccessibleValueChangeEvent', 'QAccessibleValueInterface',
|
||||
'QAccessibleWidget', 'QAction', 'QActionEvent', 'QActionGroup',
|
||||
'QAltimeter', 'QAltimeterFilter', 'QAltimeterReading',
|
||||
'QAmbientLightFilter','QAmbientLightReading', 'QAmbientLightSensor',
|
||||
'QAmbientTemperatureFilter', 'QAmbientTemperatureReading',
|
||||
'QAmbientTemperatureSensor', 'QAndroidActivityResultReceiver',
|
||||
'QAndroidJniEnvironment', 'QAndroidJniObject', 'QAnimationGroup',
|
||||
'QApplication', 'QAssociativeIterable', 'QAtomicInt',
|
||||
'QAtomicInteger', 'QAtomicPointer', 'QAudioBuffer', 'QAudioDecoder',
|
||||
'QAudioDecoderControl', 'QAudioDeviceInfo', 'QAudioEncoderSettings',
|
||||
'QAudioEncoderSettingsControl', 'QAudioFormat', 'QAudioInput',
|
||||
'QAudioInputSelectorControl', 'QAudioOutput',
|
||||
'QAudioOutputSelectorControl', 'QAudioProbe', 'QAudioRecorder',
|
||||
'QAuthenticator', 'QAxAggregated', 'QAxBase', 'QAxBindable',
|
||||
'QAxFactory', 'QAxObject', 'QAxScript', 'QAxScriptEngine',
|
||||
'QAxScriptManager', 'QAxSelect', 'QAxWidget', 'QBackingStore',
|
||||
'QBasicTimer', 'QBitArray', 'QBitmap', 'QBluetoothAddress',
|
||||
'QBluetoothDeviceDiscoveryAgent', 'QBluetoothDeviceInfo',
|
||||
'QBluetoothHostInfo', 'QBluetoothLocalDevice', 'QBluetoothServer',
|
||||
'QBluetoothServiceDiscoveryAgent', 'QBluetoothServiceInfo',
|
||||
'QBluetoothSocket', 'QBluetoothTransferManager',
|
||||
'QBluetoothTransferReply', 'QBluetoothTransferRequest',
|
||||
'QBluetoothUuid', 'QBoxLayout', 'QBrush', 'QBuffer', 'QButtonGroup',
|
||||
'QByteArray', 'QByteArrayList', 'QByteArrayMatcher', 'QCache',
|
||||
'QCalendarWidget', 'QCamera', 'QCameraCaptureBufferFormatControl',
|
||||
'QCameraCaptureDestinationControl', 'QCameraControl',
|
||||
'QCameraExposure', 'QCameraExposureControl', 'QCameraFeedbackControl',
|
||||
'QCameraFlashControl', 'QCameraFocus', 'QCameraFocusControl',
|
||||
'QCameraFocusZone', 'QCameraImageCapture',
|
||||
'QCameraImageCaptureControl', 'QCameraImageProcessing',
|
||||
'QCameraImageProcessingControl', 'QCameraInfo', 'QCameraInfoControl',
|
||||
'QCameraLocksControl', 'QCameraViewfinder',
|
||||
'QCameraViewfinderSettingsControl', 'QCameraZoomControl', 'QChar',
|
||||
'QCheckBox', 'QChildEvent', 'QClipboard', 'QCloseEvent',
|
||||
'QCocoaNativeContext', 'QCollator', 'QCollatorSortKey', 'QColor',
|
||||
'QColorDialog', 'QColormap', 'QColumnView', 'QComboBox',
|
||||
'QCommandLineOption', 'QCommandLineParser', 'QCommandLinkButton',
|
||||
'QCommonStyle', 'QCompass', 'QCompassFilter', 'QCompassReading',
|
||||
'QCompleter', 'QConicalGradient', 'QContextMenuEvent',
|
||||
'QContiguousCache', 'QCoreApplication', 'QCryptographicHash',
|
||||
'QCursor', 'QDBusAbstractAdaptor', 'QDBusAbstractInterface',
|
||||
'QDBusArgument', 'QDBusConnection', 'QDBusConnectionInterface',
|
||||
'QDBusContext', 'QDBusError', 'QDBusInterface', 'QDBusMessage',
|
||||
'QDBusObjectPath', 'QDBusPendingCall', 'QDBusPendingCallWatcher',
|
||||
'QDBusPendingReply', 'QDBusReply', 'QDBusServer',
|
||||
'QDBusServiceWatcher', 'QDBusSignature', 'QDBusUnixFileDescriptor',
|
||||
'QDBusVariant', 'QDBusVirtualObject', 'QDataStream',
|
||||
'QDataWidgetMapper', 'QDate', 'QDateEdit', 'QDateTime',
|
||||
'QDateTimeEdit', 'QDebug', 'QDebugStateSaver',
|
||||
'QDesignerActionEditorInterface', 'QDesignerContainerExtension',
|
||||
'QDesignerCustomWidgetCollectionInterface',
|
||||
'QDesignerCustomWidgetInterface',
|
||||
'QDesignerDynamicPropertySheetExtension',
|
||||
'QDesignerFormEditorInterface', 'QDesignerFormWindowCursorInterface',
|
||||
'QDesignerFormWindowInterface', 'QDesignerFormWindowManagerInterface',
|
||||
'QDesignerMemberSheetExtension', 'QDesignerObjectInspectorInterface',
|
||||
'QDesignerPropertyEditorInterface', 'QDesignerPropertySheetExtension',
|
||||
'QDesignerTaskMenuExtension', 'QDesignerWidgetBoxInterface',
|
||||
'QDesktopServices', 'QDesktopWidget', 'QDial', 'QDialog',
|
||||
'QDialogButtonBox', 'QDir', 'QDirIterator', 'QDirModel',
|
||||
'QDistanceFilter', 'QDistanceReading', 'QDistanceSensor',
|
||||
'QDnsDomainNameRecord', 'QDnsHostAddressRecord', 'QDnsLookup',
|
||||
'QDnsMailExchangeRecord', 'QDnsServiceRecord', 'QDnsTextRecord',
|
||||
'QDockWidget', 'QDomAttr', 'QDomCDATASection', 'QDomCharacterData',
|
||||
'QDomComment', 'QDomDocument', 'QDomDocumentFragment',
|
||||
'QDomDocumentType', 'QDomElement', 'QDomEntity', 'QDomEntityReference',
|
||||
'QDomImplementation', 'QDomNamedNodeMap', 'QDomNode', 'QDomNodeList',
|
||||
'QDomNotation', 'QDomProcessingInstruction', 'QDomText',
|
||||
'QDoubleSpinBox', 'QDoubleValidator', 'QDrag', 'QDragEnterEvent',
|
||||
'QDragLeaveEvent', 'QDragMoveEvent', 'QDropEvent',
|
||||
'QDynamicPropertyChangeEvent', 'EnginioClient',
|
||||
'EnginioClientConnection', 'EnginioIdentity', 'EnginioModel',
|
||||
'EnginioOAuth2Authentication', 'EnginioReply', 'QEGLNativeContext',
|
||||
'QEasingCurve', 'QEglFSFunctions', 'QElapsedTimer',
|
||||
'QEnableSharedFromThis', 'QEnterEvent', 'QErrorMessage', 'QEvent',
|
||||
'QEventLoop', 'QEventLoopLocker', 'QEventTransition', 'QException',
|
||||
'QExplicitlySharedDataPointer', 'QExposeEvent', 'QExtensionFactory',
|
||||
'QExtensionManager', 'QFile', 'QFileDevice', 'QFileDialog',
|
||||
'QFileIconProvider', 'QFileInfo', 'QFileOpenEvent', 'QFileSelector',
|
||||
'QFileSystemModel', 'QFileSystemWatcher', 'QFinalState', 'QFlag',
|
||||
'QFlags', 'QFocusEvent', 'QFocusFrame', 'QFont', 'QFontComboBox',
|
||||
'QFontDatabase', 'QFontDialog', 'QFontInfo', 'QFontMetrics',
|
||||
'QFontMetricsF', 'QFormBuilder', 'QFormLayout', 'QFrame', 'QFuture',
|
||||
'QFutureIterator', 'QFutureSynchronizer', 'QFutureWatcher',
|
||||
'QGLBuffer', 'QGLColormap', 'QGLContext', 'QGLFormat',
|
||||
'QGLFramebufferObject', 'QGLFramebufferObjectFormat', 'QGLFunctions',
|
||||
'QGLPixelBuffer', 'QGLShader', 'QGLShaderProgram', 'QGLWidget',
|
||||
'QGLXNativeContext', 'QGenericArgument', 'QGenericMatrix',
|
||||
'QGenericPlugin', 'QGenericPluginFactory', 'QGenericReturnArgument',
|
||||
'QGeoAddress', 'QGeoAreaMonitorInfo', 'QGeoAreaMonitorSource',
|
||||
'QGeoCircle', 'QGeoCodeReply', 'QGeoCodingManager',
|
||||
'QGeoCodingManagerEngine', 'QGeoCoordinate', 'QGeoLocation',
|
||||
'QGeoManeuver', 'QGeoPositionInfo', 'QGeoPositionInfoSource',
|
||||
'QGeoPositionInfoSourceFactory', 'QGeoRectangle', 'QGeoRoute',
|
||||
'QGeoRouteReply', 'QGeoRouteRequest', 'QGeoRouteSegment',
|
||||
'QGeoRoutingManager', 'QGeoRoutingManagerEngine',
|
||||
'QGeoSatelliteInfo', 'QGeoSatelliteInfoSource',
|
||||
'QGeoServiceProvider', 'QGeoServiceProviderFactory', 'QGeoShape',
|
||||
'QGesture', 'QGestureEvent', 'QGestureRecognizer', 'QGlobalStatic',
|
||||
'QGlyphRun', 'QGradient', 'QGraphicsAnchor', 'QGraphicsAnchorLayout',
|
||||
'QGraphicsBlurEffect', 'QGraphicsColorizeEffect',
|
||||
'QGraphicsDropShadowEffect', 'QGraphicsEffect',
|
||||
'QGraphicsEllipseItem', 'QGraphicsGridLayout', 'QGraphicsItem',
|
||||
'QGraphicsItemAnimation', 'QGraphicsItemGroup', 'QGraphicsLayout',
|
||||
'QGraphicsLayoutItem', 'QGraphicsLineItem', 'QGraphicsLinearLayout',
|
||||
'QGraphicsObject', 'QGraphicsOpacityEffect', 'QGraphicsPathItem',
|
||||
'QGraphicsPixmapItem', 'QGraphicsPolygonItem',
|
||||
'QGraphicsProxyWidget', 'QGraphicsRectItem', 'QGraphicsRotation',
|
||||
'QGraphicsScale', 'QGraphicsScene', 'QGraphicsSceneContextMenuEvent',
|
||||
'QGraphicsSceneDragDropEvent', 'QGraphicsSceneEvent',
|
||||
'QGraphicsSceneHelpEvent', 'QGraphicsSceneHoverEvent',
|
||||
'QGraphicsSceneMouseEvent', 'QGraphicsSceneMoveEvent',
|
||||
'QGraphicsSceneResizeEvent', 'QGraphicsSceneWheelEvent',
|
||||
'QGraphicsSimpleTextItem', 'QGraphicsSvgItem', 'QGraphicsTextItem',
|
||||
'QGraphicsTransform', 'QGraphicsVideoItem', 'QGraphicsView',
|
||||
'QGraphicsWebView', 'QGraphicsWidget', 'QGridLayout', 'QGroupBox',
|
||||
'QGuiApplication', 'QGyroscope', 'QGyroscopeFilter',
|
||||
'QGyroscopeReading', 'QHBoxLayout', 'QHash', 'QHashIterator',
|
||||
'QHeaderView', 'QHelpContentItem', 'QHelpContentModel',
|
||||
'QHelpContentWidget', 'QHelpEngine', 'QHelpEngineCore', 'QHelpEvent',
|
||||
'QHelpIndexModel', 'QHelpIndexWidget', 'QHelpSearchEngine',
|
||||
'QHelpSearchQuery', 'QHelpSearchQueryWidget',
|
||||
'QHelpSearchResultWidget', 'QHideEvent', 'QHistoryState',
|
||||
'QHolsterFilter', 'QHolsterReading', 'QHolsterSensor',
|
||||
'QHostAddress', 'QHostInfo', 'QHoverEvent', 'QHttpMultiPart',
|
||||
'QHttpPart', 'QIODevice', 'QIRProximityFilter', 'QIRProximityReading',
|
||||
'QIRProximitySensor', 'QIcon', 'QIconDragEvent', 'QIconEngine',
|
||||
'QIconEnginePlugin', 'QIdentityProxyModel', 'QImage',
|
||||
'QImageEncoderControl', 'QImageEncoderSettings', 'QImageIOHandler',
|
||||
'QImageIOPlugin', 'QImageReader', 'QImageWriter', 'QInputDialog',
|
||||
'QInputEvent', 'QInputMethod', 'QInputMethodEvent',
|
||||
'QInputMethodQueryEvent', 'QIntValidator', 'QItemDelegate',
|
||||
'QItemEditorCreator', 'QItemEditorCreatorBase', 'QItemEditorFactory',
|
||||
'QItemSelection', 'QItemSelectionModel', 'QItemSelectionRange',
|
||||
'QJSEngine', 'QJSValue', 'QJSValueIterator', 'QJsonArray',
|
||||
'QJsonDocument', 'QJsonObject', 'QJsonParseError', 'QJsonValue',
|
||||
'QKeyEvent', 'QKeyEventTransition', 'QKeySequence', 'QKeySequenceEdit',
|
||||
'QLCDNumber', 'QLabel', 'QLatin1Char', 'QLatin1String', 'QLayout',
|
||||
'QLayoutItem', 'QLibrary', 'QLibraryInfo', 'QLightFilter',
|
||||
'QLightReading', 'QLightSensor', 'QLine', 'QLineEdit', 'QLineF',
|
||||
'QLinearGradient', 'QLinkedList', 'QLinkedListIterator', 'QList',
|
||||
'QListIterator', 'QListView', 'QListWidget', 'QListWidgetItem',
|
||||
'QLocalServer', 'QLocalSocket', 'QLocale', 'QLockFile',
|
||||
'QLoggingCategory', 'QLowEnergyCharacteristic',
|
||||
'QLowEnergyController', 'QLowEnergyDescriptor', 'QLowEnergyService',
|
||||
'QMacCocoaViewContainer', 'QMacNativeWidget', 'QMacPasteboardMime',
|
||||
'QMacToolBar', 'QMacToolBarItem', 'QMagnetometer',
|
||||
'QMagnetometerFilter', 'QMagnetometerReading', 'QMainWindow', 'QMap',
|
||||
'QMapIterator', 'QMargins', 'QMarginsF', 'QMaskGenerator', 'QMatrix',
|
||||
'QMatrix4x4', 'QMdiArea', 'QMdiSubWindow', 'QMediaAudioProbeControl',
|
||||
'QMediaAvailabilityControl', 'QMediaBindableInterface',
|
||||
'QMediaContainerControl', 'QMediaContent', 'QMediaControl',
|
||||
'QMediaGaplessPlaybackControl', 'QMediaNetworkAccessControl',
|
||||
'QMediaObject', 'QMediaPlayer', 'QMediaPlayerControl',
|
||||
'QMediaPlaylist', 'QMediaRecorder', 'QMediaRecorderControl',
|
||||
'QMediaResource', 'QMediaService', 'QMediaServiceCameraInfoInterface',
|
||||
'QMediaServiceFeaturesInterface', 'QMediaServiceProviderPlugin',
|
||||
'QMediaServiceSupportedDevicesInterface',
|
||||
'QMediaServiceSupportedFormatsInterface', 'QMediaStreamsControl',
|
||||
'QMediaTimeInterval', 'QMediaTimeRange', 'QMediaVideoProbeControl',
|
||||
'QMenu', 'QMenuBar', 'QMessageAuthenticationCode', 'QMessageBox',
|
||||
'QMessageLogContext', 'QMessageLogger', 'QMetaClassInfo',
|
||||
'QMetaDataReaderControl', 'QMetaDataWriterControl', 'QMetaEnum',
|
||||
'QMetaMethod', 'QMetaObject', 'QMetaProperty', 'QMetaType',
|
||||
'QMimeData', 'QMimeDatabase', 'QMimeType', 'QModelIndex',
|
||||
'QMouseEvent', 'QMouseEventTransition', 'QMoveEvent', 'QMovie',
|
||||
'QMultiHash', 'QMultiMap', 'QMutableHashIterator',
|
||||
'QMutableLinkedListIterator', 'QMutableListIterator',
|
||||
'QMutableMapIterator', 'QMutableSetIterator',
|
||||
'QMutableVectorIterator', 'QMutex', 'QMutexLocker',
|
||||
'QNativeGestureEvent', 'QNdefFilter', 'QNdefMessage',
|
||||
'QNdefNfcSmartPosterRecord', 'QNdefNfcTextRecord',
|
||||
'QNdefNfcUriRecord', 'QNdefRecord', 'QNearFieldManager',
|
||||
'QNearFieldShareManager', 'QNearFieldShareTarget', 'QNearFieldTarget',
|
||||
'QNetworkAccessManager', 'QNetworkAddressEntry',
|
||||
'QNetworkCacheMetaData', 'QNetworkConfiguration',
|
||||
'QNetworkConfigurationManager', 'QNetworkCookie', 'QNetworkCookieJar',
|
||||
'QNetworkDiskCache', 'QNetworkInterface', 'QNetworkProxy',
|
||||
'QNetworkProxyFactory', 'QNetworkProxyQuery', 'QNetworkReply',
|
||||
'QNetworkRequest', 'QNetworkSession', 'QNmeaPositionInfoSource',
|
||||
'QObject', 'QObjectCleanupHandler', 'QOffscreenSurface',
|
||||
'QOpenGLBuffer', 'QOpenGLContext', 'QOpenGLContextGroup',
|
||||
'QOpenGLDebugLogger', 'QOpenGLDebugMessage',
|
||||
'QOpenGLFramebufferObject', 'QOpenGLFramebufferObjectFormat',
|
||||
'QOpenGLFunctions', 'QOpenGLFunctions_1_0', 'QOpenGLFunctions_1_1',
|
||||
'QOpenGLFunctions_1_2', 'QOpenGLFunctions_1_3', 'QOpenGLFunctions_1_4',
|
||||
'QOpenGLFunctions_1_5', 'QOpenGLFunctions_2_0', 'QOpenGLFunctions_2_1',
|
||||
'QOpenGLFunctions_3_0', 'QOpenGLFunctions_3_1',
|
||||
'QOpenGLFunctions_3_2_Compatibility', 'QOpenGLFunctions_3_2_Core',
|
||||
'QOpenGLFunctions_3_3_Compatibility', 'QOpenGLFunctions_3_3_Core',
|
||||
'QOpenGLFunctions_4_0_Compatibility', 'QOpenGLFunctions_4_0_Core',
|
||||
'QOpenGLFunctions_4_1_Compatibility', 'QOpenGLFunctions_4_1_Core',
|
||||
'QOpenGLFunctions_4_2_Compatibility', 'QOpenGLFunctions_4_2_Core',
|
||||
'QOpenGLFunctions_4_3_Compatibility', 'QOpenGLFunctions_4_3_Core',
|
||||
'QOpenGLFunctions_ES2', 'QOpenGLPaintDevice',
|
||||
'QOpenGLPixelTransferOptions', 'QOpenGLShader',
|
||||
'QOpenGLShaderProgram', 'QOpenGLTexture', 'QOpenGLTimeMonitor',
|
||||
'QOpenGLTimerQuery', 'QOpenGLVersionProfile',
|
||||
'QOpenGLVertexArrayObject', 'QOpenGLWidget', 'QOpenGLWindow',
|
||||
'QOrientationFilter', 'QOrientationReading', 'QOrientationSensor',
|
||||
'QPageLayout', 'QPageSetupDialog', 'QPageSize', 'QPagedPaintDevice',
|
||||
'QPaintDevice', 'QPaintDeviceWindow', 'QPaintEngine',
|
||||
'QPaintEngineState', 'QPaintEvent', 'QPainter', 'QPainterPath',
|
||||
'QPainterPathStroker', 'QPair', 'QPalette', 'QPanGesture',
|
||||
'QParallelAnimationGroup', 'QPauseAnimation', 'QPdfWriter', 'QPen',
|
||||
'QPersistentModelIndex', 'QPicture', 'QPictureFormatPlugin',
|
||||
'QPictureIO', 'QPinchGesture', 'QPixelFormat', 'QPixmap',
|
||||
'QPixmapCache', 'QPlace', 'QPlaceAttribute', 'QPlaceCategory',
|
||||
'QPlaceContactDetail', 'QPlaceContent', 'QPlaceContentReply',
|
||||
'QPlaceContentRequest', 'QPlaceDetailsReply', 'QPlaceEditorial',
|
||||
'QPlaceIcon', 'QPlaceIdReply', 'QPlaceImage', 'QPlaceManager',
|
||||
'QPlaceManagerEngine', 'QPlaceMatchReply', 'QPlaceMatchRequest',
|
||||
'QPlaceProposedSearchResult', 'QPlaceRatings', 'QPlaceReply',
|
||||
'QPlaceResult', 'QPlaceReview', 'QPlaceSearchReply',
|
||||
'QPlaceSearchRequest', 'QPlaceSearchResult',
|
||||
'QPlaceSearchSuggestionReply', 'QPlaceSupplier', 'QPlaceUser',
|
||||
'QPlainTextDocumentLayout', 'QPlainTextEdit',
|
||||
'QPlatformSystemTrayIcon', 'QPluginLoader', 'QPoint', 'QPointF',
|
||||
'QPointer', 'QPolygon', 'QPolygonF', 'QPressureFilter',
|
||||
'QPressureReading', 'QPressureSensor', 'QPrintDialog', 'QPrintEngine',
|
||||
'QPrintPreviewDialog', 'QPrintPreviewWidget', 'QPrinter',
|
||||
'QPrinterInfo', 'QProcess', 'QProcessEnvironment', 'QProgressBar',
|
||||
'QProgressDialog', 'QPropertyAnimation', 'QProximityFilter',
|
||||
'QProximityReading', 'QProximitySensor', 'QProxyStyle',
|
||||
'QPushButton', 'QQmlAbstractProfilerAdapter',
|
||||
'QQmlAbstractUrlInterceptor', 'QQmlApplicationEngine',
|
||||
'QQmlComponent', 'QQmlContext', 'QQmlEngine', 'QQmlError',
|
||||
'QQmlExpression', 'QQmlExtensionPlugin', 'QQmlFileSelector',
|
||||
'QQmlImageProviderBase', 'QQmlIncubationController', 'QQmlIncubator',
|
||||
'QQmlListProperty', 'QQmlListReference', 'QQmlNdefRecord',
|
||||
'QQmlNetworkAccessManagerFactory', 'QQmlParserStatus', 'QQmlProperty',
|
||||
'QQmlPropertyMap', 'QQmlPropertyValueSource', 'QQmlScriptString',
|
||||
'QQuaternion', 'QQueue', 'QQuickFramebufferObject', 'QQuickImageProvider',
|
||||
'QQuickItem', 'QQuickItemGrabResult', 'QQuickPaintedItem',
|
||||
'QQuickRenderControl', 'QQuickTextDocument', 'QQuickTextureFactory',
|
||||
'QQuickView', 'QQuickWidget', 'QQuickWindow', 'QTouchEventSequence',
|
||||
'Qoutputrange', 'QRadialGradient', 'QRadioButton', 'QRadioData',
|
||||
'QRadioDataControl', 'QRadioTuner', 'QRadioTunerControl',
|
||||
'QRasterPaintEngine', 'QRasterWindow', 'QRawFont', 'QReadLocker',
|
||||
'QReadWriteLock', 'QRect', 'QRectF', 'QRegExp', 'QRegExpValidator',
|
||||
'QRegion', 'QRegularExpression', 'QRegularExpressionMatch',
|
||||
'QRegularExpressionMatchIterator', 'QRegularExpressionValidator',
|
||||
'QResizeEvent', 'QResource', 'QRotationFilter', 'QRotationReading',
|
||||
'QRotationSensor', 'QRubberBand', 'QRunnable', 'QSGAbstractRenderer',
|
||||
'QSGBasicGeometryNode', 'QSGClipNode', 'QSGDynamicTexture',
|
||||
'QSGEngine', 'QSGFlatColorMaterial', 'QSGGeometry', 'QSGGeometryNode',
|
||||
'QSGMaterial', 'QSGMaterialShader', 'QSGMaterialType', 'QSGNode',
|
||||
'QSGOpacityNode', 'QSGOpaqueTextureMaterial', 'QSGSimpleMaterial',
|
||||
'QSGSimpleMaterialShader', 'QSGSimpleRectNode',
|
||||
'QSGSimpleTextureNode', 'QSGTexture', 'QSGTextureMaterial',
|
||||
'QSGTextureProvider', 'QSGTransformNode', 'QSGVertexColorMaterial',
|
||||
'QSaveFile', 'QScopedArrayPointer', 'QScopedPointer',
|
||||
'QScopedValueRollback', 'QScreen', 'QScriptClass',
|
||||
'QScriptClassPropertyIterator', 'QScriptContext',
|
||||
'QScriptContextInfo', 'QScriptEngine', 'QScriptEngineAgent',
|
||||
'QScriptEngineDebugger', 'QScriptExtensionPlugin', 'QScriptProgram',
|
||||
'QScriptString', 'QScriptSyntaxCheckResult', 'QScriptValue',
|
||||
'QScriptValueIterator', 'QScriptable', 'QScrollArea', 'QScrollBar',
|
||||
'QScrollEvent', 'QScrollPrepareEvent', 'QScroller',
|
||||
'QScrollerProperties', 'QSemaphore', 'QSensor', 'QSensorBackend',
|
||||
'QSensorBackendFactory', 'QSensorChangesInterface', 'QSensorFilter',
|
||||
'QSensorGesture', 'QSensorGestureManager',
|
||||
'QSensorGesturePluginInterface', 'QSensorGestureRecognizer',
|
||||
'QSensorManager', 'QSensorPluginInterface', 'QSensorReading',
|
||||
'QSequentialAnimationGroup', 'QSequentialIterable', 'QSerialPort',
|
||||
'QSerialPortInfo', 'QSessionManager', 'QSet', 'QSetIterator',
|
||||
'QSettings', 'QSharedData', 'QSharedDataPointer', 'QSharedMemory',
|
||||
'QSharedPointer', 'QShortcut', 'QShortcutEvent', 'QShowEvent',
|
||||
'QSignalBlocker', 'QSignalMapper', 'QSignalSpy', 'QSignalTransition',
|
||||
'QSimpleXmlNodeModel', 'QSize', 'QSizeF', 'QSizeGrip', 'QSizePolicy',
|
||||
'QSlider', 'QSocketNotifier', 'QSortFilterProxyModel', 'QSound',
|
||||
'QSoundEffect', 'QSourceLocation', 'QSpacerItem', 'QSpinBox',
|
||||
'QSplashScreen', 'QSplitter', 'QSplitterHandle', 'QSqlDatabase',
|
||||
'QSqlDriver', 'QSqlDriverCreator', 'QSqlDriverCreatorBase',
|
||||
'QSqlDriverPlugin', 'QSqlError', 'QSqlField', 'QSqlIndex',
|
||||
'QSqlQuery', 'QSqlQueryModel', 'QSqlRecord', 'QSqlRelation',
|
||||
'QSqlRelationalDelegate', 'QSqlRelationalTableModel', 'QSqlResult',
|
||||
'QSqlTableModel', 'QSslCertificate', 'QSslCertificateExtension',
|
||||
'QSslCipher', 'QSslConfiguration', 'QSslError', 'QSslKey',
|
||||
'QSslSocket', 'QStack', 'QStackedLayout', 'QStackedWidget',
|
||||
'QStandardItem', 'QStandardItemEditorCreator', 'QStandardItemModel',
|
||||
'QStandardPaths', 'QState', 'QStateMachine', 'QStaticPlugin',
|
||||
'QStaticText', 'QStatusBar', 'QStatusTipEvent', 'QStorageInfo',
|
||||
'QString', 'QStringList', 'QStringListModel', 'QStringMatcher',
|
||||
'QStringRef', 'QStyle', 'QStyleFactory', 'QStyleHintReturn',
|
||||
'QStyleHintReturnMask', 'QStyleHintReturnVariant', 'QStyleHints',
|
||||
'QStyleOption', 'QStyleOptionButton', 'QStyleOptionComboBox',
|
||||
'QStyleOptionComplex', 'QStyleOptionDockWidget',
|
||||
'QStyleOptionFocusRect', 'QStyleOptionFrame',
|
||||
'QStyleOptionGraphicsItem', 'QStyleOptionGroupBox',
|
||||
'QStyleOptionHeader', 'QStyleOptionMenuItem',
|
||||
'QStyleOptionProgressBar', 'QStyleOptionRubberBand',
|
||||
'QStyleOptionSizeGrip', 'QStyleOptionSlider',
|
||||
'QStyleOptionSpinBox', 'QStyleOptionTab',
|
||||
'QStyleOptionTabBarBase', 'QStyleOptionTabWidgetFrame',
|
||||
'QStyleOptionTitleBar', 'QStyleOptionToolBar',
|
||||
'QStyleOptionToolBox', 'QStyleOptionToolButton',
|
||||
'QStyleOptionViewItem', 'QStylePainter', 'QStylePlugin',
|
||||
'QStyledItemDelegate', 'QSupportedWritingSystems', 'QSurface',
|
||||
'QSurfaceFormat', 'QSvgGenerator', 'QSvgRenderer', 'QSvgWidget',
|
||||
'QSwipeGesture', 'QSyntaxHighlighter', 'QSysInfo', 'QSystemSemaphore',
|
||||
'QSystemTrayIcon', 'QTabBar', 'QTabWidget', 'QTableView',
|
||||
'QTableWidget', 'QTableWidgetItem', 'QTableWidgetSelectionRange',
|
||||
'QTabletEvent', 'QTapAndHoldGesture', 'QTapFilter', 'QTapGesture',
|
||||
'QTapReading', 'QTapSensor', 'QTcpServer', 'QTcpSocket',
|
||||
'QTemporaryDir', 'QTemporaryFile', 'QTestEventList', 'QTextBlock',
|
||||
'QTextBlockFormat', 'QTextBlockGroup', 'QTextBlockUserData',
|
||||
'QTextBoundaryFinder', 'QTextBrowser', 'QTextCharFormat',
|
||||
'QTextCodec', 'QTextCursor', 'QTextDecoder', 'QTextDocument',
|
||||
'QTextDocumentFragment', 'QTextDocumentWriter', 'QTextEdit',
|
||||
'QTextEncoder', 'QTextFormat', 'QTextFragment', 'QTextFrame',
|
||||
'QTextFrameFormat', 'QTextImageFormat', 'QTextInlineObject',
|
||||
'QTextItem', 'QTextLayout', 'QTextLength', 'QTextLine', 'QTextList',
|
||||
'QTextListFormat', 'QTextObject', 'QTextObjectInterface',
|
||||
'QTextOption', 'QTextStream', 'QTextTable', 'QTextTableCell',
|
||||
'QTextTableCellFormat', 'QTextTableFormat', 'QThread', 'QThreadPool',
|
||||
'QThreadStorage', 'QTileRules', 'QTiltFilter', 'QTiltReading',
|
||||
'QTiltSensor', 'QTime', 'QTimeEdit', 'QTimeLine', 'QTimeZone',
|
||||
'QTimer', 'QTimerEvent', 'QToolBar', 'QToolBox', 'QToolButton',
|
||||
'QToolTip', 'QTouchDevice', 'QTouchEvent', 'QTransform',
|
||||
'QTranslator', 'QTreeView', 'QTreeWidget', 'QTreeWidgetItem',
|
||||
'QTreeWidgetItemIterator', 'QUdpSocket', 'QUiLoader', 'QUndoCommand',
|
||||
'QUndoGroup', 'QUndoStack', 'QUndoView', 'QUnhandledException',
|
||||
'QUrl', 'QUrlQuery', 'QUuid', 'QVBoxLayout', 'QValidator',
|
||||
'QVarLengthArray', 'QVariant', 'QVariantAnimation', 'QVector',
|
||||
'QVector2D', 'QVector3D', 'QVector4D', 'QVectorIterator',
|
||||
'QVideoDeviceSelectorControl', 'QVideoEncoderSettings',
|
||||
'QVideoEncoderSettingsControl', 'QVideoFrame', 'QVideoProbe',
|
||||
'QVideoRendererControl', 'QVideoSurfaceFormat', 'QVideoWidget',
|
||||
'QVideoWidgetControl', 'QVideoWindowControl', 'QWGLNativeContext',
|
||||
'QWaitCondition', 'QWeakPointer', 'QWebChannel',
|
||||
'QWebChannelAbstractTransport', 'QWebDatabase', 'QWebElement',
|
||||
'QWebElementCollection', 'QWebEngineHistory', 'QWebEngineHistoryItem',
|
||||
'QWebEnginePage', 'QWebEngineSettings', 'QWebEngineView', 'QWebFrame',
|
||||
'QWebHistory', 'QWebHistoryInterface', 'QWebHistoryItem',
|
||||
'QWebHitTestResult', 'QWebInspector', 'QWebPage', 'QWebPluginFactory',
|
||||
'QWebSecurityOrigin', 'QWebSettings', 'QWebSocket',
|
||||
'QWebSocketCorsAuthenticator', 'QWebSocketServer', 'QWebView',
|
||||
'QWhatsThis', 'QWhatsThisClickedEvent', 'QWheelEvent', 'QWidget',
|
||||
'QWidgetAction', 'QWidgetItem', 'QWinEventNotifier', 'QWinJumpList',
|
||||
'QWinJumpListCategory', 'QWinJumpListItem', 'QWinMime',
|
||||
'QWinTaskbarButton', 'QWinTaskbarProgress', 'QWinThumbnailToolBar',
|
||||
'QWinThumbnailToolButton', 'QWindow', 'QWindowStateChangeEvent',
|
||||
'QWizard', 'QWizardPage', 'QWriteLocker', 'QX11Info',
|
||||
'QXcbWindowFunctions', 'QXmlAttributes', 'QXmlContentHandler',
|
||||
'QXmlDTDHandler', 'QXmlDeclHandler', 'QXmlDefaultHandler',
|
||||
'QXmlEntityResolver','QXmlErrorHandler', 'QXmlFormatter',
|
||||
'QXmlInputSource', 'QXmlItem', 'QXmlLexicalHandler', 'QXmlLocator',
|
||||
'QXmlName', 'QXmlNamePool', 'QXmlNamespaceSupport',
|
||||
'QXmlNodeModelIndex', 'QXmlParseException', 'QXmlQuery',
|
||||
'QXmlReader', 'QXmlResultItems', 'QXmlSchema', 'QXmlSchemaValidator',
|
||||
'QXmlSerializer', 'QXmlSimpleReader', 'QXmlStreamAttribute',
|
||||
'QXmlStreamAttributes', 'QXmlStreamEntityDeclaration',
|
||||
'QXmlStreamEntityResolver', 'QXmlStreamNamespaceDeclaration',
|
||||
'QXmlStreamNotationDeclaration', 'QXmlStreamReader',
|
||||
'QXmlStreamWriter'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':', ',', ';', '|', '<', '>'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
5 => true,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #000000; font-weight:bold;',
|
||||
2 => 'color: #0057AE;',
|
||||
3 => 'color: #2B74C7;',
|
||||
4 => 'color: #0057AE;',
|
||||
5 => 'color: #22aadd;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #888888;',
|
||||
2 => 'color: #006E28;',
|
||||
3 => 'color: #BF0303;',
|
||||
4 => 'color: #BF0303;',
|
||||
'MULTI' => 'color: #888888; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
1 => 'color: #000099; font-weight: bold;',
|
||||
2 => 'color: #660099; font-weight: bold;',
|
||||
3 => 'color: #660099; font-weight: bold;',
|
||||
4 => 'color: #660099; font-weight: bold;',
|
||||
5 => 'color: #006699; font-weight: bold;',
|
||||
'HARD' => '',
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #006E28;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #BF0303;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #B08000;',
|
||||
GESHI_NUMBER_BIN_PREFIX_0B => 'color: #208080;',
|
||||
GESHI_NUMBER_OCT_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_HEX_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_FLT_SCI_SHORT => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_NONSCI_F => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_NONSCI => 'color:#800080;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #2B74C7;',
|
||||
2 => 'color: #2B74C7;',
|
||||
3 => 'color: #2B74C7;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #006E28;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => 'http://qt-project.org/doc/latest/{FNAMEL}.html'
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.',
|
||||
2 => '::',
|
||||
3 => '->',
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9\$_\|\#>|^])",
|
||||
'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_<\|%\\-])"
|
||||
),
|
||||
'OOLANG' => array(
|
||||
'MATCH_AFTER' => '~?[a-zA-Z][a-zA-Z0-9_]*',
|
||||
)
|
||||
)
|
||||
);
|
|
@ -8,7 +8,7 @@
|
|||
* - Jack Lloyd (lloyd@randombit.net)
|
||||
* - Benny Baumann (BenBE@geshi.org)
|
||||
* Copyright: (c) 2004 Dennis Bayer, Nigel McNie, 2012 Benny Baumann (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/09/27
|
||||
*
|
||||
* C++ language file for GeSHi.
|
|
@ -7,13 +7,15 @@
|
|||
* - M. Uli Kusterer (witness.of.teachtext@gmx.net)
|
||||
* - Jack Lloyd (lloyd@randombit.net)
|
||||
* Copyright: (c) 2004 Dennis Bayer, Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/09/27
|
||||
*
|
||||
* C++ language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2013/11/06
|
||||
* - Added nullptr from c++11 & others
|
||||
* 2008/05/23 (1.0.7.22)
|
||||
* - Added description of extra language features (SF#1970248)
|
||||
* 2004/XX/XX (1.0.2)
|
||||
|
@ -101,10 +103,13 @@ $language_data = array (
|
|||
'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC',
|
||||
'virtual', 'public', 'private', 'protected', 'template', 'using', 'namespace',
|
||||
'try', 'catch', 'inline', 'dynamic_cast', 'const_cast', 'reinterpret_cast',
|
||||
'static_cast', 'explicit', 'friend', 'typename', 'typeid', 'class'
|
||||
'static_cast', 'explicit', 'friend', 'typename', 'typeid', 'class', 'nullptr',
|
||||
'decltype', 'override', 'final', 'noexcept', 'alignas', 'alignof', 'noreturn',
|
||||
'constexpr', 'and', 'and_eq', 'asm', 'bitand', 'bitor', 'thread_local',
|
||||
'static_assert', 'compl', 'or', 'or_eq', 'xor', 'xor_eq', 'not', 'not_eq'
|
||||
),
|
||||
3 => array(
|
||||
'cin', 'cerr', 'clog', 'cout', 'delete', 'new', 'this',
|
||||
'cin', 'cerr', 'clog', 'cout', 'delete', 'new', 'this', 'export',
|
||||
'printf', 'fprintf', 'snprintf', 'sprintf', 'assert',
|
||||
'isalnum', 'isalpha', 'isdigit', 'iscntrl', 'isgraph', 'islower', 'isprint',
|
||||
'ispunct', 'isspace', 'isupper', 'isxdigit', 'tolower', 'toupper',
|
||||
|
@ -126,11 +131,12 @@ $language_data = array (
|
|||
'asctime', 'ctime', 'gmtime', 'localtime', 'strftime'
|
||||
),
|
||||
4 => array(
|
||||
'auto', 'bool', 'char', 'const', 'double', 'float', 'int', 'long', 'longint',
|
||||
'register', 'short', 'shortint', 'signed', 'static', 'struct',
|
||||
'typedef', 'union', 'unsigned', 'void', 'volatile', 'extern', 'jmp_buf',
|
||||
'signal', 'raise', 'va_list', 'ptrdiff_t', 'size_t', 'FILE', 'fpos_t',
|
||||
'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm', 'wchar_t',
|
||||
'auto', 'bool', 'char', 'char16_t', 'char32_t', 'const', 'double', 'float',
|
||||
'int', 'long', 'longint','register', 'short', 'shortint', 'signed',
|
||||
'static', 'struct', 'typedef', 'union', 'unsigned', 'void', 'volatile',
|
||||
'extern', 'jmp_buf','signal', 'raise', 'va_list', 'ptrdiff_t', 'size_t',
|
||||
'FILE', 'fpos_t', 'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm', 'wchar_t',
|
||||
'mutable',
|
||||
|
||||
'int8', 'int16', 'int32', 'int64',
|
||||
'uint8', 'uint16', 'uint32', 'uint64',
|
||||
|
@ -242,4 +248,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
* Author: Alan Juden (alan@judenware.org)
|
||||
* Revised by: Michael Mol (mikemol@gmail.com)
|
||||
* Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/06/04
|
||||
*
|
||||
* C# language file for GeSHi.
|
||||
|
@ -255,5 +255,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
||||
|
|
@ -0,0 +1,944 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* css.php
|
||||
* -------
|
||||
* Author: Nigel McNie (nigel@geshi.org), Zéfling (zefling@ikilote.net)
|
||||
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/06/18
|
||||
*
|
||||
* CSS language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2014/07/14 (1.0.8.13)
|
||||
* - update for current CSS3 (properties, value, expression, unites & color)
|
||||
* - remove pseudo class regex
|
||||
* - add rules regex
|
||||
* 2008/05/23 (1.0.7.22)
|
||||
* - Added description of extra language features (SF#1970248)
|
||||
* 2004/11/27 (1.0.3)
|
||||
* - Added support for multiple object splitters
|
||||
* 2004/10/27 (1.0.2)
|
||||
* - Changed regexps to catch "-" symbols
|
||||
* - Added support for URLs
|
||||
* 2004/08/05 (1.0.1)
|
||||
* - Added support for symbols
|
||||
* 2004/07/14 (1.0.0)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2004/11/27)
|
||||
* -------------------------
|
||||
* * Improve or drop regexps for class/id highlighting
|
||||
* * Re-look at keywords - possibly to make several CSS language
|
||||
* files, all with different versions of CSS in them
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array(
|
||||
'LANG_NAME' => 'CSS',
|
||||
'COMMENT_SINGLE' => array(),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
2 => "/(?<=\\()\\s*(?:(?:[a-z0-9]+?:\\/\\/)?[a-z0-9_\\-\\.\\/:]+?)?[a-z]+?\\.[a-z]+?(\\?[^\)]+?)?\\s*?(?=\\))/i"
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"', "'"),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
//Simple Single Char Escapes
|
||||
//1 => "#\\\\[nfrtv\$\"\n\\\\]#i",
|
||||
//Hexadecimal Char Specs
|
||||
2 => "#\\\\[\da-fA-F]{1,6}\s?#i",
|
||||
//Unicode Char Specs
|
||||
//3 => "#\\\\u[\da-fA-F]{1,8}#i",
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
// properties
|
||||
1 => array(
|
||||
'align-content',
|
||||
'align-items',
|
||||
'align-self',
|
||||
'all',
|
||||
'animation',
|
||||
'animation-delay',
|
||||
'animation-direction',
|
||||
'animation-duration',
|
||||
'animation-fill-mode',
|
||||
'animation-iteration-count',
|
||||
'animation-name',
|
||||
'animation-play-state',
|
||||
'animation-timing-function',
|
||||
'backface-visibility',
|
||||
'background',
|
||||
'background-attachment',
|
||||
'background-blend-mode',
|
||||
'background-clip',
|
||||
'background-color',
|
||||
'background-image',
|
||||
'background-origin',
|
||||
'background-position',
|
||||
'background-repeat',
|
||||
'background-size',
|
||||
'border',
|
||||
'border-bottom',
|
||||
'border-bottom-color',
|
||||
'border-bottom-left-radius',
|
||||
'border-bottom-right-radius',
|
||||
'border-bottom-style',
|
||||
'border-bottom-width',
|
||||
'border-collapse',
|
||||
'border-color',
|
||||
'border-image',
|
||||
'border-image-outset',
|
||||
'border-image-repeat',
|
||||
'border-image-slice',
|
||||
'border-image-source',
|
||||
'border-image-width',
|
||||
'border-left',
|
||||
'border-left-color',
|
||||
'border-left-style',
|
||||
'border-left-width',
|
||||
'border-radius',
|
||||
'border-right',
|
||||
'border-right-color',
|
||||
'border-right-style',
|
||||
'border-right-width',
|
||||
'border-spacing',
|
||||
'border-style',
|
||||
'border-top',
|
||||
'border-top-color',
|
||||
'border-top-left-radius',
|
||||
'border-top-right-radius',
|
||||
'border-top-style',
|
||||
'border-top-width',
|
||||
'border-width',
|
||||
'bottom',
|
||||
'box-decoration-break',
|
||||
'box-shadow',
|
||||
'box-sizing',
|
||||
'break-after',
|
||||
'break-before',
|
||||
'break-inside',
|
||||
'caption-side',
|
||||
'clear',
|
||||
'clip',
|
||||
'clip-path',
|
||||
'color',
|
||||
'columns',
|
||||
'column-count',
|
||||
'column-fill',
|
||||
'column-gap',
|
||||
'column-rule',
|
||||
'column-rule-color',
|
||||
'column-rule-style',
|
||||
'column-rule-width',
|
||||
'column-span',
|
||||
'column-width',
|
||||
'content',
|
||||
'counter-increment',
|
||||
'counter-reset',
|
||||
'cursor',
|
||||
'direction',
|
||||
'display',
|
||||
'empty-cells',
|
||||
'fill',
|
||||
'fill-rule',
|
||||
'fill-opacity',
|
||||
'filter',
|
||||
'flex',
|
||||
'flex-basis',
|
||||
'flex-direction',
|
||||
'flex-flow',
|
||||
'flex-grow',
|
||||
'flex-shrink',
|
||||
'flex-wrap',
|
||||
'float',
|
||||
'font',
|
||||
'font-family',
|
||||
'font-feature-settings',
|
||||
'font-kerning',
|
||||
'font-language-override',
|
||||
'font-size',
|
||||
'font-size-adjust',
|
||||
'font-stretch',
|
||||
'font-style',
|
||||
'font-synthesis',
|
||||
'font-variant',
|
||||
'font-variant-alternates',
|
||||
'font-variant-caps',
|
||||
'font-variant-east-asian',
|
||||
'font-variant-ligatures',
|
||||
'font-variant-numeric',
|
||||
'font-variant-position',
|
||||
'font-weight',
|
||||
'grid',
|
||||
'grid-area',
|
||||
'grid-auto-columns',
|
||||
'grid-auto-flow',
|
||||
'grid-auto-position',
|
||||
'grid-auto-rows',
|
||||
'grid-column',
|
||||
'grid-column-start',
|
||||
'grid-column-end',
|
||||
'grid-row',
|
||||
'grid-row-start',
|
||||
'grid-row-end',
|
||||
'grid-template',
|
||||
'grid-template-areas',
|
||||
'grid-template-rows',
|
||||
'grid-template-columns',
|
||||
'height',
|
||||
'hyphens',
|
||||
'icon',
|
||||
'image-rendering',
|
||||
'image-resolution',
|
||||
'image-orientation',
|
||||
'ime-mode',
|
||||
'justify-content',
|
||||
'left',
|
||||
'letter-spacing',
|
||||
'line-break',
|
||||
'line-height',
|
||||
'list-style',
|
||||
'list-style-image',
|
||||
'list-style-position',
|
||||
'list-style-type',
|
||||
'margin',
|
||||
'margin-bottom',
|
||||
'margin-left',
|
||||
'margin-right',
|
||||
'margin-top',
|
||||
'marks',
|
||||
'mask',
|
||||
'mask-type',
|
||||
'max-height',
|
||||
'max-width',
|
||||
'min-height',
|
||||
'min-width',
|
||||
'mix-blend-mode',
|
||||
'nav-down',
|
||||
'nav-index',
|
||||
'nav-left',
|
||||
'nav-right',
|
||||
'nav-up',
|
||||
'object-fit',
|
||||
'object-position',
|
||||
'opacity',
|
||||
'order',
|
||||
'orphans',
|
||||
'outline',
|
||||
'outline-color',
|
||||
'outline-offset',
|
||||
'outline-style',
|
||||
'outline-width',
|
||||
'overflow',
|
||||
'overflow-wrap',
|
||||
'overflow-x',
|
||||
'overflow-y',
|
||||
'overflow-clip-box',
|
||||
'padding',
|
||||
'padding-bottom',
|
||||
'padding-left',
|
||||
'padding-right',
|
||||
'padding-top',
|
||||
'page-break-after',
|
||||
'page-break-before',
|
||||
'page-break-inside',
|
||||
'perspective',
|
||||
'perspective-origin',
|
||||
'pointer-events',
|
||||
'position',
|
||||
'quotes',
|
||||
'resize',
|
||||
'right',
|
||||
'shape-image-threshold',
|
||||
'shape-margin',
|
||||
'shape-outside',
|
||||
'stroke',
|
||||
'stroke-width',
|
||||
'stroke-linecap',
|
||||
'stroke-linejoin',
|
||||
'stroke-miterlimit',
|
||||
'stroke-dasharray',
|
||||
'stroke-dashoffset',
|
||||
'table-layout',
|
||||
'tab-size',
|
||||
'text-align',
|
||||
'text-align-last',
|
||||
'text-combine-horizontal',
|
||||
'text-decoration',
|
||||
'text-decoration-color',
|
||||
'text-decoration-line',
|
||||
'text-decoration-style',
|
||||
'text-indent',
|
||||
'text-orientation',
|
||||
'text-overflow',
|
||||
'text-rendering',
|
||||
'text-shadow',
|
||||
'text-transform',
|
||||
'text-underline-position',
|
||||
'top',
|
||||
'touch-action',
|
||||
'transform',
|
||||
'transform-origin',
|
||||
'transform-style',
|
||||
'transition',
|
||||
'transition-delay',
|
||||
'transition-duration',
|
||||
'transition-property',
|
||||
'transition-timing-function',
|
||||
'unicode-bidi',
|
||||
'unicode-range',
|
||||
'vertical-align',
|
||||
'visibility',
|
||||
'white-space',
|
||||
'widows',
|
||||
'width',
|
||||
'will-change',
|
||||
'word-break',
|
||||
'word-spacing',
|
||||
'word-wrap',
|
||||
'writing-mode',
|
||||
'z-index'
|
||||
),
|
||||
// value
|
||||
2 => array(
|
||||
'absolute',
|
||||
'activeborder',
|
||||
'activecaption',
|
||||
'after-white-space',
|
||||
'ahead',
|
||||
'alternate',
|
||||
'always',
|
||||
'appworkspace',
|
||||
'armenian',
|
||||
'auto',
|
||||
'avoid',
|
||||
'background',
|
||||
'backwards',
|
||||
'baseline',
|
||||
'below',
|
||||
'bevel',
|
||||
'bidi-override',
|
||||
'blink',
|
||||
'block',
|
||||
'block clear',
|
||||
'block width',
|
||||
'block-axis',
|
||||
'bold',
|
||||
'bolder',
|
||||
'border',
|
||||
'border-box',
|
||||
'both',
|
||||
'bottom',
|
||||
'break-word',
|
||||
'butt',
|
||||
'button',
|
||||
'button-bevel',
|
||||
'buttonface',
|
||||
'buttonhighlight',
|
||||
'buttonshadow',
|
||||
'buttontext',
|
||||
'capitalize',
|
||||
'caption',
|
||||
'captiontext',
|
||||
'caret',
|
||||
'center',
|
||||
'checkbox',
|
||||
'circle',
|
||||
'cjk-ideographic',
|
||||
'clip',
|
||||
'close-quote',
|
||||
'collapse',
|
||||
'compact',
|
||||
'condensed',
|
||||
'content',
|
||||
'content-box',
|
||||
'continuous',
|
||||
'crop',
|
||||
'cross',
|
||||
'crosshair',
|
||||
'currentColor',
|
||||
'cursive',
|
||||
'dashed',
|
||||
'decimal',
|
||||
'decimal-leading-zero',
|
||||
'default',
|
||||
'disc',
|
||||
'discard',
|
||||
'dot-dash',
|
||||
'dot-dot-dash',
|
||||
'dotted',
|
||||
'double',
|
||||
'down',
|
||||
'e-resize',
|
||||
'element',
|
||||
'ellipsis',
|
||||
'embed',
|
||||
'end',
|
||||
'evenodd',
|
||||
'expanded',
|
||||
'extra-condensed',
|
||||
'extra-expanded',
|
||||
'fantasy',
|
||||
'fast',
|
||||
'fixed',
|
||||
'forwards',
|
||||
'georgian',
|
||||
'graytext',
|
||||
'groove',
|
||||
'hand',
|
||||
'hebrew',
|
||||
'help',
|
||||
'hidden',
|
||||
'hide',
|
||||
'higher',
|
||||
'highlight',
|
||||
'highlighttext',
|
||||
'hiragana',
|
||||
'hiragana-iroha',
|
||||
'horizontal',
|
||||
'icon',
|
||||
'ignore',
|
||||
'inactiveborder',
|
||||
'inactivecaption',
|
||||
'inactivecaptiontext',
|
||||
'infinite',
|
||||
'infobackground',
|
||||
'infotext',
|
||||
'inherit',
|
||||
'initial',
|
||||
'inline',
|
||||
'inline-axis',
|
||||
'inline-block',
|
||||
'inline-table',
|
||||
'inset',
|
||||
'inside',
|
||||
'intrinsic',
|
||||
'invert',
|
||||
'italic',
|
||||
'justify',
|
||||
'katakana',
|
||||
'katakana-iroha',
|
||||
'landscape',
|
||||
'large',
|
||||
'larger',
|
||||
'left',
|
||||
'level',
|
||||
'lighter',
|
||||
'line-through',
|
||||
'list-item',
|
||||
'listbox',
|
||||
'listitem',
|
||||
'logical',
|
||||
'loud',
|
||||
'lower',
|
||||
'lower-alpha',
|
||||
'lower-greek',
|
||||
'lower-latin',
|
||||
'lower-roman',
|
||||
'lowercase',
|
||||
'ltr',
|
||||
'marker',
|
||||
'match',
|
||||
'medium',
|
||||
'menu',
|
||||
'menulist',
|
||||
'menulist-button',
|
||||
'menulist-text',
|
||||
'menulist-textfield',
|
||||
'menutext',
|
||||
'message-box',
|
||||
'middle',
|
||||
'min-intrinsic',
|
||||
'miter',
|
||||
'mix',
|
||||
'monospace',
|
||||
'move',
|
||||
'multiple',
|
||||
'n-resize',
|
||||
'narrower',
|
||||
'ne-resize',
|
||||
'no-close',
|
||||
'no-close-quote',
|
||||
'no-open-quote',
|
||||
'no-repeat',
|
||||
'none',
|
||||
'nonzero',
|
||||
'normal',
|
||||
'nowrap',
|
||||
'nw-resize',
|
||||
'oblique',
|
||||
'once',
|
||||
'open-quote',
|
||||
'outset',
|
||||
'outside',
|
||||
'overline',
|
||||
'padding',
|
||||
'pointer',
|
||||
'portrait',
|
||||
'pre',
|
||||
'pre-line',
|
||||
'pre-wrap',
|
||||
'push-button',
|
||||
'radio',
|
||||
'read-only',
|
||||
'read-write',
|
||||
'read-write-plaintext-only',
|
||||
'relative',
|
||||
'repeat',
|
||||
'repeat-x',
|
||||
'repeat-y',
|
||||
'reverse',
|
||||
'ridge',
|
||||
'right',
|
||||
'round',
|
||||
'rtl',
|
||||
'run-in',
|
||||
's-resize',
|
||||
'sans-serif',
|
||||
'scroll',
|
||||
'scrollbar',
|
||||
'scrollbarbutton-down',
|
||||
'scrollbarbutton-left',
|
||||
'scrollbarbutton-right',
|
||||
'scrollbarbutton-up',
|
||||
'scrollbargripper-horizontal',
|
||||
'scrollbargripper-vertical',
|
||||
'scrollbarthumb-horizontal',
|
||||
'scrollbarthumb-vertical',
|
||||
'scrollbartrack-horizontal',
|
||||
'scrollbartrack-vertical',
|
||||
'se-resize',
|
||||
'searchfield',
|
||||
'searchfield-close',
|
||||
'searchfield-results',
|
||||
'semi-condensed',
|
||||
'semi-expanded',
|
||||
'separate',
|
||||
'serif',
|
||||
'show',
|
||||
'single',
|
||||
'skip-white-space',
|
||||
'slide',
|
||||
'slider-horizontal',
|
||||
'slider-vertical',
|
||||
'sliderthumb-horizontal',
|
||||
'sliderthumb-vertical',
|
||||
'slow',
|
||||
'small',
|
||||
'small-caps',
|
||||
'small-caption',
|
||||
'smaller',
|
||||
'solid',
|
||||
'space',
|
||||
'square',
|
||||
'square-button',
|
||||
'start',
|
||||
'static',
|
||||
'status-bar',
|
||||
'stretch',
|
||||
'sub',
|
||||
'super',
|
||||
'sw-resize',
|
||||
'table',
|
||||
'table-caption',
|
||||
'table-cell',
|
||||
'table-column',
|
||||
'table-column-group',
|
||||
'table-footer-group',
|
||||
'table-header-group',
|
||||
'table-row',
|
||||
'table-row-group',
|
||||
'text',
|
||||
'text-bottom',
|
||||
'text-top',
|
||||
'textfield',
|
||||
'thick',
|
||||
'thin',
|
||||
'threeddarkshadow',
|
||||
'threedface',
|
||||
'threedhighlight',
|
||||
'threedlightshadow',
|
||||
'threedshadow',
|
||||
'top',
|
||||
'ultra-condensed',
|
||||
'ultra-expanded',
|
||||
'underline',
|
||||
'unfurl',
|
||||
'up',
|
||||
'upper-alpha',
|
||||
'upper-latin',
|
||||
'upper-roman',
|
||||
'uppercase',
|
||||
'vertical',
|
||||
'visible',
|
||||
'visual',
|
||||
'w-resize',
|
||||
'wait',
|
||||
'wave',
|
||||
'wider',
|
||||
'window',
|
||||
'windowframe',
|
||||
'windowtext',
|
||||
'x-large',
|
||||
'x-small',
|
||||
'xx-large',
|
||||
'xx-small'
|
||||
),
|
||||
// function xxx()
|
||||
3 => array(
|
||||
'attr',
|
||||
'calc',
|
||||
'contrast',
|
||||
'cross-fade',
|
||||
'cubic-bezier',
|
||||
'cycle',
|
||||
'device-cmyk',
|
||||
'drop-shadow',
|
||||
'ellipse',
|
||||
'hsl',
|
||||
'hsla',
|
||||
'hwb',
|
||||
'image',
|
||||
'matrix',
|
||||
'matrix3d',
|
||||
'minmax',
|
||||
'grayscale',
|
||||
'perspective',
|
||||
'polygon',
|
||||
'radial-gradient',
|
||||
'translate',
|
||||
'translatex',
|
||||
'translatey',
|
||||
'translatez',
|
||||
'translate3d',
|
||||
'skew',
|
||||
'skewx',
|
||||
'skewy',
|
||||
'saturate',
|
||||
'sepia',
|
||||
'scale',
|
||||
'scalex',
|
||||
'scaley',
|
||||
'scalez',
|
||||
'scale3d',
|
||||
'steps',
|
||||
'rect',
|
||||
'repeating-linear-gradient',
|
||||
'repeating-radial-gradient',
|
||||
'rgb',
|
||||
'rgba',
|
||||
'rotate',
|
||||
'rotatex',
|
||||
'rotatey',
|
||||
'rotatez',
|
||||
'rotate3d',
|
||||
'url',
|
||||
'var'
|
||||
),
|
||||
// colors
|
||||
4 => array(
|
||||
'aliceblue',
|
||||
'antiquewhite',
|
||||
'aqua',
|
||||
'aquamarine',
|
||||
'azure',
|
||||
'beige',
|
||||
'bisque',
|
||||
'black',
|
||||
'blanchedalmond',
|
||||
'blue',
|
||||
'blueviolet',
|
||||
'brown',
|
||||
'burlywood',
|
||||
'cadetblue',
|
||||
'chartreuse',
|
||||
'chocolate',
|
||||
'coral',
|
||||
'cornflowerblue',
|
||||
'cornsilk',
|
||||
'crimson',
|
||||
'cyan',
|
||||
'darkblue',
|
||||
'darkcyan',
|
||||
'darkgoldenrod',
|
||||
'darkgray',
|
||||
'darkgreen',
|
||||
'darkgrey',
|
||||
'darkkhaki',
|
||||
'darkmagenta',
|
||||
'darkolivegreen',
|
||||
'darkorange',
|
||||
'darkorchid',
|
||||
'darkred',
|
||||
'darksalmon',
|
||||
'darkseagreen',
|
||||
'darkslateblue',
|
||||
'darkslategray',
|
||||
'darkslategrey',
|
||||
'darkturquoise',
|
||||
'darkviolet',
|
||||
'deeppink',
|
||||
'deepskyblue',
|
||||
'dimgray',
|
||||
'dimgrey',
|
||||
'dodgerblue',
|
||||
'firebrick',
|
||||
'floralwhite',
|
||||
'forestgreen',
|
||||
'fuchsia',
|
||||
'gainsboro',
|
||||
'ghostwhite',
|
||||
'gold',
|
||||
'goldenrod',
|
||||
'gray',
|
||||
'green',
|
||||
'greenyellow',
|
||||
'grey',
|
||||
'honeydew',
|
||||
'hotpink',
|
||||
'indianred',
|
||||
'indigo',
|
||||
'ivory',
|
||||
'khaki',
|
||||
'lavender',
|
||||
'lavenderblush',
|
||||
'lawngreen',
|
||||
'lemonchiffon',
|
||||
'lightblue',
|
||||
'lightcoral',
|
||||
'lightcyan',
|
||||
'lightgoldenrodyellow',
|
||||
'lightgray',
|
||||
'lightgreen',
|
||||
'lightgrey',
|
||||
'lightpink',
|
||||
'lightsalmon',
|
||||
'lightseagreen',
|
||||
'lightskyblue',
|
||||
'lightslategray',
|
||||
'lightslategrey',
|
||||
'lightsteelblue',
|
||||
'lightyellow',
|
||||
'lime',
|
||||
'limegreen',
|
||||
'linen',
|
||||
'magenta',
|
||||
'maroon',
|
||||
'mediumaquamarine',
|
||||
'mediumblue',
|
||||
'mediumorchid',
|
||||
'mediumpurple',
|
||||
'mediumseagreen',
|
||||
'mediumslateblue',
|
||||
'mediumspringgreen',
|
||||
'mediumturquoise',
|
||||
'mediumvioletred',
|
||||
'midnightblue',
|
||||
'mintcream',
|
||||
'mistyrose',
|
||||
'moccasin',
|
||||
'navajowhite',
|
||||
'navy',
|
||||
'oldlace',
|
||||
'olive',
|
||||
'olivedrab',
|
||||
'orange',
|
||||
'orangered',
|
||||
'orchid',
|
||||
'palegoldenrod',
|
||||
'palegreen',
|
||||
'paleturquoise',
|
||||
'palevioletred',
|
||||
'papayawhip',
|
||||
'peachpuff',
|
||||
'peru',
|
||||
'pink',
|
||||
'plum',
|
||||
'powderblue',
|
||||
'purple',
|
||||
'rebeccapurple',
|
||||
'red',
|
||||
'rosybrown',
|
||||
'royalblue',
|
||||
'saddlebrown',
|
||||
'salmon',
|
||||
'sandybrown',
|
||||
'seagreen',
|
||||
'seashell',
|
||||
'sienna',
|
||||
'silver',
|
||||
'skyblue',
|
||||
'slateblue',
|
||||
'slategray',
|
||||
'slategrey',
|
||||
'snow',
|
||||
'springgreen',
|
||||
'steelblue',
|
||||
'tan',
|
||||
'teal',
|
||||
'thistle',
|
||||
'transparent',
|
||||
'tomato',
|
||||
'turquoise',
|
||||
'violet',
|
||||
'wheat',
|
||||
'white',
|
||||
'whitesmoke',
|
||||
'yellow',
|
||||
'yellowgreen'
|
||||
),
|
||||
// pseudo class
|
||||
5 => array(
|
||||
'active',
|
||||
'after',
|
||||
'before',
|
||||
'checked',
|
||||
'choices',
|
||||
'dir',
|
||||
'disabled',
|
||||
'empty',
|
||||
'enabled',
|
||||
'first',
|
||||
'first-child',
|
||||
'first-letter',
|
||||
'first-line',
|
||||
'first-of-type',
|
||||
'focus',
|
||||
'fullscreen',
|
||||
'hover',
|
||||
'indeterminate',
|
||||
'in-range',
|
||||
'invalid',
|
||||
'lang',
|
||||
'last-child',
|
||||
'last-of-type',
|
||||
'link',
|
||||
'not',
|
||||
'nth-child',
|
||||
'nth-last-child',
|
||||
'nth-last-of-type',
|
||||
'nth-of-type',
|
||||
'only-child',
|
||||
'only-of-type',
|
||||
'optional',
|
||||
'out-of-range',
|
||||
'repeat-index',
|
||||
'repeat-item',
|
||||
'required',
|
||||
'root',
|
||||
'scope',
|
||||
'selection',
|
||||
'target',
|
||||
'valid',
|
||||
'value',
|
||||
'visited'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '{', '}', ':', ';',
|
||||
'>', '+', '*', ',', '^', '='
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
5 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #000000; font-weight: bold;',
|
||||
2 => 'color: #993333;',
|
||||
3 => 'color: #9932cc;',
|
||||
4 => 'color: #dc143c;',
|
||||
5 => 'color: #F5758F;',
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
2 => 'color: #ff0000; font-style: italic;',
|
||||
'MULTI' => 'color: #808080; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
//1 => 'color: #000099; font-weight: bold;',
|
||||
2 => 'color: #000099; font-weight: bold;'
|
||||
//3 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #00AA00;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;'
|
||||
),
|
||||
'METHODS' => array(),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #00AA00;'
|
||||
),
|
||||
'SCRIPT' => array(),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #cc00cc;',
|
||||
1 => 'color: #6666ff;',
|
||||
2 => 'color: #3F84D9; font-weight: bold;',
|
||||
3 => 'color: #933;',
|
||||
4 => 'color: #444;'
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(),
|
||||
'REGEXPS' => array(
|
||||
//DOM Node ID
|
||||
0 => '\#[a-zA-Z0-9\-_]+(?:\\\\:[a-zA-Z0-9\-_]+)*',
|
||||
//CSS classname
|
||||
1 => '\.(?!\d)[a-zA-Z0-9\-_]+(?:\\\\:[a-zA-Z0-9\-_]+)*\b(?=[\{\.#\s,:].|<\|)',
|
||||
//CSS rules
|
||||
2 => '\@(?!\d)[a-zA-Z0-9\-_]+(?:\\\\:[a-zA-Z0-9\-_]+)*\b(?=[\{\.#\s,:].|<\|)',
|
||||
//Measurements
|
||||
3 => '[+\-]?(\d+|(\d*\.\d+))(em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx|%)',
|
||||
//var
|
||||
4 => '(--[a-zA-Z0-9\-]*)'
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
'DISALLOWED_AFTER' => '(?![\-a-zA-Z0-9_\|%\\-&\.])',
|
||||
'DISALLOWED_BEFORE' => '(?<![\-a-zA-Z0-9_\|%\\~&\.])',
|
||||
1 => array(
|
||||
'DISALLOWED_AFTER' => '(?![\-a-zA-Z0-9_\|%\\-&\.])(?=\s*:)'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
|
@ -4,7 +4,7 @@
|
|||
* ----------
|
||||
* Author: Benny Baumann (benbe@geshi.org)
|
||||
* Copyright: (c) 2009 Benny Baumann (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/12/21
|
||||
*
|
||||
* Cuesheet language file for GeSHi.
|
||||
|
@ -134,4 +134,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
* Contributors:
|
||||
* - Jimmy Cao
|
||||
* Copyright: (c) 2005 Thomas Kuehne (http://thomas.kuehne.cn/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2005/04/22
|
||||
*
|
||||
* D language file for GeSHi.
|
||||
|
@ -248,4 +248,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Edward Hart (edward.dan.hart@gmail.com)
|
||||
* Copyright: (c) 2013 Edward Hart
|
||||
* Release Version: 1.0.8.12
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2013/10/25
|
||||
*
|
||||
* Dart language file for GeSHi.
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Petr Hendl (petr@hendl.cz)
|
||||
* Copyright: (c) 2011 Petr Hendl http://hendl.cz/geshi/
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2011/02/17
|
||||
*
|
||||
* DCL language file for GeSHi.
|
||||
|
@ -188,4 +188,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -3,8 +3,8 @@
|
|||
* dcpu16.php
|
||||
* -------
|
||||
* Author: Benny Baumann (BenBE@omorphia.de)
|
||||
* Copyright: (c) 2007-2012 Benny Baumann (http://geshi.org/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Copyright: (c) 2007-2014 Benny Baumann (http://geshi.org/)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2012/04/12
|
||||
*
|
||||
* DCPU/16 Assembly language file for GeSHi.
|
||||
|
@ -127,4 +127,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* ---------------------------------
|
||||
* Author: Stelio Passaris (GeSHi@stelio.net)
|
||||
* Copyright: (c) 2009 Stelio Passaris (http://stelio.net/stiki/GeSHi)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/01/20
|
||||
*
|
||||
* DCS language file for GeSHi.
|
||||
|
@ -178,4 +178,3 @@ $language_data = array (
|
|||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* ----------
|
||||
* Author: J<EFBFBD>rja Norbert (jnorbi@vipmail.hu), Benny Baumann (BenBE@omorphia.de)
|
||||
* Copyright: (c) 2004 J<EFBFBD>rja Norbert, Benny Baumann (BenBE@omorphia.de), Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/07/26
|
||||
*
|
||||
* Delphi (Object Pascal) language file for GeSHi.
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Conny Brunnkvist (conny@fuchsia.se), W. Tasin (tasin@fhm.edu)
|
||||
* Copyright: (c) 2004 Fuchsia Open Source Solutions (http://www.fuchsia.se/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/12/29
|
||||
*
|
||||
* Diff-output language file for GeSHi.
|
||||
|
@ -192,4 +192,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* ---------------------------------
|
||||
* Author: Gabriel Lorenzo (ermakina@gmail.com)
|
||||
* Copyright: (c) 2005 Gabriel Lorenzo (http://ermakina.gazpachito.net)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2005/06/19
|
||||
*
|
||||
* DIV language file for GeSHi.
|
|
@ -4,7 +4,7 @@
|
|||
* -------
|
||||
* Author: Alessandro Staltari (staltari@geocities.com)
|
||||
* Copyright: (c) 2005 Alessandro Staltari (http://www.geocities.com/SiliconValley/Vista/8155/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2005/07/05
|
||||
*
|
||||
* DOS language file for GeSHi.
|
||||
|
@ -223,4 +223,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* ---------------------------------
|
||||
* Author: Adrien Friggeri (adrien@friggeri.net)
|
||||
* Copyright: (c) 2007 Adrien Friggeri (http://www.friggeri.net)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2007/05/30
|
||||
*
|
||||
* dot language file for GeSHi.
|
||||
|
@ -160,4 +160,3 @@ $language_data = array (
|
|||
3 => true
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Kevin Reid (kpreid@switchb.org)
|
||||
* Copyright: (c) 2010 Kevin Reid (http://switchb.org/kpreid/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/04/16
|
||||
*
|
||||
* E language file for GeSHi.
|
||||
|
@ -204,4 +204,3 @@ $language_data = array(
|
|||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array()
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* --------------
|
||||
* Author: Michel Mariani (http://www.tonton-pixel.com/site/)
|
||||
* Copyright: (c) 2010 Michel Mariani (http://www.tonton-pixel.com/site/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/01/08
|
||||
*
|
||||
* ECMAScript language file for GeSHi.
|
||||
|
@ -206,4 +206,3 @@ $language_data = array (
|
|||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* ----------
|
||||
* Author: Zoran Simic (zsimic@axarosenberg.com)
|
||||
* Copyright: (c) 2005 Zoran Simic
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2005/06/30
|
||||
*
|
||||
* Eiffel language file for GeSHi.
|
|
@ -4,7 +4,7 @@
|
|||
* ---------------
|
||||
* Author: Benny Baumann (BenBE@geshi.org)
|
||||
* Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2008/10/19
|
||||
*
|
||||
* Email (mbox \ eml \ RFC format) language file for GeSHi.
|
||||
|
@ -218,4 +218,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Thorsten Muehlfelder (muehlfelder@enertex.de)
|
||||
* Copyright: (c) 2010 Enertex Bayern GmbH
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/08/26
|
||||
*
|
||||
* Enerscript language file for GeSHi.
|
||||
|
@ -150,4 +150,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
* - Uwe Dauernheim (uwe@dauernheim.net)
|
||||
* - Dan Forest-Barbier (dan@twisted.in)
|
||||
* Copyright: (c) 2008 Uwe Dauernheim (http://www.kreisquadratur.de/)
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2008-09-27
|
||||
*
|
||||
* Erlang language file for GeSHi.
|
||||
|
@ -425,16 +425,15 @@ $language_data = array(
|
|||
3 => array(
|
||||
'DISALLOWED_BEFORE' => '(?<![\w])',
|
||||
'DISALLOWED_AFTER' => ''//'(?=\s*\()'
|
||||
),
|
||||
),
|
||||
5 => array(
|
||||
'DISALLOWED_BEFORE' => '(?<=\'|)',
|
||||
'DISALLOWED_AFTER' => '(?=(\'|):)'
|
||||
),
|
||||
),
|
||||
6 => array(
|
||||
'DISALLOWED_BEFORE' => '(?<=\/|-)',
|
||||
'DISALLOWED_AFTER' => ''
|
||||
)
|
||||
)
|
||||
)
|
||||
),
|
||||
);
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
* ---------------------------------
|
||||
* Author: Nicholas Koceja (nerketur@hotmail.com)
|
||||
* Copyright: (c) 2010 Nicholas Koceja
|
||||
* Release Version: 1.0.8.11
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 11/24/2010
|
||||
*
|
||||
* Euphoria language file for GeSHi.
|
||||
|
@ -136,4 +136,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue