Return to Snippet

Revision: 18879
at October 11, 2009 10:17 by Zydeco


Initial Code
/*************************************************************************************
 * lingo.php
 * ------
 * Author: Jesús A. Álvarez ([email protected])
 * Copyright: (c) 2008 Jesús A. Álvarez (http://namedfork.net)
 * Release Version: 1.0
 * Date Started: 2008/04/23
 *
 * Lingo language file for GeSHi.
 *
 * CHANGES
 * -------
 * 2008/04/23 (1.0)
 *  -  First Release
 *
 * 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' => 'Lingo',
	'COMMENT_SINGLE' => array(1 => '--'),
	'COMMENT_MULTI' => array(),
	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
	'QUOTEMARKS' => array('"'),
	'ESCAPE_CHAR' => '',
	'KEYWORDS' => array(
		1 => array(
			'abort', 'after', 'and', 'before', 'case', 'do', 'else', 'end',
			'FALSE', 'global', 'halt', 'if', 'ilk', 'into', 'me', 'new', 'of',
			'on', 'or', 'otherwise', 'pass', 'property', 'put', 'repeat',
			'result', 'RETURN', 'set', 'tell', 'the', 'then', 'to', 'TRUE',
			'while', 'with'
			),
		2 => array(
			'abbr', 'abbrev', 'abbreviated', 'abs', 'activateWindow',
			'activeCastLib', 'activeWindow', 'actorList', 'add', 'addAt',
			'addProp', 'alert', 'alertHook', 'alignment',
			'allowCustomCaching', 'allowGraphicMenu', 'allowSaveLocal',
			'allowTransportControl', 'allowVolumeControl', 'allowZooming',
			'alphaThreshold', 'ancestor', 'antiAlias', 'append',
			'applicationPath', 'atan', 'autoTab', 'backColor', 'BACKSPACE',
			'beep', 'beepOn', 'beginRecording', 'beginSprite', 'bgColor',
			'blend', 'blendLevel', 'border', 'bottom', 'boxDropShadow',
			'boxType', 'buttonStyle', 'buttonType', 'call', 'callAncestor',
			'cancelIdleLoad', 'castLib', 'castLibNum', 'center',
			'centerRegPoint', 'centerStage', 'changeArea', 'channelCount',
			'char', 'charPosToLoc', 'chars', 'charToNum', 'checkBoxAccess',
			'checkBoxType', 'checkMark', 'chunkSize', 'clearFrame',
			'clearGlobals', 'clickLoc', 'clickOn', 'close', 'closeWindow',
			'closeXlib', 'color', 'colorDepth', 'commandDown', 'constrainH',
			'constraint', 'constrainV', 'continue', 'controlDown',
			'controller', 'copyToClipBoard', 'cos', 'count', 'cpuHogTicks',
			'crop', 'cuePassed', 'cuePointNames', 'cuePointTimes',
			'currentSpriteNum', 'currentTime', 'cursor', 'date',
			'deactivateWindow', 'delay', 'delete', 'deleteAll', 'deleteAt',
			'deleteFrame', 'deleteOne', 'deleteProp', 'depth',
			'deskTopRectList', 'digitalVideoTimeScale', 'digitalVideoType',
			'directToStage', 'dither', 'done', 'doubleClick', 'drawRect',
			'dropShadow', 'duplicate', 'member', 'duplicateFrame', 'duration',
			'editable', 'EMPTY', 'emulateMultiButtonMouse', 'enabled',
			'endFrame', 'endRecording', 'endSprite', 'ENTER', 'enterFrame',
			'environment', 'erase', 'exit', 'exitFrame', 'exitLock', 'exp',
			'externalParamCount', 'externalParamName', 'externalParamValue',
			'fadeIn', 'fadeOut', 'field', 'fileName', 'filled', 'findEmpty',
			'findPos', 'findPosNear', 'finishIdleLoad', 'fixStageSize',
			'flipH', 'flipV', 'float', 'floatP', 'floatPrecision', 'font',
			'fontSize', 'fontStyle', 'foreColor', 'forget', 'frame',
			'frameLabel', 'framePalette', 'frameRate', 'frameReady',
			'frameScript', 'frameSound1', 'frameSound2', 'framesToHMS',
			'frameTempo', 'frameTransition', 'freeBlock', 'freeBytes',
			'frontWindow', 'getaProp', 'getAt', 'getBehaviorDescription',
			'getBehaviorTooltip', 'getLast', 'getNthFileNameInFolder',
			'getOne', 'getPos', 'getPref', 'getProp', 'getPropAt',
			'getPropertyDescriptionList', 'globals', 'go', 'height', 'hilite',
			'hitTest', 'HMStoFrames', 'idle', 'idleHandlerPeriod',
			'idleLoadDone', 'idleLoadMode', 'idleLoadPeriod', 'idleLoadTag',
			'idleReadChunkSize', 'importFileInto', 'in', 'inflate', 'ink',
			'insertFrame', 'inside', 'installMenu', 'integer', 'integerP',
			'interface', 'intersect', 'intersects', 'isPastCuePoint', 'item',
			'itemDelimiter', 'key', 'keyboardFocusSprite', 'keyCode',
			'keyDown', 'keyDownScript', 'keyPressed', 'keyUp', 'keyUpScript',
			'label', 'labelList', 'last', 'lastChannel', 'lastClick',
			'lastEvent', 'lastFrame', 'lastKey', 'lastRoll', 'left', 'length',
			'line', 'lineCount', 'lineDirection', 'lineHeight',
			'linePosToLocV', 'lines', 'lineSize', 'list', 'listP', 'loaded',
			'loc', 'locH', 'locToCharPos', 'locV', 'locVToLinePos', 'locZ',
			'log', 'long', 'loop', 'map', 'mapMemberToStage',
			'mapStageToMember', 'margin', 'marker', 'max', 'maxInteger',
			'mci', 'media', 'mediaReady', 'memberNum', 'members',
			'memorySize', 'menu', 'milliseconds', 'min', 'modal', 'modified',
			'mostRecentCuePoint', 'mouseChar', 'mouseDown', 'mouseDownScript',
			'mouseItem', 'mouseLeave', 'mouseLine', 'mouseLoc', 'mouseMember',
			'mouseUp', 'mouseUpOutside', 'mouseUpScript', 'mouseV',
			'mouseWithin', 'mouseWord', 'move', 'moveableSprite',
			'moveToBack', 'moveToFront', 'moveWindow', 'movie',
			'movieAboutInfo', 'movieCopyrightInfo', 'movieFileFreeSize',
			'movieFileSize', 'movieName', 'moviePath', 'movieRate',
			'movieTime', 'movieXtraList', 'multiSound', 'name', 'netPresent',
			'netThrottleTicks', 'next', 'nothing', 'number', 'numToChar',
			'objectP', 'offset', 'open', 'openResFile', 'openWindow',
			'openXlib', 'optionDown', 'organizationName', 'pageHeight',
			'palette', 'paletteMapping', 'paletteRef', 'paragraph', 'param',
			'paramCount', 'pasteClipBoardInto', 'pathName', 'pattern',
			'pause', 'pausedAtStart', 'pauseState', 'PI', 'picture',
			'pictureP', 'platform', 'play', 'playFile', 'playing', 'point',
			'power', 'preLoad', 'preLoadEventAbort', 'preLoadMember',
			'preLoadMode', 'preLoadMovie', 'preLoadRAM', 'prepareFrame',
			'prepareMovie', 'previous', 'printFrom', 'puppet',
			'puppetPalette', 'puppetSound', 'puppetSprite', 'puppetTempo',
			'puppetTransition', 'purgePriority', 'quad', 'quit', 'QUOTE',
			'ramNeeded', 'random', 'randomSeed', 'rect', 'regPoint',
			'resizeWindow', 'restart', 'right', 'rightMouseDown',
			'rightMouseUp', 'rollOver', 'romanLingo', 'rotation', 'runMode',
			'runPropertyDialog', 'safePlayer', 'sampleRate', 'sampleSize',
			'save', 'saveMovie', 'score', 'scoreColor', 'scoreSelection',
			'script', 'scriptInstanceList', 'scriptNum', 'scriptsEnabled',
			'scriptText', 'scriptType', 'scrollByLine', 'scrollByPage',
			'scrollTop', 'searchCurrentFolder', 'searchPath', 'searchPaths',
			'selection', 'selEnd', 'selStart', 'sendAllSprites', 'sendSprite',
			'serialNumber', 'setaProp', 'setAt', 'setPref', 'setProp',
			'setTrackEnabled', 'shapeType', 'shiftDown', 'short',
			'showGlobals', 'showLocals', 'showResFile', 'showXlib',
			'shutDown', 'sin', 'size', 'skew', 'sort', 'sound', 'soundBusy',
			'soundDevice', 'soundDeviceList', 'soundEnabled',
			'soundKeepDevice', 'soundLevel', 'sourceRect', 'SPACE', 'sprite',
			'spriteNum', 'sqrt', 'stage', 'stageBottom', 'stageColor',
			'stageLeft', 'stageRight', 'stageTop', 'startFrame', 'startMovie',
			'startTime', 'startTimer', 'stepFrame', 'stillDown', 'stop',
			'stopEvent', 'stopMovie', 'stopTime', 'string', 'stringP',
			'switchColorDepth', 'symbol', 'symbolP', 'systemDate', 'TAB',
			'tan', 'text', 'thumbnail', 'ticks', 'time', 'timeOut',
			'timeoutKeyDown', 'timeoutLapsed', 'timeoutLength',
			'timeoutMouse', 'timeoutPlay', 'timeoutScript', 'timer',
			'timeScale', 'title', 'titleVisible', 'top', 'trace', 'traceLoad',
			'traceLogFile', 'trackCount', 'trackEnabled', 'trackNextKeyTime',
			'trackNextSampleTime', 'trackPreviousKeyTime',
			'trackPreviousSampleTime', 'trackStartTime', 'trackStopTime',
			'trackText', 'trails', 'transitionType', 'tweened', 'type',
			'union', 'unLoad', 'unLoadMember', 'unloadMovie', 'updateFrame',
			'updateLock', 'updateMovieEnabled', 'updateStage', 'useAlpha',
			'userName', 'value', 'version', 'video', 'videoForWindowsPresent',
			'visible', 'VOID', 'voidP', 'volume', 'width', 'window',
			'windowList', 'windowPresent', 'windowType', 'word', 'wordWrap',
			'xtra', 'xtraList', 'xtras', 'zoomBox', 'zoomWindow'
			)
		),
	'SYMBOLS' => array(
	    '#'
		),
	'CASE_SENSITIVE' => array(
		GESHI_COMMENTS => false,
		1 => false
		),
	'STYLES' => array(
		'KEYWORDS' => array(
			1 => 'color: #0000C3;',
			2 => 'color: #004000;'
			),
		'COMMENTS' => array(
			1 => 'color: #BA0000;'
			),
		'BRACKETS' => array(
			0 => 'color: #000000;'
			),
		'STRINGS' => array(
			0 => 'color: #404040;'
			),
		'NUMBERS' => array(
			0 => 'color: #404040;'
			),
		'METHODS' => array(
			1 => 'color: #000000;'
			),
		'SYMBOLS' => array(
			0 => 'color: #004000;'
			),
		'ESCAPE_CHAR' => array(
			0 => 'color: #000000;'
			),
		'SCRIPT' => array(
			),
		'REGEXPS' => array(
			)
		),
	'OOLANG' => true,
	'OBJECT_SPLITTERS' => array(
		1 => '.'
		),
	'REGEXPS' => array(
		),
	'STRICT_MODE_APPLIES' => GESHI_NEVER,
	'SCRIPT_DELIMITERS' => array(
		),
	'HIGHLIGHT_STRICT_BLOCK' => array(
		)
);

Initial URL


Initial Description
Lingo Syntax Highlighter for GeSHi

Initial Title
Lingo Syntax Highlighter

Initial Tags


Initial Language
PHP