David Wolever avatar David Wolever committed 463d168

Added actionscript hl for vim.

Comments (0)

Files changed (7)

bazaar/bazaar.conf

 [DEFAULT]
 email = David Wolever <david@wolever.net>
+
 [ALIASES]
 ci = ci --show-diff
 diff = cdiff
 pup = push-and-update
 del = rm
+show = log -pvr
 
 #export ECF="woleverd@p`expr '(' $RANDOM % 5 ')' + 1`.ecf.utoronto.ca"
 export ECF="woleverd@p164.ecf.utoronto.ca"
+export ES="ensisolutions@ensisolutions.com"
 export CDF="g7woleve@cdf.toronto.edu"
 export CS="cs.toronto.edu"
 export SWC="swc@swc.scipy.org"

vim/ftdetect/actionscript.vim

+au BufNewFile,BufRead *.as set filetype=actionscript

vim/ftplugin/bzrlog.vim

-" Vim filetype plugin file
-" Language:	Bazaar-NG (bzr) commit file
-" Maintainer:	Adeodato Simó <dato@net.com.org.es>
-" BranchURL:	http://people.debian.org/~adeodato/code/bzr/bzr-vim
-
-" Description:
-" This plugin provides the following functionality:
-"   - options to have completion search inside files being commited
-"     (handy eg. to complete class or method names).
-"   - a function to insert the diff of the files being commited into the
-"     file. It is accessible via ":Diff", and also with "<LocalLeader>d".
-"     The <Ctrl-]> key binding, normally used to jump to tags, is mapped
-"     to invoking the function with the file under the cursor as argument.
-
-" Variables:
-" You may set the following variables in your ~/.vimrc:
-"   - bzr_command: name (or full path) of the bzr executable (default: bzr).
-"   - bzrlog_auto_diff: if set, the commit diff is automatically
-"                       inserted when opening the file.
-"   - no_bzrlog_maps (or no_plugin_maps): disable the mappings.
-
-if exists('b:did_ftplugin')
-    finish
-endif
-let b:did_ftplugin = 1
-
-if exists('g:bzr_command')
-    let s:bzr_command = g:bzr_command
-else
-    let s:bzr_command = 'bzr'
-endif
-
-" Options:
-" Make completion search in commited files
-setlocal include=^\ \ \\zs.*[^/]$
-
-" Path:
-let b:bzr_root = getcwd()
-while ! isdirectory(b:bzr_root . '/.bzr')
-    let b:bzr_root = substitute(b:bzr_root, '/[^/]\+/\?$', '', '')
-endw
-let &l:path = b:bzr_root . &l:path
-
-" Commands:
-command -buffer -nargs=* -complete=file Diff call <SID>InsertDiff(<f-args>)
-
-" Mappings:
-if !exists("no_plugin_maps") && !exists("no_bzrlog_maps")
-    if !hasmapto('<Plug>InsertDiff')
-    	map <buffer> <unique> <LocalLeader>d <Plug>InsertDiff
-    endif
-    noremap <buffer> <unique> <Plug>InsertDiff :call <SID>InsertDiff()<CR>
-
-    if !hasmapto('<Plug>InsertFileDiff')
-    	map <buffer> <unique> <C-]> <Plug>InsertFileDiff
-    endif
-    noremap <buffer> <unique> <Plug>InsertFileDiff :call <SID>InsertFileDiff()<CR>
-endif
-
-" Functions:
-if !exists("*s:CommitFiles")
-    function s:CommitFiles()
-    	let files = ''
-    	call cursor(1, 1)
-	call search('^-\{10,} .* -\{10,}$')
-	while 1
-	    if search('^\(added\|removed\|modified\):$', 'W')
-	    	let i = 1
-		let l = line(".")
-	    	while 1
-		    let line = getline(i+l)
-		    if match(line, '  ', 0) != 0
-		    	break
-		    endif
-	    	    let files = files . line
-		    let i = i+1
-		endw
-	    else
-	    	break
-	    endif
-	endw
-	return files
-    endf
-endif
-
-if !exists("*s:InsertFileDiff")
-    function s:InsertFileDiff()
-    	normal yaW
-	call <SID>InsertDiff(getreg('"'))
-    endf
-end
-
-if !exists("*s:InsertDiff")
-    function s:InsertDiff(...)
-	if a:0 > 0
-	    " no a:000 to be vim6-compatible
-	    let i = 1
-    	    let args = ''
-	    while i <= a:0
-	    	let args = args . ' ' . escape(a:{i}, ' ')
-	    	let i = i+1
-	    endw
-	else
-	    let args = s:CommitFiles()
-	endif
-
-	let l = line('$')
-	call append(l, '# start diff')
-	call append(l, '')
-	call cursor(l+2, 1)
-	exe 'read! cd "'.b:bzr_root.'"; env BZR_PROGRESS_BAR=none '.s:bzr_command.' diff '.args
-	call cursor(l+1, 1)
-    endf
-endif
-
-if exists('g:bzrlog_auto_diff')
-    call <SID>InsertDiff()
-endif
-
-" Undo:
-let b:undo_ftplugin = "setlocal path< include< iskeyword<"
-    \ . "| unlet b:bzr_root"
-    \ . "| delcommand Diff"
+set filetype=diff

vim/ftplugin/python.vim

 let python_highlight_space_errors=1
 let python_highlight_numbers=1
 
+syn match Error /;$/
+syn match Error /this./
+
  " Let :make compile python programs
 " setlocal makeprg=python\ -c\ \"import\ py_compile,sys;\sys.stderr=sys.stdout;\ py_compile.compile(r'%')\"
 setlocal makeprg=python\ %

vim/syntax/actionscript.vim

+" Vim syntax file
+" Language:	actionScript
+" Maintainer:	Igor Dvorsky <amigo@modesite.net>
+" URL:		http://www.modesite.net/vim/actionscript.vim
+" Last Change:	2002 Sep 12
+" Updated to support AS 2.0 2004 March 12 by Richard Leider  (richard@appliedrhetoric.com)
+" Updated to support new AS 2.0 Flash 8 Language Elements 2005 September 29 (richard@appliedrhetoric.com)
+" Updated to support AS 3.0 Language Elements 2009 March 03 (richard@appliedrhetoric.com)
+
+
+" For version 5.x: Clear all syntax items
+" For version 6.x: Quit when a syntax file was already loaded
+if !exists("main_syntax")
+  if version < 600
+    syntax clear
+  elseif exists("b:current_syntax")
+  finish
+endif
+  let main_syntax = 'actionscript'
+endif
+
+" based on "JavaScript" VIM syntax by Claudio Fleiner <claudio@fleiner.com>
+
+syn case ignore
+syn match   actionScriptLineComment			"\/\/.*$"
+syn match   actionScriptCommentSkip			"^[ \t]*\*\($\|[ \t]\+\)"
+syn region  actionScriptCommentString			start=+"+  skip=+\\\\\|\\"+  end=+"+ end=+\*/+me=s-1,he=s-1 contains=actionScriptSpecial,actionScriptCommentSkip,@htmlPreproc
+syn region  actionScriptComment2String			start=+"+  skip=+\\\\\|\\"+  end=+$\|"+  contains=actionScriptSpecial,@htmlPreproc
+syn region  actionScriptComment				start="/\*"  end="\*/" contains=actionScriptCommentString,actionScriptCharacter,actionScriptNumber
+syn match   actionScriptSpecial				"\\\d\d\d\|\\."
+syn region  actionScriptStringD				start=+"+  skip=+\\\\\|\\"+  end=+"+  contains=actionScriptSpecial,@htmlPreproc
+syn region  actionScriptStringS				start=+'+  skip=+\\\\\|\\'+  end=+'+  contains=actionScriptSpecial,@htmlPreproc
+syn match   actionScriptSpecialCharacter		"'\\.'"
+syn match   actionScriptNumber				"-\=\<\d\+L\=\>\|0[xX][0-9a-fA-F]\+\>"
+syn keyword actionScriptConditional			if else and or not
+syn keyword actionScriptRepeat				do while for in
+syn keyword actionScriptCase				break continue switch case default
+syn keyword actionScriptConstructor			new
+syn keyword actionScriptObjects				arguments Array Boolean Date _global Math Number Object String super var this Accessibility Color Key _level Mouse _root Selection Sound Stage System TextFormat LoadVars XML XMLSocket XMLNode LoadVars Button TextField TextSnapshot CustomActions Error ContextMenu ContextMenuItem NetConnection NetStream Video PrintJob MovieClipLoader StyleSheet Camera LocalConnection Microphone SharedObject MovieClip
+syn keyword actionScriptStatement			return with
+syn keyword actionScriptFunction			function on onClipEvent
+syn keyword actionScriptValue				true false undefined null NaN void
+syn keyword actionScriptArray				concat join length pop push reverse shift slice sort sortOn splice toString unshift
+syn keyword actionScriptDate				getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear UTC 
+syn keyword actionScriptMath				abs acos asin atan atan2 ceil cos E exp floor log LOG2E LOG10E LN2 LN10 max min PI pow random round sin sqrt SQRT1_2 SQRT2 tan -Infinity Infinity
+syn keyword actionScriptNumberObj			MAX_VALUE MIN_VALUE NaN NEGATIVE_INFINITY POSITIVE_INFINITY valueOf 
+syn keyword actionScriptObject				addProperty __proto__ registerClass toString unwatch valueOf watch
+syn keyword actionScriptString				charAt charCodeAt concat fromCharCode indexOf lastIndexOf length slice split substr substring toLowerCase toUpperCase add le lt gt ge eq ne chr mbchr mblength mbord mbsubstring ord
+syn keyword actionScriptColor				getRGB getTransform setRGB setTransform
+syn keyword actionScriptKey					addListener BACKSPACE CAPSLOCK CONTROL DELETEKEY DOWN END ENTER ESCAPE getAscii getCode HOME INSERT isDown isToggled LEFT onKeyDown onKeyUp PGDN PGUP removeListener RIGHT SHIFT SPACE TAB UP ALT
+syn keyword actionScriptMouse				hide onMouseDown onMouseUp onMouseMove show onMouseWheel
+syn keyword actionScriptSelection			getBeginIndex getCaretIndex getEndIndex getFocus setFocus setSelection	
+syn keyword actionScriptSound				attachSound duration getBytesLoaded getBytesTotal getPan getTransform getVolume loadSound onLoad onSoundComplete position setPan setTransform setVolume start stop onID3
+syn keyword actionScriptStage				align height onResize scaleMode width
+syn keyword actionScriptSystem				capabilities hasAudioEncoder hasAccessibility hasAudio hasMP3 language manufacturer os pixelAspectRatio screenColor screenDPI screenResolution.x screenResolution.y version hasVideoEncoder security useCodepage exactSettings hasEmbeddedVideo screenResolutionX screenResolutionY input isDebugger serverString hasPrinting playertype hasStreamingAudio hasScreenBroadcast hasScreenPlayback hasStreamingVideo avHardwareDisable localFileReadDisable windowlesDisable active update description forceSimple noAutoLabeling shortcut silent
+syn keyword actionScriptTextFormat			align blockIndent bold bullet color font getTextExtent indent italic leading leftMargin rightMargin size tabStops target underline url	
+syn keyword actionScriptCommunication		contentType getBytesLoaded getBytesTotal load loaded onLoad send sendAndLoad toString	addRequestHeader fscommand MMExecute
+syn keyword actionScriptXMLSocket			close connect onClose onConnect onData onXML
+syn keyword actionScriptTextField			autoSize background backgroundColor border borderColor bottomScroll embedFonts _focusrect getDepth getFontList getNewTextFormat getTextFormat hscroll html htmlText maxChars maxhscroll maxscroll multiline onChanged onScroller onSetFocus _parent password _quality removeTextField replaceSel replaceText restrict selectable setNewTextFormat setTextFormat text textColor textHeight textWidth type variable wordWrap condenseWhite mouseWheelEnabled textFieldHeight textFieldWidth ascent descent
+syn keyword actionScriptMethods				callee caller _alpha attachMovie beginFill beginGradientFill clear createEmptyMovieClip createTextField _currentframe curveTo _droptarget duplicateMovieClip enabled endFill focusEnabled _framesloaded getBounds globalToLocal gotoAndPlay gotoAndStop _height _highquality hitArea hitTest lineStyle lineTo loadMovie loadMovieNum loadVariables loadVariablesNum localToGlobal moveTo _name nextFrame onDragOut onDragOver onEnterFrame onKeyDown onKeyUp onKillFocus onMouseDown onMouseMove onMouseUp onPress onRelease onReleaseOutside onRollOut onRollOver onUnload play prevFrame removeMovieClip _rotation setMask _soundbuftime startDrag stopDrag swapDepths tabChildren tabIndex _target _totalframes trackAsMenu unloadMovie unloadMovieNum updateAfterEvent _url useHandCursor _visible _width _x _xmouse _xscale _y _ymouse _yscale tabEnabled asfunction call setInterval clearInterval setProperty stopAllSounds #initclip #endinitclip delete unescape escape eval apply prototype getProperty getTimer getURL getVersion ifFrameLoaded #include instanceof int new nextScene parseFloat parseInt prevScene print printAsBitmap printAsBitmapNum printNum scroll set targetPath tellTarget toggleHighQuality trace typeof isActive getInstanceAtDepth getNextHighestDepth getNextDepth getSWFVersion getTextSnapshot isFinite isNAN updateProperties _lockroot get install list uninstall showMenu onSelect builtInItems save zoom quality loop rewind forward_back customItems caption separatorBefore visible attachVideo bufferLength bufferTime currentFps onStatus pause seek setBuffertime smoothing time bytesLoaded bytesTotal addPage paperWidth paperHeight pageWidth pageHeight orientation loadClip unloadClip getProgress onLoadStart onLoadProgress onLoadComplete onLoadInit onLoadError styleSheet copy hideBuiltInItem transform activityLevel allowDomain allowInsecureDomain attachAudio bandwidth deblocking domain flush fps gain getLocal getRemote getSize index isConnected keyFrameInterval liveDelay loopback motionLevel motionTimeOut menu muted names onActivity onSync publish rate receiveAudio receiveVideo setFps setGain setKeyFrameInterval setLoopback setMode setMotionLevel setQuality setRate setSilenceLevel setUseEchoSuppression showSettings setClipboard silenceLevel silenceTimeOut useEchoSuppression
+syn match   actionScriptBraces				"([{}])"
+syn keyword actionScriptException 			try catch finally throw name message
+syn keyword actionScriptXML					attributes childNodes cloneNode createElement createTextNode docTypeDecl status firstChild hasChildNodes lastChild insertBefore nextSibling nodeName nodeType nodeValue parentNode parseXML previousSibling removeNode xmlDecl ignoreWhite
+syn keyword actionScriptArrayConstant 		CASEINSENSITIVE DESCENDING UNIQUESORT RETURNINDEXEDARRAY NUMERIC
+syn keyword actionScriptStringConstant 		newline
+syn keyword actionScriptEventConstant 		press release releaseOutside rollOver rollOut dragOver dragOut enterFrame unload mouseMove mouseDown mouseUp keyDown keyUp data
+syn keyword actionScriptTextSnapshot 		getCount setSelected getSelected getText getSelectedText hitTestTextNearPos findText setSelectColor
+syn keyword actionScriptID3 				id3 artist album songtitle year genre track comment COMM TALB TBPM TCOM TCON TCOP TDAT TDLY TENC TEXT TFLT TIME TIT1 TIT2 TIT3 TKEY TLAN TLEN TMED TOAL TOFN TOLY TOPE TORY TOWN TPE1 TPE2 TPE3 TPE4 TPOS TPUB TRCK TRDA TRSN TRSO TSIZ TSRX TSSE TYER WXXX
+syn keyword actionScriptAS2 				class extends public private static interface implements import dynamic evaluate package const include use protected native internal override final 
+syn keyword actionScriptStyleSheet 			parse parseCSS getStyle setStyle getStyleNames
+syn keyword flash8Functions                             onMetaData onCuePoint flashdisplay flashexternal flashfilters flashgeom flashnet flashtext addCallback applyFilter browse cancel clone colorTransform  containsPoint containsRectangle copyChannel copyPixels createBox createGradientBox deltaTransformPoint dispose download draw equals fillRect floodFill generateFilterRect getColorBoundsRect getPixel getPixel32 identity inflate inflatePoint interpolate intersection intersects invert isEmpty loadBitmap merge noise normalize offsetPoint paletteMap perlinNoise pixelDissolve polar rotate scale setAdvancedAntialiasingTable setEmpty setPixel setPixel32 subtract threshold transformPoint translate union upload
+syn keyword flash8Constants  				ALPHANUMERIC_FULL ALPHANUMERIC_HALF CHINESE JAPANESE_HIRAGANA JAPANESE_KATAKANA_FULL JAPANESE_KATAKANA_HALF KOREAN UNKNOWN
+syn keyword flash8Properties 				appendChild cacheAsBitmap opaqueBackground scrollRect keyPress #initclip #endinitclip kerning letterSpacing onHTTPStatus lineGradientStyle IME windowlessDisable hasIME hideBuiltInItems onIMEComposition getEnabled setEnabled getConversionMode setConversionMode setCompositionString doConversion idMap antiAliasType available bottom bottomRight concatenatedColorTransform concatenatedMatrix creationDate creator fileList maxLevel modificationDate pixelBounds rectangle rgb top topLeft attachBitmap beginBitmapFill blendMode filters getRect scale9Grid gridFitType sharpness thickness
+syn keyword flash8Classes 			BevelFilter BitmapData BitmapFilter BlurFilter ColorMatrixFilter ColorTransform ConvolutionFilter DisplacementMapFilter DropShadowFilter ExternalInterface FileReference FileReferenceList GlowFilter GradientBevelFilter GradientGlowFilter Matrix Point Rectangle TextRenderer StageAlign
+
+syn keyword as3Properties 			compare pixelSnapping loaderInfo  mask  mouseX  mouseY  parent  root  rotation  scaleX  scaleY  x  y mouseChildren numChildren fontName  fontStyle  enumerate  hasGlyphs frame accessibilityImplementation focusRect mouseEnabled content loadeeInfo actionScriptVersion  applicationDomain  frameRate  loaderURL  parameters  securityRelationshipFlags  shared  swfVersion currentFrame  currentLabel  currentScene  framesLoaded  scenes  totalFrames labels numFrames downState hitTestState overState soundTransform upState buttonMode dropTarget focus showDefaultContextMenu  stageFocusRect  stageHeight  stageWidth alwaysShowSelection  bottomScrollV  caretIndex  defaultTextFormat  fontList  maxScrollH  maxScrollV  numLines  scrollH  scrollV  selectionBeginIndex  selectionEndIndex activity mouseTarget contextMenuOwner fullYear month hours minutes seconds milliseconds fullYearUTC monthUTC dateUTC hoursUTC minutesUTC secondsUTC millisecondsUTC timezoneOffset day dayUTC errorID prefix uri localName  ignoreProcessingInstructions ignoreWhitespace ignoreWhitespace ignoreWhitespace hasComplexContent hasSimpleContent inScopeNamespaces namespaceDeclarations nodeKind processingInstructions setChildren setLocalName setName setNamespace setSettings toXMLString ignoreComments attribute child childIndex children comments descendants defaultSettings elements prettyPrinting prettyIndent settings actionsList horizontalScrollPolicy verticalScrollPolicy horizontalLineScrollSize verticalLineScrollSize horizontalScrollPosition verticalScrollPosition maxHorizontalScrollPosition maxVerticalScrollPosition useBitmapScrolling horizontalPageScrollSize verticalPageScrollSize horizontalScrollBar verticalScrollBar percentLoaded autoLoad scaleContent maintainAspectRatio selected autoRepeat emphasized autoRepeat selectedColor hexValue editable showTextField colors imeMode rowCount  selectedIndex     labelField labelFunction selectedItem dropdown value dataProvider dropdownWidth prompt sortableColumns itemEditorInstance columns minColumnWidth rowHeight headerHeight showHeaders sortIndex sortDescending editedItemRenderer editedItemPosition label labelPlacement maximum minimum nextValue previousValue stepSize direction indeterminate percentComplete mode groupName group selectedData numRadioButtons scrollPosition minScrollPosition minScrollPosition maxScrollPosition pageSize pageScrollSize pageScrollSize direction allowMultipleSelection selectedIndices selectedItems lineScrollSize tickInterval snapInterval liveDragging displayAsPassword sourceField sourceFunction columnCount columnWidth innerWidth innerHeight scrollTarget listData sortable resizable itemEditor editorDataField dataField dataField cellRenderer headerRenderer headerText minWidth sortCompareFunction column FieldlineScrollSize sortOptions icon owner row mouseFocusEnabled focusManager itemRenderer reason rowIndex columnIndex item delta keyCode triggerEvent clickTarget autoReplace languageCodeArray stringIDArray onUpdate myInstance defaultButton defaultButtonEnabled nextTabIndex showFocusIndicator defaultButton defaultButtonEnabled nextTabIndex showFocusIndicator registerInstance getComponentStyle clearComponentStyle setComponentStyle fromXMLString getValue getSingleValue getYForX getCubicCoefficients getCubicRoots getQuadraticRoots fromXML  interpolateTransform interpolateColor setTint getValue easingFunction functionName setValue getTween getScaleX setScaleX getScaleY setScaleY getSkewXRadians setSkewXRadians getSkewYRadians setSkewYRadians getSkewX setSkewX getSkewY getSkewY setSkewY getRotationRadians setRotationRadians getRotation setRotation rotateAroundInternalPoint rotateAroundExternalPoint matchInternalPointWithExternal getCurrentKeyframe getNextKeyframe setValue getColorTransform getFilters addKeyframe interpolateFilters interpolateFilter easeIn easeOut easeInOut easeNone transformationPoint autoRewind positionMatrix repeatCount motion isPlaying orientToPath points a b c d brightness tintColor tintMultiplier points affectsTweenable skewX skewY tweens easeQuadPercent tweenScale tweenSnap tweenSync firstFrame rotateDirection rotateTimes blank keyframes keyframesCompact easeNone ease elementType symbolName instanceName linkageID dimensions resume contentAppearance obj prop func begin useSeconds looping finish vp captionCuePointObject captionTarget playWhenEnoughDownloaded seekSeconds seekPercent playheadPercentage preview activeVideoPlayerIndex autoPlay bitrate bufferingBar bufferingBarHidesAndDisablesOthers backButton cuePoints forwardButton fullScreenBackgroundColor fullScreenButton fullScreenSkinDelay fullScreenTakeOver idleTimeout isRTMP isLive metadata metadataLoaded muteButton ncMgr pauseButton playButton playheadTime playheadUpdateInterval playPauseButton preferredHeight preferredWidth progressInterval registrationX registrationY registrationWidth registrationHeight scrubbing seekBar seekBarInterval seekBarScrubTolerance seekToPrevOffset skin skinAutoHide skinBackgroundAlpha skinBackgroundColor skinFadeTime skinScaleMaximum stateResponsive stopButton totalTime visibleVideoPlayerIndex volume volumeBar volumeBarIntervalvolumeBarScrubTolerance showCaptions autoLayout captionTargetName captionButton flvPlaybackName videoPlayerIndex simpleFormatting helperDone videoPlayer timeout streamName streamLength streamWidth volumeBarInterval volumeBarScrubTolerance streamHeight oldBounds oldRegistrationBounds info fallbackServerName code ncConnected ncReconnected iNCManagerClass netStreamClientClass lock unlock rect  accessibilityProperties doubleClickEnabled contentLoaderInfo sharedEvents sameDomain childAllowsParent parentAllowsChild bytes currentLabels displayState fullScreenSourceRect fullScreenWidth fullScreenHeight activating isDefaultPrevented bubbles volumeBarInterval videoHeight cancelable currentTarget relatedObject shiftKey charCode keyLocation ctrlKey altKey localX localY buttonDown stageX stageY level changeList objectID distance angle highlightColor highlightAlpha shadowColor shadowAlpha blurX blurY knockout strength matrixX matrixY divisor bias preserveAlpha mapBitmap mapPoint componentX componentY hideObject alphas ratios redMultiplier greenMultiplier blueMultiplier alphaMultiplier redOffset greenOffset blueOffset alphaOffset tx ty offset songName leftPeak rightPeak videoWidth extension macType client connected client defaultObjectEncoding objectEncoding proxyType connectedProxyType usingTLS bytesAvailable endian dataFormat method requestHeaders hasTLS conversionMode securityDomain currentDomain totalMemory fontSize insideCutoff outsideCutoff sandboxType styleNames useRichTextClipboard displayMode charCount forwardAndBack isAccessible numLock nextNameIndex nextName delay  currentCount running namespaceURI
+
+syn keyword as3Classes				Bitmap BitmapDataChannel CapsStyle DisplayObject DisplayObjectContainer FrameLabel GradientType Graphics InteractiveObject InterpolationMethod JointStyle LineScaleMode Loader MorphShape Scene Shape SimpleButton SpreadMethod Sprite StageQuality StageScaleMode StaticText TextFieldAutoSize TextFieldType ActivityEvent ContextMenuEvent RegExp Namespace uint XMLList constructor QName XMLUI AccImpl ButtonAccImpl CheckBoxAccImpl ComboBoxAccImpl DataGridAccImpl LabelButtonAccImpl ListAccImpl RadioButtonAccImpl SelectableListAccImpl TileListAccImpl UIComponentAccImpl BaseScrollPane ScrollPane UILoader BaseButton ButtonLabelPlacement CheckBox ColorPicker ComboBox DataGrid Label LabelButton NumericStepper ProgressBar ProgressBarDirection ProgressBarMode RadioButton RadioButtonGroup ScrollBar ScrollBarDirection ScrollPolicy SelectableList Slider SliderDirection TextArea TextInput TileList UIScrollBar DataGridCellEditor DataGridColumn HeaderRenderer CellRenderer ICellRenderer ImageCell TileListData IndeterminateBar DataChangeType InvalidationType UIComponent SimpleCollectionItem DataGridEventReason TileListCollectionItem InteractionInputType SliderEventClickTarget Locale LivePreviewParent IFocusManager IFocusManagerComponent IFocusManagerGroup StyleManager Animator MotionEvent BezierEase BezierSegment CustomEase FunctionEase ITween Keyframe MatrixTransformer FLVPlayback FLVPlaybackCaptioning NCManager VideoScaleMode VideoState SimpleEase Tweenables Back Bounce Circular Cubic Elastic Exponential Quadratic Quartic Quintic Sine Blinds Fade Fly Iris Photo Squeeze Transition TransitionManager Tween Wipe Strong CuePointType INCManager NCManagerNative VideoAlign AccessibilityProperties AVM1Movie IBitmapDrawable StageDisplayState LoaderInfo EventDispatcher EventPhase IEventDispatcher BitmapFilterQuality BitmapFilterType DisplacementMapFilterMode ID3Info SoundChannel SoundLoaderContext SoundMixer FileFilter IDynamicPropertyOutput IDynamicPropertyWriter ObjectEncoding Responder SharedObjectFlushStatus DoynamicPropertyWriter Socket URLLoader URLLoaderDataFormat URLRequest URLRequestHeader URLRequestMethod URLStream URLVariables PrintJobOptions PrintJobOrientation IMEConversionMode LoaderContext SecurityDomain SecurityPanel CSMSettings FontType TextColorType TextDisplayMode TextFormatAlign TextLineMetrics ContextMenuBuiltInItems ByteArray Dictionary IDataInput IDataOutput IExternalizable Proxy XMLDocument XMLNodeType
+syn keyword as3Packages					flash display errors events fl mx utils adobe containers controls dataGridClasses listClasses progressBarClasses core lang livepreview managers motion easing transitions external geom media net printing profiler ui
+syn keyword as3Functions			getPixels setPixels hitTestObject hitTestPoint addChild  addChildAtareInaccessibleObjectsUnderPoint getChildAt  getChildByName  getChildIndex  getObjectsUnderPoint  removeChild  removeChildAt  setChildIndex addChildAt  areInaccessibleObjectsUnderPoint drawCircle  drawEllipse  drawRect  drawRoundRect  drawRoundRectComplex releaseCapture setCapture loadBytes invalidate  isFocusInaccessible appendText  getCharBoundaries  getCharIndexAtPoint  getFirstCharInParagraph  getImageReference  getLineIndexAtPoint  getLineIndexOfChar  getLineLength  getLineMetrics  getLineOffset  getLineText  getParagraphLength replaceSelectedText every filter forEach map  some toLocaleString toDateString toTimeString toLocaleString toLocaleDateString toLocaleTimeString toUTCString getStackTrace toFixed toExponential toPrecision decodeURI decodeURIComponent encodeURI encodeURIComponent isXMLName hasOwnProperty propertyIsEnumerable isPrototypeOf setPropertyIsEnumerable exec test dotall extended global ignoreCase lastIndex source localeCompare replace match search toLocaleLowerCase toLocaleUpperCase addNamespace insertChildAfter insertChildBefore prependChild removeNamespace installActions uninstallActions getActions accept enableAccessibility getStyleDefinition refreshPane scrollDrag setSize setMouseState drawFocus toggle itemToLabel addItem addItemAt removeAll removeItem removeItemAt getItemAt replaceItemAt sortItems sortItemsOn addColumnAt removeColumnAt removeAllColumns getColumnAt getColumnIndex getColumnCount spaceColumnsEqually editField itemToCellRenderer createItemEditor destroyItemEditor getCellRendererAt scrollToIndex resizableColumns addColumn iconField iconFunction setProgress reset getGroup addRadioButton removeRadioButton getRadioButtonIndex getRadioButtonAt setScrollProperties clearSelection invalidateList invalidateItem invalidateItemAt isItemSelected scrollToSelected scrollToSelected setRendererStyle getRendererStyle clearRendererStyle getNextIndexAtLetter mergeStyles clearStyle move validateNow drawNow addItemsAt addItems getItemIndex replaceItem toArray getDefaultLang setDefaultLang addXMLPath addDelayedInstance checkXMLStatus setLoadCallback loadString loadStringEx setString initialize loadLanguageXML getNextFocusManagerComponent showFocus hideFocus findFocusManagerComponent showFocus hideFocus findFocusManagerComponent getNextFocusManagerComponent startTransition continueTo yoyo fforward setScale seekToNavCuePoint seekToNextNavCuePoint seekToPrevNavCuePoint addASCuePoint removeASCuePoint findCuePoint findNearestCuePoint findNearestCuePoint setFLVCuePointEnabled isFLVCuePointEnabled bringVideoPlayerToFront getVideoPlayer closeVideoPlayer enterFullScreenDisplayState findNextCuePointWithName connectToURL connectAgain reconnect swapChildrenAt swapChildren getLoaderInfoByDefinition addEventListener dispatchEvent hasEventListener willTrigger swapChildrenAt formatToString stopPropagation stopImmediatePropagation preventDefault removeEventListener marshallExceptions getCamera getMicrophone containsRect isBuffering checkPolicyFile stopAll computeSpectrum areSoundsInaccessible leftToLeft leftToRight rightToRight rightToLeft pan attachNetStream attachCamera writeDynamicProperty writeDynamicProperties addHeader togglePause registerClassAlias getClassByAlias navigateToURL sendToURL setDirty readBytes writeBytes writeBoolean writeByte writeShort writeInt writeUnsignedInt writeFloat writeDouble writeMultiByte writeUTF writeUTFBytes readBoolean readByte readUnsignedByte readShort readUnsignedShort readInt readUnsignedInt readFloat readDouble readMultiByte readUTF readUTFBytes writeObject readObject decode showRedrawRegions getDefinition hasDefinition currentDomain parentDomain loadPolicyFile exit gc enumerateFonts registerFont getTextRunInfo compress uncompress writeExternal readExternal describeType getQualifiedClassName getDefinitionByName getQualifiedSuperclassName escapeMultiByte unescapeMultiByte setTimeout clearTimeout callProperty hasProperty deleteProperty getDescendants isAttribute getNamespaceForPrefix getPrefixForNamespace 
+
+syn keyword as3Constants			ALPHA BLUE GREEN RED DARKEN  DIFFERENCE  ERASE  HARDLIGHT  LAYER  LIGHTEN  MULTIPLY  NORMAL  OVERLAY  SCREEN  NONE  SQUARE LINEAR RADIAL LINEAR_RGB BEVEL MITER HORIZONTAL VERTICAL LOADER_SECURITY_CHILD_ALLOWS_PARENT  LOADER_SECURITY_PARENT_ALLOWS_CHILD  LOADER_SECURITY_SAME_DOMAIN ALWAYS AUTO NEVER PAD REFLECT REPEAT BOTTOM_LEFT  BOTTOM_RIGHT  TOP_LEFT  TOP_RIGHT  BEST  HIGH  LOW  MEDIUM  EXACT_FIT  NO_BORDER  NO_SCALE  SHOW_ALL CENTER MENU_ITEM_SELECT  MENU_SELECT  ACTIVATE  ADDED  CHANGE  COMPLETE  DEACTIVATE  ENTER_FRAME  INIT  MOUSE_LEAVE  OPEN  REMOVED  RENDER  RESIZE  SELECT  SOUND_COMPLETE  TAB_CHILDREN_CHANGE  TAB_ENABLED_CHANGE  TAB_INDEX_CHANGE  TIMER_COMPLETE AT_TARGET  BUBBLING_PHASE  CAPTURING_PHASE  FOCUS_IN  FOCUS_OUT  KEY_FOCUS_CHANGE  MOUSE_FOCUS_CHANGE  HTTP_STATUS  IME_COMPOSITION  IO_ERROR  KEY_DOWN  KEY_UP  CLICK  DOUBLE_CLICK  MOUSE_DOWN  MOUSE_MOVE  MOUSE_OUT  MOUSE_OVER  MOUSE_UP  MOUSE_WHEEL  ROLL_OUT  ROLL_OVER  NET_STATUS  POLICY_FILE  PROGRESS  SOCKET_DATA  SECURITY_ERROR  SYNC  LINK  TEXT_INPUT  TIMER  FULL  INNER  OUTER  CLAMP  IGNORE  WRAP  BINARY  VARIABLES  AMF0  AMF3  POST  LANDSCAPE  PORTRAIT  LOCAL_STORAGE  PRIVACY  SETTINGS_MANAGER  ADVANCED  GLOBAL_ADVANCED_ANTIALIASING_OFF  GLOBAL_ADVANCED_ANTIALIASING_ON  GLOBAL_ADVANCED_ANTIALIASING_TEXTFIELD_CONTROL  DARK_COLOR  LIGHT_COLOR  BOLD_ITALIC  PIXEL  SUBPIXEL  JUSTIFY  CAPS_LOCK  F1  F10  F11  F12  F13  F14  F15  F2  F3  F4  F5  F6  F7  F8  F9  NUMPAD_0  NUMPAD_1  NUMPAD_2  NUMPAD_3  NUMPAD_4  NUMPAD_5  NUMPAD_6  NUMPAD_7  NUMPAD_8  NUMPAD_9  NUMPAD_ADD  NUMPAD_DECIMAL  NUMPAD_DIVIDE  NUMPAD_ENTER  NUMPAD_MULTIPLY  NUMPAD_SUBTRACT  PAGE_DOWN  PAGE_UP  NUM_PAD  STANDARD  BIG_ENDIAN  LITTLE_ENDIAN  ELEMENT_NODE  TEXT_NODE BUTTON_DOWN ITEM_ROLL_OUT ITEM_ROLL_OVER ITEM_FOCUS_OUT ITEM_FOCUS_IN ITEM_EDIT_END ITEM_EDIT_BEGIN ITEM_EDIT_BEGINNING COLUMN_STRETCH HEADER_RELEASE LABEL_CHANGE MANUAL POLLED OFF ITEM_DOUBLE_CLICK ITEM_CLICK THUMB_DRAG THUMB_RELEASE THUMB_PRESS ALL STYLES RENDERER_STYLES STATE DATA_CHANGE PRE_DATA_CHANGE MOVE DATA_CHANGE PRE_DATA_CHANGE INVALIDATE_ALL REMOVE REMOVE_ALL CANCELLED OTHER NEW_COLUMN NEW_ROW KEYBOARD THUMB TIME_CHANGE MOTION_UPDATE MOTION_START MOTION_END CW CCW SCALE_X SCALE_Y SKEW_X SKEW_Y CIRCLE OUT MOTION_STOP MOTION_START MOTION_RESUME MOTION_LOOP MOTION_FINISH MOTION_CHANGE AUTO_LAYOUT CAPTION_CHANGE CAPTION_TARGET_CREATED NAVIGATION FLV ACTIONSCRIPT SHORT_VERSION SOUND_UPDATE STOPPED_STATE_ENTERED STATE_CHANGE SKIN_LOADED SKIN_ERROR SEEKED SCRUB_START SCRUB_FINISH LAYOUT READY PLAYHEAD_UPDATE PLAYING_STATE_ENTERED PAUSED_STATE_ENTERED METADATA_RECEIVED FAST_FORWARD CUE_POINT BUFFERING_STATE_ENTERED AUTO_REWOUND AUTO_LAYOUT SHORT_VERSION CAPTION_TARGET_CREATED CAPTION_CHANGE LAYOUT METADATA_RECEIVED CUE_POINT VERSION SHORT_VERSION DEFAULT_TIMEOUT NO_CONNECTION ILLEGAL_CUE_POINT INVALID_SEEK INVALID_SOURCE INVALID_XML NO_BITRATE_MATCH DELETE_DEFAULT_PLAYER INCMANAGER_CLASS_UNSET NULL_URL_LOAD MISSING_SKIN_STYLE UNSUPPORTED_PROPERTY NETSTREAM_CLIENT_CLASS_UNSET MAINTAIN_ASPECT_RATIO NO_SCALE EXACT_FIT DISCONNECTED STOPPED PLAYING PAUSED BUFFERING LOADING CONNECTION_ERROR REWINDING SEEKING RESIZING ACTIONSCRIPT2 ACTIONSCRIPT3 REMOVED_FROM_STAGE ADDED_TO_STAGE FULL_SCREEN NORMAL FLASH1 FLASH2 FLASH3 FLASH4 FLASH5 FLASH6 FLASH7 FLASH8 FLASH9 FLASH10 ASYNC_ERROR UPLOAD_COMPLETE_DATA FULLSCREEN FLUSHED PENDING REMOTE LOCAL_WITH_FILE LOCAL_WITH_NETWORK LOCAL_TRUSTED REGULAR EMBEDDED DEVICE LCD CRT
+syn keyword actionScriptInclude #include #initClip #endInitClip
+syn keyword as3Errors EOFError  IllegalOperationError  IOError  MemoryError  ScriptTimeoutError  StackOverflowError ArgumentError DefinitionError EvalError RangeError ReferenceError SecurityError SyntaxError TypeError URIError VerifyError VideoError InvalidSWFError
+syn keyword as3Events	DataEvent ErrorEvent Event ScrollEvent ProgressEvent SecurityErrorEvent ComponentEvent ProgressEvent IOErrorEvent ComponentEvent ColorPickerEvent ListEvent MouseEvent TextEvent DataChangeEvent HTTPStatusEvent IMEEvent TimerEvent TweenEvent AutoLayoutEvent CaptionChangeEvent CaptionTargetEvent SoundEvent VideoEvent  SkinErrorEvent LayoutEvent VideoProgressEvent MetadataEvent IVPEvent KeyboardEvent FocusEvent FullScreenEvent AsyncErrorEvent FocusEvent KeyboardEvent NetStatusEvent StatusEvent SyncEvent DataGridEvent SliderEvent
+
+" catch errors caused by wrong parenthesis
+syn match   actionScriptInParen     contained "[{}]"
+syn region  actionScriptParen       transparent start="(" end=")" contains=actionScriptParen,actionScript.*
+syn match   actionScrParenError  ")"
+
+if main_syntax == "actionscript"
+  syn sync ccomment actionScriptComment
+endif
+
+" Define the default highlighting.
+" For version 5.7 and earlier: only when not done already
+" For version 5.8 and later: only when an item doesn't have highlighting yet
+if version >= 508 || !exists("did_actionscript_syn_inits")
+  if version < 508
+    let did_actionscript_syn_inits = 1
+    command -nargs=+ HiLink hi link <args>
+  else
+    command -nargs=+ HiLink hi def link <args>
+  endif
+  HiLink actionScriptComment		Comment
+  HiLink actionScriptLineComment	Comment
+  HiLink actionScriptSpecial		Special
+  HiLink actionScriptStringS		String
+  HiLink actionScriptStringD		String
+  HiLink actionScriptCharacter		Character
+  HiLink actionScriptSpecialCharacter	actionScriptSpecial
+  HiLink actionScriptNumber		actionScriptValue
+  HiLink actionScriptBraces		Function
+  HiLink actionScriptError		Error
+  HiLink actionScrParenError		actionScriptError
+  HiLink actionScriptInParen		actionScriptError
+  HiLink actionScriptConditional	Conditional
+  HiLink actionScriptRepeat		Repeat
+  HiLink actionScriptCase		Label
+  HiLink actionScriptConstructor	Operator
+  HiLink actionScriptObjects		Operator
+  HiLink actionScriptStatement		Statement
+  HiLink actionScriptFunction		Function
+  HiLink actionScriptValue		Boolean
+  HiLink actionScriptArray		Type
+  HiLink actionScriptDate		Type
+  HiLink actionScriptMath		Type
+  HiLink actionScriptNumberObj		Type
+  HiLink actionScriptObject		Function
+  HiLink actionScriptString		Type
+  HiLink actionScriptColor		Type
+  HiLink actionScriptKey		Type
+  HiLink actionScriptMouse		Type
+  HiLink actionScriptSelection		Type
+  HiLink actionScriptSound		Type
+  HiLink actionScriptStage		Type
+  HiLink actionScriptSystem		Type
+  HiLink actionScriptTextFormat		Type
+  HiLink actionScriptCommunication	Type
+  HiLink actionScriptXMLSocket		Type
+  HiLink actionScriptTextField		Type
+  HiLink actionScriptMethods		Statement
+  HiLink actionScriptException		Exception
+  HiLink actionScriptXML		Type
+  HiLink actionScriptArrayConstant	Constant
+  HiLink actionScriptStringConstant	Constant
+  HiLink actionScriptEventConstant	Constant
+  HiLink actionScriptTextSnapshot	Type
+  HiLink actionScriptID3		Type
+  HiLink actionScriptAS2		Function
+  HiLink actionScriptStyleSheet		Type
+  HiLink flash8Constants		Constant
+  HiLink flash8Functions		Function
+  HiLink flash8Properties		Type
+  HiLink flash8Classes 			Type
+  HiLink actionScriptInclude		Include
+  HiLink as3Packages			Constant
+  HiLink as3Classes			Constant
+  HiLink as3Properties			Type
+  HiLink as3Functions			Function
+  HiLink as3Constants			Type
+  HiLink as3Errors			Constant
+  HiLink as3Events			Constant
+  delcommand HiLink
+endif
+
+let b:current_syntax = "actionscript"
+if main_syntax == 'actionscript'
+  unlet main_syntax
+endif
+
+" vim: ts=8
 if has('gui_running')
     set guioptions-=T       " no toolbar
 end
+
+" Enable perdy 256 color mode
+" set t_Co=256
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.