PDA

Просмотр полной версии : Подсветка МХ, для УЛЬТРАЭДИТА


john
15.03.2002, 06:01
В общем вот, потратил несколько часов своего драгоценного времени и соорудил подсветку,

Так что юзайте и вспоминайте меня добрым словом :)






/L7"ActionScript"
/Line Comment = //
/Block Comment On = /*
/Block Comment Off = */
/Escape Char = \
/File Extensions = AS

/Delimiters = ~!@%^&*()-+=|\/{}[]:;"'<> , .?
/Function String 1 = "%[^t ]++function[^t ]+^([~ ^t(]+^)[^t ]++(*)[ ^t{}]++$"
/Function String 2 = "[^t ]++^([a-zA-Z._]+^)[^t ]++=[^t ]++function[^t ]++(*)[ ^t{}]++$"
/Function String 3 = "%^(// +^p"
/Indent Strings = "{"
/Unindent Strings = "}"
/Marker Characters = ""

/C1"Operators"

--
?:
++
!
!=
%
%=
&
&&
&=
-
*
*=
,
.
/
/=
^
^=
|
||
|=
~
+
+=
<
<<
<<=
<=
<>
=
-=
>
>=
>>
>>=
>>>
>>>=
==
===

/C2"Keywords"
#endinitclip #include #initclip
;
__proto__ _alpha _currentframe _droptarget _focusrect _framesloaded _global _height _highquality _listeners _name _parent _quality _root _rotation _soundbuftime _target _totalframes _url _visible _width _x _xmouse _xscale _y _ymouse _yscale
Accessibility Accessibility.isActive ALT Array
abs acos add addListener addProperty align appendChild apply arguments arguments.callee arguments.caller asin atan atan2 attachMovie attachSound attributes autoSize
BACKSPACE Boolean Button
background backgroundColor beginFill beginGradientFill bold border borderColor bottomScroll break bullet
CAPSLOCK CONTROL Camera Color CustomActions CustomActions.get CustomActions.install CustomActions.list CustomActions.uninstall
call callee caller capabilities case ceil charAt charCodeAt childNodes chr clear clearInterval cloneNode close color concat connect contentType continue cos createElement createEmptyMovieClip createTextField createTextNode curveTo
DELETEKEY DOWN Date Date.UTC
data default delete do docTypeDecl dragOut dragOver duplicateMovieClip duration
E END ENTER ESCAPE
else embedFonts enabled endFill enterFrame escape eval exp
false firstChild floor focusEnabled font for fromCharCode fscommand function
get getAscii getBeginIndex getBounds getBytesLoaded getBytesTotal getCaretIndex getCode getDate getDay getDepth getEndIndex getFocus getFontList getFullYear getHours getMilliseconds getMinutes getMonth getNewTextFormat getPan getProperty getRGB getSeconds getTextExtent getTextFormat getTime getTimer getTimezoneOffset getTransform getURL getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getVersion getVolume getYear globalToLocal gotoAndPlay gotoAndStop
HOME
hasAccessibility hasAudio hasAudioEncoder hasChildNodes hasMP3 hasVideoEncoder height hide hitArea hitTest hscroll html htmlText
INSERT
if ifFrameLoaded ignoreWhite in indent indexOf insertBefore install instanceof int isActive isDown isFinite isNaN isToggled italic
join john@3wgraphics.net
Key Key.ALT Key.BACKSPACE Key.CAPSLOCK Key.CONTROL Key.DELETEKEY Key.DOWN Key.END Key.ENTER Key.ESCAPE Key.HOME Key.INSERT Key.LEFT Key.PGDN Key.PGUP Key.RIGHT Key.SHIFT Key.SPACE Key.TAB Key.UP Key.getAscii Key.getCode Key.isDown Key.isToggled
keyDown keyPress keyUp
LEFT LN10 LN2 LOG10E LOG2E LoadVars LocalConnection
lastChild lastIndexOf leading leftMargin length lineStyle lineTo list load loadMovie loadMovieNum loadSound loadVariables loadVariablesNum loaded localToGlobal log
MAX_VALUE MIN_VALUE Math Math.E Math.LN10 Math.LN2 Math.LOG10E Math.LOG2E Math.PI Math.SQRT1_2 Math.SQRT2 Math.abs Math.acos Math.asin Math.atan Math.atan2 Math.ceil Math.cos Math.exp Math.floor Math.log Math.max Math.min Math.pow Math.random Math.round Math.sin Math.sqrt Math.tan Microphone Mouse Mouse.hide Mouse.show MovieClip
max maxChars maxhscroll maxscroll mbchr mblength mbord mbsubstring min mouseDown mouseMove mouseUp moveTo multiline
NEGATIVE_INFINITY NaN NetConnection NetStream Number Number.MAX_VALUE Number.MIN_VALUE Number.NEGATIVE_INFINITY Number.NaN Number.POSITIVE_INFINITY
new newline nextFrame nextScene nextSibling nodeName nodeType nodeValue null
Object Object.registerClass
on onChanged onClipEvent onClose onConnect onData onDragOut onDragOver onEnterFrame onKeyDown onKeyUp onKillFocus onLoad onMouseDown onMouseMove onMouseUp onPress onRelease onReleaseOutside onResize onRollOut onRollOver onScroller onSetFocus onSoundComplete onUnload onXML ord
PGDN PGUP PI POSITIVE_INFINITY
parentNode parseFloat parseInt parseXML password pixelAspectRatio play pop position pow press prevFrame prevScene previousSibling print printAsBitmap printAsBitmapNum printNum prototype push
RIGHT
random registerClass release releaseOutside removeListener removeMovieClip removeNode removeTextField replaceSel restrict return reverse rightMargin rollOut rollOver round
SHIFT SPACE SQRT1_2 SQRT2 Selection Selection.getBeginIndex Selection.getCaretIndex Selection.getEndIndex Selection.getFocus Selection.setFocus Selection.setSelection SharedObject Sound Stage Stage.align Stage.height Stage.scaleMode Stage.showMenu Stage.width String String.fromCharCode System System.capabilities System.capabilities.hasAccessibility System.capabilities.hasAudio System.capabilities.hasAudioEncoder System.capabilities.hasMP3 System.capabilities.hasVideoEncoder System.capabilities.pixelAspectRatio System.capabilities.screenColor System.capabilities.screenDPI System.capabilities.screenResolutionX System.capabilities.screenResolutionY
scaleMode screenColor screenDPI screenResolutionX screenResolutionY scroll selectable send sendAndLoad set setDate setFocus setFullYear setHours setInterval setMask setMilliseconds setMinutes setMonth setNewTextFormat setPan setProperty setRGB setSeconds setSelection setTextFormat setTime setTransform setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setVolume setYear shift show showMenu sin size slice sort sortOn splice split sqrt start startDrag status stop stopAllSounds stopDrag substr substring super swapDepths switch
TAB TextField TextFormat
tabChildren tabEnabled tabIndex tabStops tan target targetPath tellTarget text textColor textHeight textWidth this toLowerCase toString toUpperCase toggleHighQuality trace trackAsMenu true type typeof
UP UTC
undefined underline unescape uninstall unload unloadMovie unloadMovieNum unshift unwatch updateAfterEvent url useHandCursor
Video
valueOf var variable void
watch while width with wordWrap
XML XMLSocket
xmlDecl

nagash
15.03.2002, 06:33
ох ну нифига себе... =)
а чем плохо экшнбраузер плохо подсвечивает? :)
я предпочитаю в самом флеше править скрипты... но естественно у всех будут возражения по этому поводу... но... =)

УильямБрэдберри
15.03.2002, 06:44
не, Жень ну ты маньяк, чесслово =)

а вот у меня подсветка других цветов...

потому-как фон у меня везде черный.

УильямБрэдберри
15.03.2002, 06:53
заюзаю =)

пасиб.

john
16.03.2002, 04:42
Немного доделал подсветку,

теперь я могу утверждать что поддерживаются ВСЕ ключевые слова МХ :D :D :D

недокументированные тоже.

Брать тут:

http://www.3wgraphics.net/source_files/mx_wordfile.txt

Fisher
16.03.2002, 12:02
Народ - чтобы долго не искать дайте ссылку откуда его слить мона. Хочу попробовать. А то я по совету глубокоуважаемого Ильи на плюсе сижу :)

john
16.03.2002, 12:26
ftp://ultraedit.com/uedit32.zip

Baltika
16.03.2002, 14:14
john, спасибо

Fisher
16.03.2002, 16:33
Пасибо John. :)

Nox Noctis
17.03.2002, 02:32
О, великий шаман !
(хм... или я это уже говорил :D :D )

кста, никто Aditor Pro не использует ?
все на ультраедитор подсели ? ;)
а то могу поделиться подсветкой... правда я ее делал под пятерку... ну да щас переделаем, раз пошла такая пьянка :)

Endryk
18.03.2002, 21:15
Что маньяк - то маньяк, но умный то какой... а еще добрый и бескорыстный