ultraviolet 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/Manifest.txt +216 -0
- data/README.txt +52 -0
- data/Rakefile +51 -0
- data/bin/theme2render +104 -0
- data/bin/uv +162 -0
- data/lib/uv.rb +84 -0
- data/lib/uv/html_processor.rb +89 -0
- data/render/old/txt2tags.render +131 -0
- data/render/xhtml/active4d.render +105 -0
- data/render/xhtml/all_hallows_eve.render +69 -0
- data/render/xhtml/amy.render +144 -0
- data/render/xhtml/blackboard.render +84 -0
- data/render/xhtml/brilliance_black.render +575 -0
- data/render/xhtml/brilliance_dull.render +534 -0
- data/render/xhtml/cobalt.render +135 -0
- data/render/xhtml/dawn.render +99 -0
- data/render/xhtml/eiffel.render +105 -0
- data/render/xhtml/espresso_libre.render +96 -0
- data/render/xhtml/files/css/active4d.css +114 -0
- data/render/xhtml/files/css/all_hallows_eve.css +72 -0
- data/render/xhtml/files/css/amy.css +144 -0
- data/render/xhtml/files/css/blackboard.css +88 -0
- data/render/xhtml/files/css/brilliance_black.css +632 -0
- data/render/xhtml/files/css/brilliance_dull.css +579 -0
- data/render/xhtml/files/css/cobalt.css +149 -0
- data/render/xhtml/files/css/dawn.css +121 -0
- data/render/xhtml/files/css/eiffel.css +121 -0
- data/render/xhtml/files/css/espresso_libre.css +109 -0
- data/render/xhtml/files/css/idle.css +62 -0
- data/render/xhtml/files/css/iplastic.css +80 -0
- data/render/xhtml/files/css/lazy.css +73 -0
- data/render/xhtml/files/css/mac_classic.css +123 -0
- data/render/xhtml/files/css/magicwb_amiga.css +101 -0
- data/render/xhtml/files/css/pastels_on_dark.css +188 -0
- data/render/xhtml/files/css/slush_poppies.css +85 -0
- data/render/xhtml/files/css/spacecadet.css +51 -0
- data/render/xhtml/files/css/sunburst.css +180 -0
- data/render/xhtml/files/css/twilight.css +137 -0
- data/render/xhtml/files/css/zenburnesque.css +88 -0
- data/render/xhtml/idle.render +66 -0
- data/render/xhtml/iplastic.render +72 -0
- data/render/xhtml/lazy.render +69 -0
- data/render/xhtml/mac_classic.render +108 -0
- data/render/xhtml/magicwb_amiga.render +90 -0
- data/render/xhtml/pastels_on_dark.render +177 -0
- data/render/xhtml/slush_poppies.render +96 -0
- data/render/xhtml/spacecadet.render +54 -0
- data/render/xhtml/sunburst.render +159 -0
- data/render/xhtml/twilight.render +126 -0
- data/render/xhtml/zenburnesque.render +99 -0
- data/syntax/actionscript.syntax +97 -0
- data/syntax/active4d.syntax +276 -0
- data/syntax/active4d_html.syntax +311 -0
- data/syntax/active4d_ini.syntax +50 -0
- data/syntax/active4d_library.syntax +21 -0
- data/syntax/ada.syntax +33 -0
- data/syntax/antlr.syntax +128 -0
- data/syntax/apache.syntax +176 -0
- data/syntax/applescript.syntax +384 -0
- data/syntax/asp.syntax +70 -0
- data/syntax/asp_vb.net.syntax +129 -0
- data/syntax/bibtex.syntax +151 -0
- data/syntax/blog_html.syntax +41 -0
- data/syntax/blog_markdown.syntax +42 -0
- data/syntax/blog_text.syntax +27 -0
- data/syntax/blog_textile.syntax +27 -0
- data/syntax/buggy/nemerle.yaml +74 -0
- data/syntax/build.syntax +53 -0
- data/syntax/bulletin_board.syntax +287 -0
- data/syntax/c++.syntax +109 -0
- data/syntax/c.syntax +326 -0
- data/syntax/cake.syntax +55 -0
- data/syntax/camlp4.syntax +36 -0
- data/syntax/coldfusion.syntax +118 -0
- data/syntax/context_free.syntax +176 -0
- data/syntax/cs.syntax +59 -0
- data/syntax/css.syntax +190 -0
- data/syntax/css_experimental.syntax +1925 -0
- data/syntax/csv.syntax +68 -0
- data/syntax/d.syntax +138 -0
- data/syntax/diff.syntax +81 -0
- data/syntax/dokuwiki.syntax +204 -0
- data/syntax/dot.syntax +47 -0
- data/syntax/doxygen.syntax +43 -0
- data/syntax/dylan.syntax +62 -0
- data/syntax/eiffel.syntax +78 -0
- data/syntax/erlang.syntax +922 -0
- data/syntax/f-script.syntax +80 -0
- data/syntax/fortran.syntax +141 -0
- data/syntax/fxscript.syntax +142 -0
- data/syntax/greasemonkey.syntax +34 -0
- data/syntax/gri.syntax +83 -0
- data/syntax/groovy.syntax +189 -0
- data/syntax/gtd2_text.syntax +31 -0
- data/syntax/gtdalt.syntax +143 -0
- data/syntax/haml.syntax +88 -0
- data/syntax/haskell.syntax +88 -0
- data/syntax/html-asp.syntax +27 -0
- data/syntax/html.syntax +362 -0
- data/syntax/html_django.syntax +36 -0
- data/syntax/html_for_asp.net.syntax +424 -0
- data/syntax/html_mason.syntax +119 -0
- data/syntax/html_rails.syntax +40 -0
- data/syntax/html_tcl.syntax +26 -0
- data/syntax/icalendar.syntax +32 -0
- data/syntax/inform.syntax +48 -0
- data/syntax/ini.syntax +54 -0
- data/syntax/installer_distribution_script.syntax +77 -0
- data/syntax/io.syntax +81 -0
- data/syntax/java.syntax +211 -0
- data/syntax/javaproperties.syntax +20 -0
- data/syntax/javascript.syntax +255 -0
- data/syntax/javascript_+_prototype.syntax +72 -0
- data/syntax/javascript_+_prototype_bracketed.syntax +140 -0
- data/syntax/jquery_javascript.syntax +114 -0
- data/syntax/json.syntax +136 -0
- data/syntax/languagedefinition.syntax +697 -0
- data/syntax/latex.syntax +566 -0
- data/syntax/latex_beamer.syntax +41 -0
- data/syntax/latex_log.syntax +50 -0
- data/syntax/latex_memoir.syntax +64 -0
- data/syntax/lexflex.syntax +219 -0
- data/syntax/lighttpd.syntax +54 -0
- data/syntax/lilypond.syntax +492 -0
- data/syntax/lisp.syntax +61 -0
- data/syntax/literate_haskell.syntax +24 -0
- data/syntax/logo.syntax +29 -0
- data/syntax/logtalk.syntax +152 -0
- data/syntax/lua.syntax +86 -0
- data/syntax/m.syntax +142 -0
- data/syntax/macports_portfile.syntax +143 -0
- data/syntax/mail.syntax +118 -0
- data/syntax/makefile.syntax +35 -0
- data/syntax/man.syntax +17 -0
- data/syntax/markdown.syntax +543 -0
- data/syntax/mediawiki.syntax +567 -0
- data/syntax/mel.syntax +92 -0
- data/syntax/mips.syntax +66 -0
- data/syntax/mod_perl.syntax +50 -0
- data/syntax/modula-3.syntax +47 -0
- data/syntax/moinmoin.syntax +189 -0
- data/syntax/mootools.syntax +572 -0
- data/syntax/movable_type.syntax +162 -0
- data/syntax/multimarkdown.syntax +39 -0
- data/syntax/objective-c++.syntax +18 -0
- data/syntax/objective-c.syntax +226 -0
- data/syntax/ocaml.syntax +764 -0
- data/syntax/ocamllex.syntax +167 -0
- data/syntax/ocamlyacc.syntax +184 -0
- data/syntax/old/YAML.yaml +160 -0
- data/syntax/old/txt2tags.yaml +139 -0
- data/syntax/opengl.syntax +14 -0
- data/syntax/pascal.syntax +77 -0
- data/syntax/perl.syntax +1075 -0
- data/syntax/php.syntax +678 -0
- data/syntax/plain_text.syntax +32 -0
- data/syntax/postscript.syntax +114 -0
- data/syntax/processing.syntax +106 -0
- data/syntax/prolog.syntax +40 -0
- data/syntax/property_list.syntax +645 -0
- data/syntax/python.syntax +865 -0
- data/syntax/python_django.syntax +21 -0
- data/syntax/qmake_project.syntax +114 -0
- data/syntax/qt_c++.syntax +26 -0
- data/syntax/quake3_config.syntax +32 -0
- data/syntax/r.syntax +81 -0
- data/syntax/r_console.syntax +16 -0
- data/syntax/ragel.syntax +201 -0
- data/syntax/rd_r_documentation.syntax +91 -0
- data/syntax/regexp.syntax +50 -0
- data/syntax/regular_expressions_oniguruma.syntax +107 -0
- data/syntax/regular_expressions_python.syntax +109 -0
- data/syntax/release_notes.syntax +37 -0
- data/syntax/remind.syntax +253 -0
- data/syntax/restructuredtext.syntax +250 -0
- data/syntax/rez.syntax +80 -0
- data/syntax/ruby.syntax +1035 -0
- data/syntax/ruby_experimental.syntax +145 -0
- data/syntax/ruby_on_rails.syntax +88 -0
- data/syntax/s5.syntax +69 -0
- data/syntax/scheme.syntax +347 -0
- data/syntax/scilab.syntax +41 -0
- data/syntax/setext.syntax +147 -0
- data/syntax/shell-unix-generic.syntax +384 -0
- data/syntax/slate.syntax +149 -0
- data/syntax/smarty.syntax +63 -0
- data/syntax/sql.syntax +237 -0
- data/syntax/sql_rails.syntax +18 -0
- data/syntax/ssh-config.syntax +33 -0
- data/syntax/standard_ml.syntax +45 -0
- data/syntax/strings_file.syntax +39 -0
- data/syntax/subversion_commit_message.syntax +36 -0
- data/syntax/sweave.syntax +84 -0
- data/syntax/swig.syntax +57 -0
- data/syntax/tcl.syntax +152 -0
- data/syntax/template_toolkit.syntax +121 -0
- data/syntax/tex.syntax +86 -0
- data/syntax/tex_math.syntax +49 -0
- data/syntax/textile.syntax +215 -0
- data/syntax/tsv.syntax +50 -0
- data/syntax/twiki.syntax +241 -0
- data/syntax/txt2tags.syntax +79 -0
- data/syntax/vectorscript.syntax +57 -0
- data/syntax/xhtml_1.0.syntax +4027 -0
- data/syntax/xml.syntax +179 -0
- data/syntax/xml_strict.syntax +92 -0
- data/syntax/xsl.syntax +60 -0
- data/syntax/yaml.syntax +160 -0
- data/syntax/yui_javascript.syntax +176 -0
- data/test/test_uv.rb +0 -0
- metadata +270 -0
data/syntax/mel.syntax
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
---
|
2
|
+
name: MEL
|
3
|
+
fileTypes:
|
4
|
+
- as
|
5
|
+
scopeName: source.mel
|
6
|
+
uuid: 69554E52-391D-42BC-9F65-7A77444BA1CF
|
7
|
+
foldingStartMarker: (/\*\*|\{\s*$)
|
8
|
+
patterns:
|
9
|
+
- name: storage.type.mel
|
10
|
+
match: \b(matrix|string|vector|float|int|void)\b
|
11
|
+
- name: support.function.mel
|
12
|
+
match: \b((s(h(ow(ManipCtx|S(hadingGroupAttrEditor|electionInTitle)|H(idden|elp)|Window)|el(f(Button|TabLayout|Layout)|lField)|ading(GeometryRelCtx|Node|Connection|LightRelCtx))|y(s(tem|File)|mbol(Button|CheckBox))|nap(shot|Mode|2to2 |TogetherCtx|Key)|c(ulpt|ene(UIReplacement|Editor)|ale(BrushBrightness |Constraint|Key(Ctx)?)?|r(ipt(Node|Ctx|Table|edPanel(Type)?|Job|EditorInfo)|oll(Field|Layout))|mh)|t(itch(Surface(Points)?|AndExplodeShell )|a(ckTrace|rt(sWith |String ))|r(cmp|i(ng(ToStringArray |Array(Remove(Duplicates | )|C(ount |atenate )|ToString |Intersector))|p )|oke))|i(n(gleProfileBirailSurface)?|ze|gn|mplify)|o(u(nd(Control)?|rce)|ft(Mod(Ctx)?)?|rt)|u(perCtx|rface(S(haderList|ampler))?|b(st(itute(Geometry|AllString )?|ring)|d(M(irror|a(tchTopology|p(SewMove|Cut)))|iv(Crease|DisplaySmoothness)?|C(ollapse|leanTopology)|T(o(Blind|Poly)|ransferUVsToCache)|DuplicateAndConnect|EditUV|ListComponentConversion|AutoProjection)))|p(h(ere|rand)|otLight(PreviewPort)?|aceLocator|r(ing|eadSheetEditor))|e(t(s|MenuMode|Sta(te |rtupMessage|mpDensity )|NodeTypeFlag|ConstraintRestPosition |ToolTo|In(putDeviceMapping|finity)|D(ynamic|efaultShadingGroup|rivenKeyframe)|UITemplate|P(ar(ticleAttr|ent)|roject )|E(scapeCtx|dit(or|Ctx))|Key(Ctx|frame|Path)|F(ocus|luidAttr)|Attr(Mapping)?)|parator|ed|l(ect(Mode|ionConnection|Context|Type|edNodes|Pr(iority|ef)|Key(Ctx)?)?|LoadSettings)|archPathArray )|kin(Cluster|Percent)|q(uareSurface|rt)|w(itchTable|atchDisplayPort)|a(ve(Menu|Shelf|ToolSettings|I(nitialState|mage)|Pref(s|Objects)|Fluid|A(ttrPreset |llShelves))|mpleImage)|rtContext|mooth(step|Curve|TangentSurface))|h(sv_to_rgb|yp(ot|er(Graph|Shade|Panel))|i(tTest|de|lite)|ot(Box|key(Check)?)|ud(Button|Slider(Button)?)|e(lp(Line)?|adsUpDisplay|rmite)|wRe(nder(Load)?|flectionMap)|ard(enPointCurve|ware(RenderPanel)?))|n(o(nLinear|ise|de(Type|IconButton|Outliner|Preset)|rmal(ize |Constraint))|urbs(Boolean|S(elect|quare)|C(opyUVSet|ube)|To(Subdiv|Poly(gonsPref)?)|Plane|ViewDirectionVector )|ew(ton|PanelItems)|ame(space(Info)?|Command|Field))|c(h(oice|dir|eck(Box(Grp)?|DefaultRenderGlobals)|a(n(nelBox|geSubdiv(Region|ComponentDisplayLevel))|racter(Map|OutlineEditor)?))|y(cleCheck|linder)|tx(Completion|Traverse|EditMode|Abort)|irc(ularFillet|le)|o(s|n(str(uctionHistory|ain(Value)?)|nect(ionInfo|Control|Dynamic|Joint|Attr)|t(extInfo|rol)|dition|e|vert(SolidTx|Tessellation|Unit|FromOldLayers |Lightmap)|firmDialog)|py(SkinWeights|Key|Flexor|Array )|l(or(Slider(Grp|ButtonGrp)|Index(SliderGrp)?|Editor|AtPoint)?|umnLayout|lision)|arsenSubdivSelectionList|m(p(onentEditor|utePolysetVolume |actHairSystem )|mand(Port|Echo|Line)))|u(tKey|r(ve(MoveEPCtx|SketchCtx|CVCtx|Intersect|OnSurface|E(ditorCtx|PCtx)|AddPtCtx)?|rent(Ctx|Time(Ctx)?|Unit)))|p(GetSolverAttr|Button|S(olver(Types)?|e(t(SolverAttr|Edit)|am))|C(o(nstraint|llision)|ache)|Tool|P(anel|roperty))|eil|l(ip(Schedule(rOutliner)?|TrimBefore |Editor(CurrentTimeCtx)?)?|ose(Surface|Curve)|uster|ear(Cache)?|amp)|a(n(CreateManip|vas)|tch(Quiet)?|pitalizeString |mera(View)?)|r(oss(Product )?|eate(RenderLayer|MotionField |SubdivRegion|N(ode|ewShelf )|D(isplayLayer|rawCtx)|Editor))|md(Shell|FileOutput))|M(R(ender(ShadowData|Callback|Data|Util|View|Line(Array)?)|ampAttribute)|G(eometryData|lobal)|M(odelMessage|essage|a(nipData|t(erial|rix)))|BoundingBox|S(yntax|ceneMessage|t(atus|ring(Array)?)|imple|pace|elect(ion(Mask|List)|Info)|watchRender(Register|Base))|H(ardwareRenderer|WShaderSwatchGenerator)|NodeMessage|C(o(nditionMessage|lor(Array)?|m(putation|mand(Result|Message)))|ursor|loth(Material|S(ystem|olverRegister)|Con(straint|trol)|Triangle|Particle|Edge|Force)|allbackIdArray)|T(ypeId|ime(r(Message)?|Array)?|oolsInfo|esselationParams|r(imBoundaryArray|ansformationMatrix))|I(ntArray|t(Geometry|Mesh(Polygon|Edge|Vertex|FaceVertex)|S(urfaceCV|electionList)|CurveCV|Instancer|eratorType|D(ependency(Graph|Nodes)|ag)|Keyframe)|k(System|HandleGroup)|mage)|3dView|Object(SetMessage|Handle|Array)?|D(G(M(odifier|essage)|Context)|ynSwept(Triangle|Line)|istance|oubleArray|evice(State|Channel)|a(ta(Block|Handle)|g(M(odifier|essage)|Path(Array)?))|raw(Request(Queue)?|Info|Data|ProcedureBase))|U(serEventMessage|i(nt(Array|64Array)|Message))|P(o(int(Array)?|lyMessage)|lug(Array)?|rogressWindow|x(G(eometry(Iterator|Data)|lBuffer)|M(idiInputDevice|odelEditorCommand|anipContainer)|S(urfaceShape(UI)?|pringNode|electionContext)|HwShaderNode|Node|Co(ntext(Command)?|m(ponentShape|mand))|T(oolCommand|ransform(ationMatrix)?)|IkSolver(Node)?|3dModelView|ObjectSet|D(eformerNode|ata|ragAndDropBehavior)|PolyT(weakUVCommand|rg)|EmitterNode|F(i(eldNode|leTranslator)|luidEmitterNode)|LocatorNode))|E(ulerRotation|vent(Message)?)|ayatomr|Vector(Array)?|Quaternion|F(n(R(otateManip|eflectShader|adialField)|G(e(nericAttribute|ometry(Data|Filter))|ravityField)|M(otionPath|es(sageAttribute|h(Data)?)|a(nip3D|trix(Data|Attribute)))|B(l(innShader|endShapeDeformer)|ase)|S(caleManip|t(ateManip|ring(Data|ArrayData))|ingleIndexedComponent|ubd(Names|Data)?|p(hereData|otLight)|et|kinCluster)|HikEffector|N(on(ExtendedLight|AmbientLight)|u(rbs(Surface(Data)?|Curve(Data)?)|meric(Data|Attribute))|ewtonField)|C(haracter|ircleSweepManip|ompo(nent(ListData)?|undAttribute)|urveSegmentManip|lip|amera)|T(ypedAttribute|oggleManip|urbulenceField|r(ipleIndexedComponent|ansform))|I(ntArrayData|k(Solver|Handle|Joint|Effector))|D(ynSweptGeometryData|i(s(cManip|tanceManip)|rection(Manip|alLight))|ouble(IndexedComponent|ArrayData)|ependencyNode|a(ta|gNode)|ragField)|U(ni(tAttribute|formField)|Int64ArrayData)|P(hong(Shader|EShader)|oint(On(SurfaceManip|CurveManip)|Light|ArrayData)|fxGeometry|lugin(Data)?|arti(cleSystem|tion))|E(numAttribute|xpression)|V(o(lume(Light|AxisField)|rtexField)|ectorArrayData)|KeyframeDelta(Move|B(lockAddRemove|reakdown)|Scale|Tangent|InfType|Weighted|AddRemove)?|F(ield|luid|reePointTriadManip)|W(ireDeformer|eightGeometryFilter)|L(ight(DataAttribute)?|a(yeredShader|ttice(D(eformer|ata))?|mbertShader))|A(ni(sotropyShader|mCurve)|ttribute|irField|r(eaLight|rayAttrsData)|mbientLight))?|ile(IO|Object)|eedbackLine|loat(Matrix|Point(Array)?|Vector(Array)?|Array))|L(i(ghtLinks|brary)|ockMessage)|A(n(im(Message|C(ontrol|urveC(hange|lipboard(Item(Array)?)?))|Util)|gle)|ttribute(Spec(Array)?|Index)|r(rayData(Builder|Handle)|g(Database|Parser|List))))|t(hreePointArcCtx|ime(Control|Port|rX)|o(ol(Button|HasOptions|Collection|Dropped|PropertyWindow)|NativePath |upper|kenize(List )?|l(ower|erance)|rus|ggle(WindowVisibility|Axis)?)|u(rbulence|mble(Ctx)?)|ex(RotateContext|M(oveContext|anipContext)|t(ScrollList|Curves|ure(HairColor |DisplacePlane |PlacementContext|Window)|ToShelf |Field(Grp|ButtonGrp)?)?|S(caleContext|electContext|mudgeUVContext)|WinToolCtx)|woPointArcCtx|a(n(gentConstraint)?|bLayout)|r(im|unc(ate(HairCache|FluidCache))?|a(ns(formLimits|lator)|c(e|k(Ctx)?))))|i(s(olateSelect|Connected|True|Dirty|ParentOf |Valid(String |ObjectName |UiName )|AnimCurve )|n(s(tance(r)?|ert(Joint(Ctx)?|K(not(Surface|Curve)|eyCtx)))|heritTransform|t(S(crollBar|lider(Grp)?)|er(sect|nalVar|ToUI )|Field(Grp)?))|conText(Radio(Button|Collection)|Button|StaticLabel|CheckBox)|temFilter(Render|Type|Attr)?|prEngine|k(S(ystem(Info)?|olver|plineHandleCtx)|Handle(Ctx|DisplayScale)?|fkDisplayMethod)|m(portComposerCurves |fPlugins|age))|o(ceanNurbsPreviewPlane |utliner(Panel|Editor)|p(tion(Menu(Grp)?|Var)|en(GLExtension|MayaPref))|verrideModifier|ffset(Surface|Curve(OnSurface)?)|r(ientConstraint|bit(Ctx)?)|b(soleteProc |j(ect(Center|Type(UI)?|Layer )|Exists)))|d(yn(RelEd(itor|Panel)|Globals|C(ontrol|ache)|P(a(intEditor|rticleCtx)|ref)|Exp(ort|ression)|amicLoad)|i(s(connect(Joint|Attr)|tanceDim(Context|ension)|pla(y(RGBColor|S(tats|urface|moothness)|C(olor|ull)|Pref|LevelOfDetail|Affected)|cementToPoly)|kCache|able)|r(name |ect(ionalLight|KeyCtx)|map)|mWhen)|o(cServer|Blur|t(Product )?|ubleProfileBirailSurface|peSheetEditor|lly(Ctx)?)|uplicate(Surface|Curve)?|e(tach(Surface|Curve|DeviceAttr)|vice(Panel|Editor)|f(ine(DataServer|VirtualDevice)|ormer|ault(Navigation|LightListCheckBox))|l(ete(Sh(elfTab |adingGroupsAndMaterials )|U(nusedBrushes |I)|Attr)?|randstr)|g_to_rad)|agPose|r(opoffLocator|ag(gerContext)?)|g(timer|dirty|Info|eval))|CBG |u(serCtx|n(t(angleUV|rim)|i(t|form)|do(Info)?|loadPlugin|assignInputDevice|group)|iTemplate|p(dateAE |Axis)|v(Snapshot|Link))|joint(C(tx|luster)|DisplayScale|Lattice)?|p(sd(ChannelOutliner|TextureFile|E(ditTextureFile|xport))|close|i(c(ture|kWalk)|xelMove)|o(se|int(MatrixMult |C(onstraint|urveConstraint)|On(Surface|Curve)|Position|Light)|p(upMenu|en)|w|l(y(Reduce|GeoSampler|M(irrorFace|ove(UV|Edge|Vertex|Facet(UV)?)|erge(UV|Edge(Ctx)?|Vertex|Facet(Ctx)?)|ap(Sew(Move)?|Cut|Del))|B(oolOp|evel|l(indData|endColor))|S(traightenUVBorder|oftEdge|u(perCtx|bdivide(Edge|Facet))|p(her(icalProjection|e)|lit(Ring|Ctx|Edge|Vertex)?)|e(tToFaceNormal|parate|wEdge|lect(Constraint(Monitor)?|EditCtx))|mooth)|Normal(izeUV|PerVertex)?|C(hipOff|ylind(er|ricalProjection)|o(ne|pyUV|l(or(BlindData|Set|PerVertex)|lapse(Edge|Facet)))|u(t(Ctx)?|be)|l(ipboard|oseBorder)|acheMonitor|rea(seEdge|teFacet(Ctx)?))|T(o(Subdiv|rus)|r(iangulate|ansfer))|In(stallAction|fo)|Options|D(uplicate(Edge|AndConnect)|el(Edge|Vertex|Facet))|U(nite|VSet)|P(yramid|oke|lan(e|arProjection)|r(ism|ojection))|E(ditUV|valuate|xtrude(Edge|Facet))|Qu(eryBlindData|ad)|F(orceUV|lip(UV|Edge))|WedgeFace|L(istComponentConversion|ayoutUV)|A(utoProjection|ppend(Vertex|FacetCtx)?|verage(Normal|Vertex)))|eVectorConstraint))|utenv|er(cent|formanceOptions)|fxstrokes|wd|l(uginInfo|a(y(b(last|ackOptions))?|n(e|arSrf)))|a(steKey|ne(l(History|Configuration)?|Layout)|thAnimation|irBlend|use|lettePort|r(ti(cle(RenderInfo|Instancer|Exists)?|tion)|ent(Constraint)?|am(Dim(Context|ension)|Locator)))|r(int|o(j(ect(ion(Manip|Context)|Curve|Tangent)|FileViewer)|pMo(dCtx|ve)|gress(Bar|Window)|mptDialog)|eloadRefEd))|e(n(codeString|d(sWith |String )|v|ableDevice)|dit(RenderLayer(Globals|Members)|or(Template)?|DisplayLayer(Globals|Members)|AttrLimits )|v(ent|al(Deferred|Echo)?)|quivalent(Tol | )|ffector|r(f|ror)|x(clusiveLightCheckBox|t(end(Surface|Curve)|rude)|ists|p(ortComposerCurves |ression(EditorListen)?)?|ec(uteForEachObject )?|actWorldBoundingBox)|mit(ter)?)|v(i(sor|ew(Set|HeadOn|2dToolCtx|C(lipPlane|amera)|Place|Fit|LookAt))|o(lumeAxis|rtex)|e(ctorize|rifyCmd )|alidateShelfName )|key(Tangent|frame(Region(MoveKeyCtx|S(caleKeyCtx|e(tKeyCtx|lectKeyCtx))|CurrentTimeCtx|TrackCtx|InsertKeyCtx|D(irectKeyCtx|ollyCtx))|Stats|Outliner)?)|qu(it|erySubdiv)|f(c(heck|lose)|i(nd(RelatedSkinCluster |MenuItem |er|Keyframe|AllIntersections )|tBspline|l(ter(StudioImport|Curve|Expand)?|e(BrowserDialog|test|Info|Dialog|Extension )?|letCurve)|rstParentOf )|o(ntDialog|pen|rmLayout)|print|eof|flush|write|l(o(or|w|at(S(crollBar|lider(Grp|ButtonGrp|2)?)|Eq |Field(Grp)?))|u(shUndo|id(CacheInfo|Emitter|VoxelInfo))|exor)|r(omNativePath |e(eFormFillet|wind|ad)|ameLayout)|get(word|line)|mod)|w(hatIs|i(ndow(Pref)?|re(Context)?)|orkspace|ebBrowser(Prefs)?|a(itCursor|rning)|ri(nkle(Context)?|teTake))|l(s(T(hroughFilter|ype )|UI)?|i(st(Relatives|MenuAnnotation |Sets|History|NodeTypes|C(onnections|ameras)|Transforms |InputDevice(s|Buttons|Axes)|erEditor|DeviceAttachments|Unselected |A(nimatable|ttr))|n(step|eIntersection )|ght(link|List(Panel|Editor)?))|o(ckNode|okThru|ft|ad(NewShelf |P(lugin|refObjects)|Fluid)|g)|a(ssoContext|y(out|er(Button|ed(ShaderPort|TexturePort)))|ttice(DeformKeyCtx)?|unch(ImageEditor)?))|a(ssign(Command|InputDevice)|n(notate|im(C(one|urveEditor)|Display|View)|gle(Between)?)|tt(ach(Surface|Curve|DeviceAttr)|r(ibute(Menu|Info|Exists|Query)|NavigationControlGrp|Co(ntrolGrp|lorSliderGrp|mpatibility)|PresetEditWin|EnumOptionMenu(Grp)?|Field(Grp|SliderGrp)))|i(r|mConstraint)|d(d(NewShelfTab|Dynamic|PP|Attr(ibuteEditorNodeHelp)?)|vanceToNextDrivenKey)|uto(Place|Keyframe)|pp(endStringArray|l(y(Take|AttrPreset)|icationName))|ffect(s|edNet)|l(i(as(Attr)?|gn(Surface|C(tx|urve))?)|lViewFit)|r(c(len|Len(DimContext|gthDimension))|t(BuildPaintMenu|Se(tPaintCtx|lectCtx)|3dPaintCtx|UserPaintCtx|PuttyCtx|FluidAttrCtx|Attr(SkinPaintCtx|Ctx|PaintVertexCtx))|rayMapper)|mbientLight|b(s|out))|r(igid(Body|Solver)|o(t(at(ionInterpolation|e))?|otOf |undConstantRadius|w(ColumnLayout|Layout)|ll(Ctx)?)|un(up|TimeCommand)|e(s(olutionNode|et(Tool|AE )|ampleFluid)|hash|n(der(GlobalsNode|Manip|ThumbnailUpdate|Info|er|Partition|QualityNode|Window(SelectContext|Editor)|LayerButton)?|ame(SelectionList |UI|Attr)?)|cord(Device|Attr)|target|order(Deformers)?|do|v(olve|erse(Surface|Curve))|quires|f(ineSubdivSelectionList|erence(Edit|Query)?|resh(AE )?)|loadImage|adTake|root|move(MultiInstance|Joint)|build(Surface|Curve))|a(n(d(state|omizeFollicles )?|geControl)|d(i(o(MenuItemCollection|Button(Grp)?|Collection)|al)|_to_deg)|mpColorPort)|gb_to_hsv)|g(o(toBindPose |al)|e(t(M(odifiers|ayaPanelTypes )|Classification|InputDeviceRange|pid|env|DefaultBrush|Pa(nel|rticleAttr)|F(ileList|luidAttr)|A(ttr|pplicationVersionAsFloat ))|ometryConstraint)|l(Render(Editor)?|obalStitch)|a(uss|mma)|r(id(Layout)?|oup(ObjectsByName )?|a(dientControl(NoAttr)?|ph(SelectContext|TrackCtx|DollyCtx)|vity|bColor))|match)|x(pmPicker|form|bmLangPathList )|m(i(n(imizeApp)?|rrorJoint)|o(del(CurrentTimeCtx|Panel|Editor)|use|v(In|e(IKtoFK |VertexAlongDirection|KeyCtx)?|Out))|u(te|ltiProfileBirailSurface)|e(ssageLine|nu(BarLayout|Item(ToShelf )?|Editor)?|mory)|a(nip(Rotate(Context|LimitsCtx)|Move(Context|LimitsCtx)|Scale(Context|LimitsCtx)|Options)|tch|ke(Roll |SingleSurface|TubeOn |Identity|Paintable|bot|Live)|rker|g|x))|b(in(Membership|d(Skin|Pose))|o(neLattice|undary|x(ZoomCtx|DollyCtx))|u(tton(Manip)?|ild(BookmarkMenu|KeyframeMenu)|fferCurve)|e(ssel|vel(Plus)?)|l(indDataType|end(Shape(Panel|Editor)?|2|TwoAttr))|a(sename(Ex | )|tchRender|ke(Results|Simulation|Clip|PartialHistory|FluidShading )))))\b
|
13
|
+
- name: support.constant.mel
|
14
|
+
match: \b(s(h(ellTessellate|a(d(ing(Map|Engine)|erGlow)|pe))|n(ow|apshot(Shape)?)|c(ulpt|aleConstraint|ript)|t(yleCurve|itch(Srf|AsNurbsShell)|u(cco|dioClearCoat)|encil|roke(Globals)?)|i(ngleShadingSwitch|mpleVolumeShader)|o(ftMod(Manip|Handle)?|lidFractal)|u(rface(Sha(der|pe)|Info|EdManip|VarGroup|Luminance)|b(Surface|d(M(odifier(UV|World)?|ap(SewMove|Cut|pingManip))|B(lindData|ase)|iv(ReverseFaces|SurfaceVarGroup|Co(llapse|mponentId)|To(Nurbs|Poly))?|HierBlind|CleanTopology|Tweak(UV)?|P(lanarProj|rojManip)|LayoutUV|A(ddTopology|utoProj))|Curve))|p(BirailSrf|otLight|ring)|e(tRange|lectionListOperator)|k(inCluster|etchPlane)|quareSrf|ampler(Info)?|m(ooth(Curve|TangentSrf)|ear))|h(svToRgb|yper(GraphInfo|View|Layout)|ik(Solver|Handle|Effector)|oldMatrix|eightField|w(Re(nderGlobals|flectionMap)|Shader)|a(ir(System|Constraint|TubeShader)|rd(enPoint|wareRenderGlobals)))|n(o(n(ExtendedLightShapeNode|Linear|AmbientLightShapeNode)|ise|rmalConstraint)|urbs(Surface|Curve|T(oSubdiv(Proc)?|essellate)|DimShape)|e(twork|wtonField))|c(h(o(ice|oser)|ecker|aracter(Map|Offset)?)|o(n(straint|tr(olPoint|ast)|dition)|py(ColorSet|UVSet))|urve(Range|Shape|Normalizer(Linear|Angle)?|In(tersect|fo)|VarGroup|From(Mesh(CoM|Edge)?|Su(rface(Bnd|CoS|Iso)?|bdiv(Edge|Face)?)))|l(ip(Scheduler|Library)|o(se(stPointOnSurface|Surface|Curve)|th|ud)|uster(Handle)?|amp)|amera(View)?|r(eate(BPManip|ColorSet|UVSet)|ater))|t(ime(ToUnitConversion|Function)?|oo(nLineAttributes|lDrawManip)|urbulenceField|ex(BaseDeformManip|ture(BakeSet|2d|ToGeom|3d|Env)|SmudgeUVManip|LatticeDeformManip)|weak|angentConstraint|r(i(pleShadingSwitch|m(WithBoundaries)?)|ansform(Geometry)?))|i(n(s(tancer|ertKnot(Surface|Curve))|tersectSurface)|k(RPsolver|MCsolver|S(ystem|olver|Csolver|plineSolver)|Handle|PASolver|Effector)|m(plicit(Box|Sphere|Cone)|agePlane))|o(cean(Shader)?|pticalFX|ffset(Surface|C(os|urve))|ldBlindDataBase|rient(Constraint|ationMarker)|bject(RenderFilter|MultiFilter|BinFilter|S(criptFilter|et)|NameFilter|TypeFilter|Filter|AttrFilter))|d(yn(Globals|Base)|i(s(tance(Between|DimShape)|pla(yLayer(Manager)?|cementShader)|kCache)|rect(ionalLight|edDisc)|mensionShape)|o(ubleShadingSwitch|f)|pBirailSrf|e(tach(Surface|Curve)|pendNode|f(orm(Bend|S(ine|quash)|Twist|ableShape|F(unc|lare)|Wave)|ault(RenderUtilityList|ShaderList|TextureList|LightList))|lete(Co(lorSet|mponent)|UVSet))|ag(Node|Pose)|r(opoffLocator|agField))|u(seBackground|n(trim|i(t(Conversion|ToTimeConversion)|formField)|known(Transform|Dag)?)|vChooser)|j(iggle|oint(Cluster|Ffd|Lattice)?)|p(sdFileTex|hong(E)?|o(s(tProcessList|itionMarker)|int(MatrixMult|Constraint|On(SurfaceInfo|CurveInfo)|Emitter|Light)|l(y(Reduce|M(irror|o(difier(UV|World)?|ve(UV|Edge|Vertex|Face(tUV)?))|erge(UV|Edge|Vert|Face)|ap(Sew(Move)?|Cut|Del))|B(oolOp|evel|lindData|ase)|S(traightenUVBorder|oftEdge|ubd(Edge|Face)|p(h(ere|Proj)|lit(Ring|Edge|Vert)?)|e(parate|wEdge)|mooth(Proxy|Face)?)|Normal(izeUV|PerVertex)?|C(hipOff|yl(inder|Proj)|o(ne|pyUV|l(orPerVertex|lapse(Edge|F)))|u(t(Manip(Container)?)?|be)|loseBorder|rea(seEdge|t(or|eFace)))|T(o(Subdiv|rus)|weak(UV)?|r(iangulate|ansfer))|OptUvs|D(uplicateEdge|el(Edge|Vertex|Facet))|Unite|P(yramid|oke(Manip)?|lan(e|arProj)|r(i(sm|mitive)|oj))|Extrude(Edge|Vertex|Face)|VertexNormalManip|Quad|Flip(UV|Edge)|WedgeFace|LayoutUV|A(utoProj|ppend(Vertex)?|verageVertex))|eVectorConstraint))|fx(Geometry|Hair|Toon)|l(usMinusAverage|a(n(e|arTrimSurface)|ce(2dTexture|3dTexture)))|a(ssMatrix|irBlend|r(ti(cle(SamplerInfo|C(olorMapper|loud)|TranspMapper|IncandMapper|AgeMapper)?|tion)|ent(Constraint|Tessellate)|amDimension))|r(imitive|o(ject(ion|Curve|Tangent)|xyManager)))|e(n(tity|v(Ball|ironmentFog|S(phere|ky)|C(hrome|ube)|Fog))|x(t(end(Surface|Curve)|rude)|p(lodeNurbsShell|ression)))|v(iewManip|o(lume(Shader|Noise|Fog|Light|AxisField)|rtexField)|e(ctor(RenderGlobals|Product)|rtexBakeSet))|quadShadingSwitch|f(i(tBspline|eld|l(ter(Resample|Simplify|ClosestSample|Euler)?|e|letCurve))|o(urByFourMatrix|llicle)|urPointOn(MeshInfo|Subd)|f(BlendSrf(Obsolete)?|d|FilletSrf)|l(ow|uid(S(hape|liceManip)|Texture(2D|3D)|Emitter)|exorShape)|ra(ctal|meCache))|w(tAddMatrix|ire|ood|eightGeometryFilter|ater|rap)|l(ight(Info|Fog|Li(st|nker))?|o(cator|okAt|d(Group|Thresholds)|ft)|uminance|ea(stSquaresModifier|ther)|a(yered(Shader|Texture)|ttice|mbert))|a(n(notationShape|i(sotropic|m(Blend(InOut)?|C(urve(T(T|U|L|A)|U(T|U|L|A))?|lip)))|gleBetween)|tt(ach(Surface|Curve)|rHierarchyTest)|i(rField|mConstraint)|dd(Matrix|DoubleLinear)|udio|vg(SurfacePoints|NurbsSurfacePoints|Curves)|lign(Manip|Surface|Curve)|r(cLengthDimension|tAttrPaintTest|eaLight|rayMapper)|mbientLight|bstractBase(NurbsConversion|Create))|r(igid(Body|Solver|Constraint)|o(ck|undConstantRadius)|e(s(olution|ultCurve(TimeTo(Time|Unitless|Linear|Angular))?)|nder(Rect|Globals(List)?|Box|Sphere|Cone|Quality|L(ight|ayer(Manager)?))|cord|v(olve(dPrimitive)?|erse(Surface|Curve)?)|f(erence|lect)|map(Hsv|Color|Value)|build(Surface|Curve))|a(dialField|mp(Shader)?)|gbToHsv|bfSrf)|g(uide|eo(Connect(or|able)|metry(Shape|Constraint|VarGroup|Filter))|lobal(Stitch|CacheControl)|ammaCorrect|r(id|oup(Id|Parts)|a(nite|vityField)))|Fur(Globals|Description|Feedback|Attractors)|xformManip|m(o(tionPath|untain|vie)|u(te|lt(Matrix|i(plyDivide|listerLight)|DoubleLinear))|pBirailSrf|e(sh(VarGroup)?|ntalray(Texture|IblShape))|a(terialInfo|ke(Group|Nurb(sSquare|Sphere|C(ylinder|ircle|one|ube)|Torus|Plane)|CircularArc|T(hreePointCircularArc|extCurves|woPointCircularArc))|rble))|b(irailSrf|o(neLattice|olean|undary(Base)?)|u(lge|mp(2d|3d))|evel(Plus)?|l(in(n|dDataTemplate)|end(Shape|Color(s|Sets)|TwoAttr|Device|Weighted)?)|a(se(GeometryVarGroup|ShadingSwitch|Lattice)|keSet)|r(ownian|ush)))\b
|
15
|
+
- name: keyword.control.mel
|
16
|
+
match: \b(if|in|else|for|while|break|continue|case|default|do|switch|return|switch|case|source|catch|alias)\b
|
17
|
+
- name: keyword.other.mel
|
18
|
+
match: \b(global)\b
|
19
|
+
- name: constant.language.mel
|
20
|
+
match: \b(null|undefined)\b
|
21
|
+
- name: constant.numeric.mel
|
22
|
+
match: \b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f)?\b
|
23
|
+
- name: string.quoted.double.mel
|
24
|
+
endCaptures:
|
25
|
+
"0":
|
26
|
+
name: punctuation.definition.string.end.mel
|
27
|
+
begin: "\""
|
28
|
+
beginCaptures:
|
29
|
+
"0":
|
30
|
+
name: punctuation.definition.string.begin.mel
|
31
|
+
end: "\""
|
32
|
+
patterns:
|
33
|
+
- name: constant.character.escape.mel
|
34
|
+
match: \\.
|
35
|
+
- name: variable.other.mel
|
36
|
+
captures:
|
37
|
+
"1":
|
38
|
+
name: punctuation.definition.variable.mel
|
39
|
+
match: (\$)[a-zA-Z_\x{7f}-\x{ff}][a-zA-Z0-9_\x{7f}-\x{ff}]*?\b
|
40
|
+
- name: string.quoted.single.mel
|
41
|
+
endCaptures:
|
42
|
+
"0":
|
43
|
+
name: punctuation.definition.string.end.mel
|
44
|
+
begin: "'"
|
45
|
+
beginCaptures:
|
46
|
+
"0":
|
47
|
+
name: punctuation.definition.string.begin.mel
|
48
|
+
end: "'"
|
49
|
+
patterns:
|
50
|
+
- name: constant.character.escape.mel
|
51
|
+
match: \\.
|
52
|
+
- name: constant.language.mel
|
53
|
+
match: \b(false|true|yes|no|on|off)\b
|
54
|
+
- name: comment.block.mel
|
55
|
+
captures:
|
56
|
+
"0":
|
57
|
+
name: punctuation.definition.comment.mel
|
58
|
+
begin: /\*
|
59
|
+
end: \*/
|
60
|
+
- name: comment.line.double-slash.mel
|
61
|
+
captures:
|
62
|
+
"1":
|
63
|
+
name: punctuation.definition.comment.mel
|
64
|
+
match: (//).*$\n?
|
65
|
+
- name: keyword.operator.mel
|
66
|
+
match: \b(instanceof)\b
|
67
|
+
- name: keyword.operator.symbolic.mel
|
68
|
+
match: "[-\\!\\%\\&\\*\\+\\=\\/\\?\\:]"
|
69
|
+
- name: meta.preprocessor.mel
|
70
|
+
captures:
|
71
|
+
"1":
|
72
|
+
name: punctuation.definition.preprocessor.mel
|
73
|
+
match: ^[ \t]*(#)[a-zA-Z]+
|
74
|
+
- name: meta.function.mel
|
75
|
+
endCaptures:
|
76
|
+
"0":
|
77
|
+
name: punctuation.section.function.mel
|
78
|
+
begin: ((?:global\s*)?proc)\s*(\w+\s*\[?\]?\s+|\s+)([A-Za-z_][A-Za-z0-9_]*)\s*(\()
|
79
|
+
beginCaptures:
|
80
|
+
"1":
|
81
|
+
name: keyword.other.mel
|
82
|
+
"2":
|
83
|
+
name: storage.type.mel
|
84
|
+
"3":
|
85
|
+
name: entity.name.function.mel
|
86
|
+
"4":
|
87
|
+
name: punctuation.section.function.mel
|
88
|
+
end: \)
|
89
|
+
patterns:
|
90
|
+
- include: $self
|
91
|
+
foldingStopMarker: (\*\*/|^\s*\})
|
92
|
+
keyEquivalent: ^~M
|
data/syntax/mips.syntax
ADDED
@@ -0,0 +1,66 @@
|
|
1
|
+
---
|
2
|
+
name: MIPS Assembler
|
3
|
+
fileTypes:
|
4
|
+
- s
|
5
|
+
- mips
|
6
|
+
- spim
|
7
|
+
- asm
|
8
|
+
scopeName: source.mips
|
9
|
+
uuid: 7FD88C2E-6BE3-11D9-9A40-0011242E4184
|
10
|
+
patterns:
|
11
|
+
- name: support.function.pseudo.mips
|
12
|
+
match: \b(mul|abs|div|divu|mulo|mulou|neg|negu|not|rem|remu|rol|ror|li|seq|sge|sgeu|sgt|sgtu|sle|sleu|sne|b|beqz|bge|bgeu|bgt|bgtu|ble|bleu|blt|bltu|bnez|la|ld|ulh|ulhu|ulw|sd|ush|usw|move|mfc1\.d|l\.d|l\.s|s\.d|s\.s)\b
|
13
|
+
comment: "ok actually this are instructions, but one also could call them funtions\xE2\x80\xA6"
|
14
|
+
- name: support.function.mips
|
15
|
+
match: \b(abs\.d|abs\.s|add|add\.d|add\.s|addi|addiu|addu|and|andi|bc1f|bc1t|beq|bgez|bgezal|bgtz|blez|bltz|bltzal|bne|break|c\.eq\.d|c\.eq\.s|c\.le\.d|c\.le\.s|c\.lt\.d|c\.lt\.s|ceil\.w\.d|ceil\.w\.s|clo|clz|cvt\.d\.s|cvt\.d\.w|cvt\.s\.d|cvt\.s\.w|cvt\.w\.d|cvt\.w\.s|div|div\.d|div\.s|divu|eret|floor\.w\.d|floor\.w\.s|j|jal|jalr|jr|lb|lbu|lh|lhu|ll|lui|lw|lwc1|lwl|lwr|madd|maddu|mfc0|mfc1|mfhi|mflo|mov\.d|mov\.s|movf|movf\.d|movf\.s|movn|movn\.d|movn\.s|movt|movt\.d|movt\.s|movz|movz\.d|movz\.s|msub|mtc0|mtc1|mthi|mtlo|mul|mul\.d|mul\.s|mult|multu|neg\.d|neg\.s|nop|nor|or|ori|round\.w\.d|round\.w\.s|sb|sc|sdc1|sh|sll|sllv|slt|slti|sltiu|sltu|sqrt\.d|sqrt\.s|sra|srav|srl|srlv|sub|sub\.d|sub\.s|subu|sw|swc1|swl|swr|syscall|teq|teqi|tge|tgei|tgeiu|tgeu|tlt|tlti|tltiu|tltu|trunc\.w\.d|trunc\.w\.s|xor|xori)\b
|
16
|
+
- name: storage.type.mips
|
17
|
+
match: \.(ascii|asciiz|byte|data|double|float|half|kdata|ktext|space|text|word|set\s*(noat|at))\b
|
18
|
+
- name: storage.modifier.mips
|
19
|
+
match: \.(align|extern||globl)\b
|
20
|
+
- name: meta.function.label.mips
|
21
|
+
captures:
|
22
|
+
"1":
|
23
|
+
name: entity.name.function.label.mips
|
24
|
+
match: "\\b([A-Za-z0-9_]+):"
|
25
|
+
- name: variable.other.register.usable.by-number.mips
|
26
|
+
captures:
|
27
|
+
"1":
|
28
|
+
name: punctuation.definition.variable.mips
|
29
|
+
match: (\$)(0|[2-9]|1[0-9]|2[0-5]|2[89]|3[0-1])\b
|
30
|
+
- name: variable.other.register.usable.by-name.mips
|
31
|
+
captures:
|
32
|
+
"1":
|
33
|
+
name: punctuation.definition.variable.mips
|
34
|
+
match: (\$)(zero|v[01]|a[0-3]|t[0-9]|s[0-7]|gp|sp|fp|ra)\b
|
35
|
+
- name: variable.other.register.reserved.mips
|
36
|
+
captures:
|
37
|
+
"1":
|
38
|
+
name: punctuation.definition.variable.mips
|
39
|
+
match: (\$)(at|k[01]|1|2[67])\b
|
40
|
+
- name: variable.other.register.usable.floating-point.mips
|
41
|
+
captures:
|
42
|
+
"1":
|
43
|
+
name: punctuation.definition.variable.mips
|
44
|
+
match: (\$)f([0-9]|1[0-9]|2[0-9]|3[0-1])\b
|
45
|
+
- name: constant.numeric.float.mips
|
46
|
+
match: \b\d+\.\d+\b
|
47
|
+
- name: constant.numeric.integer.mips
|
48
|
+
match: \b(\d+|0(x|X)[a-fA-F0-9]+)\b
|
49
|
+
- name: string.quoted.double.mips
|
50
|
+
endCaptures:
|
51
|
+
"0":
|
52
|
+
name: punctuation.definition.string.end.mips
|
53
|
+
begin: "\""
|
54
|
+
beginCaptures:
|
55
|
+
"0":
|
56
|
+
name: punctuation.definition.string.begin.mips
|
57
|
+
end: "\""
|
58
|
+
patterns:
|
59
|
+
- name: constant.character.escape.mips
|
60
|
+
match: \\[rnt\\"]
|
61
|
+
- name: comment.line.number-sign.mips
|
62
|
+
captures:
|
63
|
+
"1":
|
64
|
+
name: punctuation.definition.comment.mips
|
65
|
+
match: (#).*$\n?
|
66
|
+
keyEquivalent: ^~M
|
@@ -0,0 +1,50 @@
|
|
1
|
+
---
|
2
|
+
name: mod_perl
|
3
|
+
fileTypes:
|
4
|
+
- conf
|
5
|
+
scopeName: source.apache-config.mod_perl
|
6
|
+
uuid: 6A616B03-1053-49BF-830F-0F4E63DB2447
|
7
|
+
foldingStartMarker: |-
|
8
|
+
^[ ]*(?x)
|
9
|
+
(<(?i:FilesMatch|Files|DirectoryMatch|Directory|LocationMatch|Location|VirtualHost|IfModule|IfDefine|Perl)\b.*?>
|
10
|
+
)
|
11
|
+
patterns:
|
12
|
+
- name: comment.block.documentation.apache-config.mod_perl
|
13
|
+
captures:
|
14
|
+
"0":
|
15
|
+
name: punctuation.definition.comment.mod_perl
|
16
|
+
begin: ^=
|
17
|
+
end: ^=cut
|
18
|
+
- name: support.constant.apache-config.mod_perl
|
19
|
+
match: \b(PerlAddVar|PerlConfigRequire|PerlLoadModule|PerlModule|PerlOptions|PerlPassEnv|PerlPostConfigRequire|PerlRequire|PerlSetEnv|PerlSetVar|PerlSwitches|SetHandler|PerlOpenLogsHandler|PerlPostConfigHandler|PerlChildInitHandler|PerlChildExitHandler|PerlPreConnectionHandler|PerlProcessConnectionHandler|PerlInputFilterHandler|PerlOutputFilterHandler|PerlSetInputFilter|PerlSetOutputFilter|PerlPostReadRequestHandler|PerlTransHandler|PerlMapToStorageHandler|PerlInitHandler|PerlHeaderParserHandler|PerlAccessHandler|PerlAuthenHandler|PerlAuthzHandler|PerlTypeHandler|PerlFixupHandler|PerlResponseHandler|PerlLogHandler|PerlCleanupHandler|PerlInterpStart|PerlInterpMax|PerlInterpMinSpare|PerlInterpMaxSpare|PerlInterpMaxRequests|PerlInterpScope|PerlTrace)\b
|
20
|
+
- name: support.constant.apache-config.mod_perl_1.mod_perl
|
21
|
+
match: \b(PerlHandler|PerlScript|PerlSendHeader|PerlSetupEnv|PerlTaintCheck|PerlWarn|PerlFreshRestart)\b
|
22
|
+
- name: meta.perl-section.apache-config.mod_perl
|
23
|
+
endCaptures:
|
24
|
+
"1":
|
25
|
+
name: meta.tag.apache-config
|
26
|
+
"2":
|
27
|
+
name: punctuation.definition.tag.apache-config
|
28
|
+
"3":
|
29
|
+
name: entity.name.tag.apache-config
|
30
|
+
"4":
|
31
|
+
name: punctuation.definition.tag.apache-config
|
32
|
+
begin: ^\s*((<)(Perl)(>))
|
33
|
+
beginCaptures:
|
34
|
+
"1":
|
35
|
+
name: meta.tag.apache-config
|
36
|
+
"2":
|
37
|
+
name: punctuation.definition.tag.apache-config
|
38
|
+
"3":
|
39
|
+
name: entity.name.tag.apache-config
|
40
|
+
"4":
|
41
|
+
name: punctuation.definition.tag.apache-config
|
42
|
+
end: ^\s*((</)(Perl)(>))
|
43
|
+
patterns:
|
44
|
+
- include: source.perl
|
45
|
+
- include: source.apache-config
|
46
|
+
foldingStopMarker: |-
|
47
|
+
^[ ]*(?x)
|
48
|
+
(</(?i:FilesMatch|Files|DirectoryMatch|Directory|LocationMatch|Location|VirtualHost|IfModule|IfDefine|Perl)>
|
49
|
+
)
|
50
|
+
keyEquivalent: ^~A
|
@@ -0,0 +1,47 @@
|
|
1
|
+
---
|
2
|
+
name: Modula-3
|
3
|
+
fileTypes:
|
4
|
+
- m3
|
5
|
+
- cm3
|
6
|
+
scopeName: source.modula-3
|
7
|
+
uuid: 479D53FA-6ED6-11D9-8471-0011242E4184
|
8
|
+
patterns:
|
9
|
+
- name: keyword.other.modula-3
|
10
|
+
match: \b(ANY|ARRAY|AS|BEGIN|BITS|BRANDED|BY|CASE|CONST|DIV|DO|ELSE|ELSIF|END|EVAL|EXCEPT|EXCEPTION|EXIT|EXPORTS|FINALLY|FOR|FROM|GENERIC|IF|IMPORT|INTERFACE|LOCK|LOOP|METHODS|MOD|MODULE|OBJECT|OF|OVERRIDES|PROCEDURE|RAISE|RAISES|READONLY|RECORD|REF|REPEAT|RETURN|REVEAL|ROOT|SET|THEN|TO|TRY|TYPE|TYPECASE|UNSAFE|UNTIL|UNTRACED|VALUE|VAR|WHILE|WITH|IN|NOT|AND|OR)\b
|
11
|
+
- name: storage.type.modula-3
|
12
|
+
match: \b(ABS|ADDRESS|ADR|ADRSIZE|BITSIZE|BOOLEAN|BYTESIZE|CARDINAL|CEILING|CHAR|DEC|DISPOSE|EXTENDED|FIRST|FLOAT|FLOOR|INC|INTEGER|ISTYPE|LAST|LONGREAL|LOOPHOLE|MAX|MIN|MUTEX|NARROW|NEW|NUMBER|ORD|REAL|REFANY|ROUND|SUBARRAY|TEXT|TRUNC|TYPECODE|VAL)\b
|
13
|
+
- name: constant.language.modula-3
|
14
|
+
match: \b(FALSE|NIL|NULL|TRUE)\b
|
15
|
+
- name: constant.numeric.modula-3
|
16
|
+
match: \b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)(L|l|UL|ul|u|U|F|f|ll|LL|ull|ULL)?\b
|
17
|
+
- name: string.quoted.single.modula-3
|
18
|
+
endCaptures:
|
19
|
+
"0":
|
20
|
+
name: punctuation.definition.string.end.modula-3
|
21
|
+
begin: "'"
|
22
|
+
beginCaptures:
|
23
|
+
"0":
|
24
|
+
name: punctuation.definition.string.begin.modula-3
|
25
|
+
end: "'"
|
26
|
+
patterns:
|
27
|
+
- name: constant.character.escape.modula-3
|
28
|
+
match: \\([ntrf\\'"]|([0-7]{3}))
|
29
|
+
- name: string.quoted.double.modula-3
|
30
|
+
endCaptures:
|
31
|
+
"0":
|
32
|
+
name: punctuation.definition.string.end.modula-3
|
33
|
+
begin: "\""
|
34
|
+
beginCaptures:
|
35
|
+
"0":
|
36
|
+
name: punctuation.definition.string.begin.modula-3
|
37
|
+
end: "\""
|
38
|
+
patterns:
|
39
|
+
- name: constant.character.escape.modula-3
|
40
|
+
match: \\([ntrf\\'"]|([0-7]{3}))
|
41
|
+
- name: comment.block.modula-3
|
42
|
+
captures:
|
43
|
+
"0":
|
44
|
+
name: punctuation.definition.comment.modula-3
|
45
|
+
begin: \(\*
|
46
|
+
end: \*\)
|
47
|
+
keyEquivalent: ^~M
|
@@ -0,0 +1,189 @@
|
|
1
|
+
---
|
2
|
+
name: MoinMoin
|
3
|
+
fileTypes:
|
4
|
+
- moinmoin
|
5
|
+
scopeName: text.moinmoin
|
6
|
+
repository:
|
7
|
+
inline:
|
8
|
+
patterns:
|
9
|
+
- name: markup.raw.block.moinmoin
|
10
|
+
captures:
|
11
|
+
"0":
|
12
|
+
name: punctuation.definition.raw.moinmoin
|
13
|
+
begin: \{{3}(?!.*\}{3})
|
14
|
+
end: \}{3}
|
15
|
+
- name: markup.raw.inline.moinmoin
|
16
|
+
captures:
|
17
|
+
"1":
|
18
|
+
name: punctuation.definition.raw.moinmoin
|
19
|
+
"2":
|
20
|
+
name: punctuation.definition.raw.moinmoin
|
21
|
+
"3":
|
22
|
+
name: punctuation.definition.raw.moinmoin
|
23
|
+
"4":
|
24
|
+
name: punctuation.definition.raw.moinmoin
|
25
|
+
match: (`)[^`]*(`)|({{{).*?(}}})
|
26
|
+
- captures:
|
27
|
+
"0":
|
28
|
+
name: punctuation.definition.italic.moinmoin
|
29
|
+
begin: "'{2}(?='{3}[^']*'{3})"
|
30
|
+
contentName: markup.italic.moinmoin
|
31
|
+
end: "'{2}(?!')|'{2}(?='{3})"
|
32
|
+
patterns:
|
33
|
+
- include: "#inline"
|
34
|
+
- captures:
|
35
|
+
"0":
|
36
|
+
name: punctuation.definition.bold.moinmoin
|
37
|
+
begin: "'{3}"
|
38
|
+
contentName: markup.bold.moinmoin
|
39
|
+
end: "'{3}"
|
40
|
+
patterns:
|
41
|
+
- include: "#inline"
|
42
|
+
- captures:
|
43
|
+
"0":
|
44
|
+
name: punctuation.definition.italic.moinmoin
|
45
|
+
begin: "'{2}"
|
46
|
+
contentName: markup.italic.moinmoin
|
47
|
+
end: "'{2}(?!')|'{2}(?='{3})"
|
48
|
+
patterns:
|
49
|
+
- include: "#inline"
|
50
|
+
- captures:
|
51
|
+
"0":
|
52
|
+
name: punctuation.definition.underline.moinmoin
|
53
|
+
begin: __
|
54
|
+
contentName: markup.underline.moinmoin
|
55
|
+
end: __
|
56
|
+
patterns:
|
57
|
+
- include: "#inline"
|
58
|
+
- name: markup.underline.link.moinmoin
|
59
|
+
match: (?<!\!)/?(?:[A-Z][a-z0-9]+[A-Z][a-z0-9]+[A-Za-z0-9]*)
|
60
|
+
- name: markup.underline.link.moinmoin
|
61
|
+
captures:
|
62
|
+
"1":
|
63
|
+
name: punctuation.definition.link.moinmoin
|
64
|
+
"2":
|
65
|
+
name: punctuation.definition.link.moinmoin
|
66
|
+
match: (\[").*?("\])
|
67
|
+
- name: markup.underline.link.moinmoin
|
68
|
+
captures:
|
69
|
+
"1":
|
70
|
+
name: punctuation.definition.link.moinmoin
|
71
|
+
"2":
|
72
|
+
name: punctuation.definition.link.moinmoin
|
73
|
+
match: (\[):.*?:.*?(\])
|
74
|
+
- name: markup.underline.link.moinmoin
|
75
|
+
match: https?://\S+
|
76
|
+
- name: markup.underline.link.moinmoin
|
77
|
+
captures:
|
78
|
+
"1":
|
79
|
+
name: punctuation.definition.link.moinmoin
|
80
|
+
"2":
|
81
|
+
name: punctuation.definition.link.moinmoin
|
82
|
+
match: (\[)https?://.*?(\])
|
83
|
+
- name: markup.underline.link.moinmoin
|
84
|
+
captures:
|
85
|
+
"1":
|
86
|
+
name: punctuation.separator.key-value.moinmoin
|
87
|
+
match: attachment(:)\S+
|
88
|
+
- name: meta.table.column.moinmoin
|
89
|
+
captures:
|
90
|
+
"0":
|
91
|
+
name: punctuation.definition.table.column.moinmoin
|
92
|
+
match: \|\|
|
93
|
+
- name: meta.macro.moinmoin
|
94
|
+
captures:
|
95
|
+
"0":
|
96
|
+
name: punctuation.definition.macro.moinmoin
|
97
|
+
match: (\[\[).*?(\]\])
|
98
|
+
uuid: DB315CBC-23FD-4952-9D64-F2AC0618A840
|
99
|
+
patterns:
|
100
|
+
- name: markup.heading.1.moinmoin
|
101
|
+
captures:
|
102
|
+
"1":
|
103
|
+
name: punctuation.definition.heading.moimoin
|
104
|
+
"2":
|
105
|
+
name: punctuation.definition.heading.moimoin
|
106
|
+
match: ^\s*(=)\s.*\s(=)\n
|
107
|
+
- name: markup.heading.2.moinmoin
|
108
|
+
captures:
|
109
|
+
"1":
|
110
|
+
name: punctuation.definition.heading.moimoin
|
111
|
+
"2":
|
112
|
+
name: punctuation.definition.heading.moimoin
|
113
|
+
match: ^\s*(==)\s.*\s(==)\n
|
114
|
+
- name: markup.heading.3.moinmoin
|
115
|
+
captures:
|
116
|
+
"1":
|
117
|
+
name: punctuation.definition.heading.moimoin
|
118
|
+
"2":
|
119
|
+
name: punctuation.definition.heading.moimoin
|
120
|
+
match: ^\s*(===)\s.*\s(===)\n
|
121
|
+
- name: markup.heading.4.moinmoin
|
122
|
+
captures:
|
123
|
+
"1":
|
124
|
+
name: punctuation.definition.heading.moimoin
|
125
|
+
"2":
|
126
|
+
name: punctuation.definition.heading.moimoin
|
127
|
+
match: ^\s*(====)\s.*\s(====)\n
|
128
|
+
- name: markup.heading.5.moinmoin
|
129
|
+
captures:
|
130
|
+
"1":
|
131
|
+
name: punctuation.definition.heading.moimoin
|
132
|
+
"2":
|
133
|
+
name: punctuation.definition.heading.moimoin
|
134
|
+
match: ^\s*(=====)\s.*\s(=====)\n
|
135
|
+
- name: meta.separator.moinmoin
|
136
|
+
match: ^\s*-----\s*\n
|
137
|
+
- name: meta.pragma.moimoin
|
138
|
+
match: ^#pragma.*
|
139
|
+
- name: comment.line.double-number-sign.moimoin
|
140
|
+
captures:
|
141
|
+
"1":
|
142
|
+
name: punctuation.definition.comment.moimoin
|
143
|
+
match: ^(##).*$\n?
|
144
|
+
- captures:
|
145
|
+
"1":
|
146
|
+
name: markup.list.definition.term.moinmoin
|
147
|
+
"2":
|
148
|
+
name: punctuation.separator.definition.moinmoin
|
149
|
+
begin: ^\s+(.*?(::))(?=\s+\S)
|
150
|
+
contentName: markup.list.definition.moinmoin
|
151
|
+
end: \n
|
152
|
+
patterns:
|
153
|
+
- include: "#inline"
|
154
|
+
- captures:
|
155
|
+
"1":
|
156
|
+
name: punctuation.definition.list_item.moinmoin
|
157
|
+
"2":
|
158
|
+
name: markup.list.unnumbered.moinmoin
|
159
|
+
begin: ^\s+(\*)(\s)
|
160
|
+
contentName: markup.list.unnumbered.moinmoin
|
161
|
+
end: \n
|
162
|
+
patterns:
|
163
|
+
- include: "#inline"
|
164
|
+
- captures:
|
165
|
+
"1":
|
166
|
+
name: punctuation.definition.list_item.moinmoin
|
167
|
+
"2":
|
168
|
+
name: markup.list.numbered.moinmoin
|
169
|
+
begin: ^\s+((?:[aAiI]|\d+)\.(?:\#\d+)?)(\s)
|
170
|
+
contentName: markup.list.numbered.moinmoin
|
171
|
+
end: \n
|
172
|
+
patterns:
|
173
|
+
- include: "#inline"
|
174
|
+
- captures:
|
175
|
+
"1":
|
176
|
+
name: punctuation.definition.table.column.moinmoin
|
177
|
+
"2":
|
178
|
+
name: punctuation.definition.table.column.moinmoin
|
179
|
+
begin: ^\s*(\|\|)
|
180
|
+
contentName: meta.table.moinmoin
|
181
|
+
end: (\|\|$)|\n
|
182
|
+
patterns:
|
183
|
+
- include: "#inline"
|
184
|
+
- name: meta.paragraph.moinmoin
|
185
|
+
begin: ^\s*(?=\S)
|
186
|
+
end: \n
|
187
|
+
patterns:
|
188
|
+
- include: "#inline"
|
189
|
+
keyEquivalent: ^~M
|
@@ -0,0 +1,572 @@
|
|
1
|
+
---
|
2
|
+
name: MooTools
|
3
|
+
scopeName: source.js.mootools
|
4
|
+
repository:
|
5
|
+
array-functions:
|
6
|
+
name: meta.function.array.js.mootools
|
7
|
+
endCaptures:
|
8
|
+
"1":
|
9
|
+
name: support.function.array.js.mootools
|
10
|
+
begin: (\$(?:each|A)\()
|
11
|
+
contentName: variable.parameter.function.array.js.mootools
|
12
|
+
beginCaptures:
|
13
|
+
"1":
|
14
|
+
name: support.function.array.js.mootools
|
15
|
+
end: (\))
|
16
|
+
patterns:
|
17
|
+
- include: source.js
|
18
|
+
element-functions:
|
19
|
+
name: meta.function.element.js.mootools
|
20
|
+
endCaptures:
|
21
|
+
"1":
|
22
|
+
name: support.function.element.js.mootools
|
23
|
+
begin: (\$?\$\()
|
24
|
+
contentName: variable.parameter.function.element.js.mootools
|
25
|
+
beginCaptures:
|
26
|
+
"1":
|
27
|
+
name: support.function.element.js.mootools
|
28
|
+
end: (\))
|
29
|
+
patterns:
|
30
|
+
- include: source.js
|
31
|
+
hash-functions:
|
32
|
+
name: meta.function.hash.js.mootools
|
33
|
+
endCaptures:
|
34
|
+
"1":
|
35
|
+
name: support.function.hash.js.mootools
|
36
|
+
begin: (\$H\()
|
37
|
+
contentName: variable.parameter.function.hash.js.mootools
|
38
|
+
beginCaptures:
|
39
|
+
"1":
|
40
|
+
name: support.function.hash.js.mootools
|
41
|
+
end: (\))
|
42
|
+
patterns:
|
43
|
+
- include: source.js
|
44
|
+
fx-options:
|
45
|
+
patterns:
|
46
|
+
- name: support.class.keys.fx.options.js.mootools
|
47
|
+
match: \b(onStart|onComplete|transition|duration|unit|wait|fps)\b
|
48
|
+
- name: support.class.keys.fx.slide.options.js.mootools
|
49
|
+
match: \b(mode)\b
|
50
|
+
leading-space:
|
51
|
+
patterns:
|
52
|
+
- name: meta.leading-tabs
|
53
|
+
begin: ^(?=(\t| ))
|
54
|
+
end: (?=[^\t\s])
|
55
|
+
patterns:
|
56
|
+
- captures:
|
57
|
+
"6":
|
58
|
+
name: meta.even-tab.group6.spaces
|
59
|
+
"11":
|
60
|
+
name: meta.odd-tab.group11.spaces
|
61
|
+
"7":
|
62
|
+
name: meta.odd-tab.group7.spaces
|
63
|
+
"8":
|
64
|
+
name: meta.even-tab.group8.spaces
|
65
|
+
"9":
|
66
|
+
name: meta.odd-tab.group9.spaces
|
67
|
+
"1":
|
68
|
+
name: meta.odd-tab.group1.spaces
|
69
|
+
"2":
|
70
|
+
name: meta.even-tab.group2.spaces
|
71
|
+
"3":
|
72
|
+
name: meta.odd-tab.group3.spaces
|
73
|
+
"4":
|
74
|
+
name: meta.even-tab.group4.spaces
|
75
|
+
"10":
|
76
|
+
name: meta.even-tab.group10.spaces
|
77
|
+
"5":
|
78
|
+
name: meta.odd-tab.group5.spaces
|
79
|
+
match: ( )( )?( )?( )?( )?( )?( )?( )?( )?( )?( )?
|
80
|
+
- captures:
|
81
|
+
"6":
|
82
|
+
name: meta.even-tab.group6.tab
|
83
|
+
"11":
|
84
|
+
name: meta.odd-tab.group11.tab
|
85
|
+
"7":
|
86
|
+
name: meta.odd-tab.group7.tab
|
87
|
+
"8":
|
88
|
+
name: meta.even-tab.group8.tab
|
89
|
+
"9":
|
90
|
+
name: meta.odd-tab.group9.tab
|
91
|
+
"1":
|
92
|
+
name: meta.odd-tab.group1.tab
|
93
|
+
"2":
|
94
|
+
name: meta.even-tab.group2.tab
|
95
|
+
"3":
|
96
|
+
name: meta.odd-tab.group3.tab
|
97
|
+
"4":
|
98
|
+
name: meta.even-tab.group4.tab
|
99
|
+
"10":
|
100
|
+
name: meta.even-tab.group10.tab
|
101
|
+
"5":
|
102
|
+
name: meta.odd-tab.group5.tab
|
103
|
+
match: (\t)(\t)?(\t)?(\t)?(\t)?(\t)?(\t)?(\t)?(\t)?(\t)?(\t)?
|
104
|
+
comment: |
|
105
|
+
|
106
|
+
The leading-space code is the ribbon highlighing thomas Aylott contributed to source.js.prototype.
|
107
|
+
More info in this thread:
|
108
|
+
http://comox.textdrive.com/pipermail/textmate/2006-August/012373.html
|
109
|
+
|
110
|
+
dom-functions:
|
111
|
+
name: meta.function.dom.js.mootools
|
112
|
+
endCaptures:
|
113
|
+
"1":
|
114
|
+
name: support.function.dom.js.mootools
|
115
|
+
begin: (\$ES?\()
|
116
|
+
contentName: variable.parameter.function.dom.js.mootools
|
117
|
+
beginCaptures:
|
118
|
+
"1":
|
119
|
+
name: support.function.dom.js.mootools
|
120
|
+
end: (\))
|
121
|
+
patterns:
|
122
|
+
- include: source.js
|
123
|
+
uuid: 7E4B5859-2FB4-4D2A-9105-276BDE28B94E
|
124
|
+
foldingStartMarker: (^.*{[^}]*$|^.*\([^\)]*$|^.*/\*(?!.*\*/).*$)
|
125
|
+
patterns:
|
126
|
+
- name: support.class.js.mootools
|
127
|
+
match: \b(Class|Array|Element|Event|Function|String)\b
|
128
|
+
comment: |-
|
129
|
+
|
130
|
+
Class
|
131
|
+
The base class object of the http://mootools.net framework.
|
132
|
+
http://docs.mootools.net/files/Core/Moo-js.html
|
133
|
+
- name: support.class.class.js.mootools
|
134
|
+
match: \b(empty|extend|implement)\b
|
135
|
+
- name: support.function.class.js.mootools
|
136
|
+
match: \b(extend|Native)\b
|
137
|
+
- name: support.function.utility.js.mootools
|
138
|
+
match: \$(type|chk|pick|random|clear)\b
|
139
|
+
comment: |
|
140
|
+
|
141
|
+
Utility
|
142
|
+
Contains Utility functions
|
143
|
+
http://docs.mootools.net/files/Core/Utility-js.html
|
144
|
+
|
145
|
+
- captures:
|
146
|
+
"1":
|
147
|
+
name: support.class.window.browser.js.mootools
|
148
|
+
match: window\.(ie|ie6|ie7|khtml|gecko)\b
|
149
|
+
- include: "#array-functions"
|
150
|
+
comment: |-
|
151
|
+
|
152
|
+
Array
|
153
|
+
A collection of The Array Object prototype methods.
|
154
|
+
http://docs.mootools.net/files/Native/Array-js.html
|
155
|
+
- name: support.class.array.js.mootools
|
156
|
+
match: \b(forEach|filter|map|every|some|indexOf|each|copy|remove|test|extend|associate)\b
|
157
|
+
- include: "#element-functions"
|
158
|
+
comment: |-
|
159
|
+
|
160
|
+
Element
|
161
|
+
Custom class to allow all of its methods to be used with any DOM element via the dollar function $.
|
162
|
+
http://docs.mootools.net/files/Native/Element-js.html
|
163
|
+
- name: support.class.element.js.mootools
|
164
|
+
match: \b(injectBefore|injectAfter|injectInside|adopt|remove|clone|replaceWith|appendText|hasClass|addClass|removeClass|toggleClass|setStyle|setStyles|setOpacity|getStyle|addEvent|removeEvent|removeEvents|fireEvent|getPrevious|getNext|getFirst|getLast|getParent|getChildren|setProperty|setProperties|setHTML|getProperty|getTag|scrollTo|getValue|getSize|getPosition|getTop|getLeft|getCoordinates)\b
|
165
|
+
- name: support.class.event.js.mootools
|
166
|
+
match: \b(stop|stopPropagation|preventDefault|bindWithEvent)\b
|
167
|
+
comment: |-
|
168
|
+
|
169
|
+
Event
|
170
|
+
Cross browser methods to manage events.
|
171
|
+
http://docs.mootools.net/files/Native/Event-js.html
|
172
|
+
- name: support.class.function.js.mootools
|
173
|
+
match: \b(create|pass|attempt|bind|bindAsEventListener|delay|periodical)\b
|
174
|
+
comment: |-
|
175
|
+
|
176
|
+
Function
|
177
|
+
A collection of The Function Object prototype methods.
|
178
|
+
http://docs.mootools.net/files/Native/Function-js.html
|
179
|
+
- name: support.class.string.js.mootools
|
180
|
+
match: \b(test|toInt|camelCase|hyphenate|capitalize|trim|clean|rgbToHex|hexToRgb)\b
|
181
|
+
comment: |-
|
182
|
+
|
183
|
+
String
|
184
|
+
A collection of The String Object prototype methods.
|
185
|
+
http://docs.mootools.net/files/Native/String-js.html
|
186
|
+
- name: support.class.number.js.mootools
|
187
|
+
match: \btoInt\b
|
188
|
+
- include: "#dom-functions"
|
189
|
+
comment: |-
|
190
|
+
|
191
|
+
DOM
|
192
|
+
Css Query related function and Element extensions.
|
193
|
+
http://docs.mootools.net/files/Addons/Dom-js.html
|
194
|
+
- name: support.class.dom.js.mootools
|
195
|
+
match: \b(getElements|getElementById|getElement|getElementsBySelector|getElementsByClassName)\b
|
196
|
+
comment: document. getElementsByClassName might belong somewhere else
|
197
|
+
- include: "#hash-functions"
|
198
|
+
comment: |-
|
199
|
+
|
200
|
+
Hash
|
201
|
+
It wraps an object that it uses internally as a map.
|
202
|
+
http://docs.mootools.net/files/Addons/Hash-js.html
|
203
|
+
-- note: several overlaps in here with named properties from array.js.mootools
|
204
|
+
- name: support.class.hash.js.mootools
|
205
|
+
match: \b(get|hasKey|set|remove|each|extend|empty|keys|values)\b
|
206
|
+
- name: support.class.color.js.mootools
|
207
|
+
match: \b(mix|invert|setHue|setSaturation|setBrightness)\b
|
208
|
+
comment: |-
|
209
|
+
|
210
|
+
Color
|
211
|
+
Creates a new Color Object, which is an array with some color specific methods.
|
212
|
+
http://docs.mootools.net/files/Addons/Color-js.html
|
213
|
+
- name: support.function.color.js.mootools
|
214
|
+
captures:
|
215
|
+
"1":
|
216
|
+
name: variable.parameter.function.js
|
217
|
+
match: \$(?:RGB|HSB)\(([^)]*)\)\b
|
218
|
+
- name: support.function.chain.js.mootools
|
219
|
+
match: \b(chain|(call|clear)Chain)\b
|
220
|
+
comment: |-
|
221
|
+
|
222
|
+
Common
|
223
|
+
Contains common implementations for custom classes.
|
224
|
+
http://docs.mootools.net/files/Addons/Common-js.html
|
225
|
+
- name: support.function.events.js.mootools
|
226
|
+
match: \b(add|fire|remove)Event\b
|
227
|
+
- name: support.function.options.js.mootools
|
228
|
+
match: \bsetOptions\b
|
229
|
+
- name: support.class.base.window.js.mootools
|
230
|
+
match: \bonDomReady\b
|
231
|
+
comment: |-
|
232
|
+
|
233
|
+
Window Base
|
234
|
+
Cross browser methods to get the window size, onDomReady method.
|
235
|
+
http://docs.mootools.net/files/Window/Window-Base-js.html
|
236
|
+
-- note: addEvent is already listed under Element
|
237
|
+
- name: support.class.size.window.js.mootools
|
238
|
+
match: \b(get(Width|Height|Scroll(Width|Height|Left|Top)))\b
|
239
|
+
comment: |-
|
240
|
+
|
241
|
+
Window Size
|
242
|
+
Cross browser methods to get various window dimensions.
|
243
|
+
http://docs.mootools.net/files/Window/Window-Size-js.html
|
244
|
+
-- note: getSize is already listed under Element
|
245
|
+
- name: support.class.ajax.js.mootools
|
246
|
+
match: \b(request|evalScripts)\b
|
247
|
+
comment: |-
|
248
|
+
|
249
|
+
Ajax
|
250
|
+
An Ajax class, For all your asynchronous needs.
|
251
|
+
http://docs.mootools.net/files/Remote/Ajax-js.html
|
252
|
+
- name: support.function.js.mootools
|
253
|
+
match: \btoQueryString\b
|
254
|
+
comment: "note: both Object and Element have a toQueryString function/property"
|
255
|
+
- name: support.class.element.js
|
256
|
+
match: \bsend\b
|
257
|
+
- name: support.function.asset.js.mootools
|
258
|
+
match: \b(javascript|css|images?)\b
|
259
|
+
comment: |-
|
260
|
+
|
261
|
+
Assets
|
262
|
+
provides dynamic loading for images, css and javascript files.
|
263
|
+
http://docs.mootools.net/files/Remote/Assets-js.html
|
264
|
+
- name: support.class.cookie.js.mootools
|
265
|
+
match: \b(set|get|remove)\b
|
266
|
+
comment: |-
|
267
|
+
|
268
|
+
Cookie
|
269
|
+
Class for creating, getting, and removing cookies.
|
270
|
+
http://docs.mootools.net/files/Remote/Assets-js.html
|
271
|
+
- name: support.class.json.js.mootools
|
272
|
+
match: \b(toString|evaluate)\b
|
273
|
+
comment: |-
|
274
|
+
|
275
|
+
Json
|
276
|
+
Simple Json parser and Stringyfier, See: http://www.json.org/
|
277
|
+
http://docs.mootools.net/files/Remote/Json-js.html
|
278
|
+
- name: support.class.json.js.mootools
|
279
|
+
match: \bJson\.Remote\b
|
280
|
+
comment: |-
|
281
|
+
|
282
|
+
Json Remote
|
283
|
+
Wrapped XHR with automated sending and receiving of Javascript Objects in Json Format.
|
284
|
+
http://docs.mootools.net/files/Remote/Json-Remote-js.html
|
285
|
+
- name: support.class.xhr.js.mootools
|
286
|
+
match: \bXHR\b
|
287
|
+
comment: |-
|
288
|
+
|
289
|
+
XHR
|
290
|
+
Contains the basic XMLHttpRequest Class Wrapper.
|
291
|
+
http://docs.mootools.net/files/Remote/XHR-js.html
|
292
|
+
- name: support.class.base.fx.js.mootools
|
293
|
+
match: \b(set|start|stop)\b
|
294
|
+
comment: |-
|
295
|
+
|
296
|
+
Fx.Base
|
297
|
+
Base class for the Mootools Effects (Moo.Fx) library.
|
298
|
+
http://docs.mootools.net/files/Effects/Fx-Base-js.html
|
299
|
+
- name: support.class.transitions.fx.js.mootools
|
300
|
+
match: \b(linear|sineInOut)\b
|
301
|
+
- name: support.class.keys.options.transitions.fx
|
302
|
+
match: \b(onStart|onComplete|transition|duration|unit|wait|fps)\b
|
303
|
+
- name: support.class.elements.fx.js.mootools
|
304
|
+
match: \b(start)\b
|
305
|
+
comment: |-
|
306
|
+
|
307
|
+
Fx.Elements
|
308
|
+
Fx.Elements allows you to apply any number of styles transitions to a selection of elements.
|
309
|
+
http://docs.mootools.net/files/Effects/Fx-Elements-js.html
|
310
|
+
- endCaptures:
|
311
|
+
"1":
|
312
|
+
name: punctuation.definition.parameters.end.js
|
313
|
+
begin: (new)\s+(Fx\.Elements)(\()
|
314
|
+
contentName: variable.parameter.fx.elements.js.mootools
|
315
|
+
beginCaptures:
|
316
|
+
"1":
|
317
|
+
name: keyword.operator.new.js
|
318
|
+
"2":
|
319
|
+
name: entity.name.type.instance.js.mootools
|
320
|
+
"3":
|
321
|
+
name: punctuation.definition.parameters.begin.js
|
322
|
+
end: (\)(;|$))
|
323
|
+
patterns:
|
324
|
+
- include: "#element-functions"
|
325
|
+
- include: "#array-functions"
|
326
|
+
- include: "#dom-functions"
|
327
|
+
- include: "#hash-functions"
|
328
|
+
- endCaptures:
|
329
|
+
"1":
|
330
|
+
name: punctuation.definition.parameters.end.js
|
331
|
+
begin: (\{)
|
332
|
+
contentName: variable.parameter.fx.elements.options.js.mootools
|
333
|
+
beginCaptures:
|
334
|
+
"1":
|
335
|
+
name: punctuation.definition.parameters.begin.js
|
336
|
+
end: (\})(?=\))
|
337
|
+
patterns:
|
338
|
+
- name: punctuation.separator.key-value.js.mootools
|
339
|
+
match: (:)
|
340
|
+
- include: "#fx-options"
|
341
|
+
- include: source.js
|
342
|
+
- name: support.class.scroll.fx.js.mootools
|
343
|
+
match: \b(scrollTo|to(Top|Bottom|Left|Right|Element))
|
344
|
+
comment: |-
|
345
|
+
|
346
|
+
Fx.Scroll
|
347
|
+
Scroll any element with an overflow, including the window element.
|
348
|
+
http://docs.mootools.net/files/Effects/Fx-Scroll-js.html
|
349
|
+
- endCaptures:
|
350
|
+
"1":
|
351
|
+
name: punctuation.definition.parameters.end.js
|
352
|
+
begin: (new)\s+(Fx\.Scroll)(\()
|
353
|
+
contentName: variable.parameter.fx.scroll.js.mootools
|
354
|
+
beginCaptures:
|
355
|
+
"1":
|
356
|
+
name: keyword.operator.new.js
|
357
|
+
"2":
|
358
|
+
name: entity.name.type.instance.js.mootools
|
359
|
+
"3":
|
360
|
+
name: punctuation.definition.parameters.begin.js
|
361
|
+
end: (\)(;|$))
|
362
|
+
patterns:
|
363
|
+
- include: "#element-functions"
|
364
|
+
- include: "#array-functions"
|
365
|
+
- include: "#dom-functions"
|
366
|
+
- include: "#hash-functions"
|
367
|
+
- endCaptures:
|
368
|
+
"1":
|
369
|
+
name: punctuation.definition.parameters.end.js
|
370
|
+
begin: (\{)
|
371
|
+
contentName: variable.parameter.fx.scroll.options.js.mootools
|
372
|
+
beginCaptures:
|
373
|
+
"1":
|
374
|
+
name: punctuation.definition.parameters.begin.js
|
375
|
+
end: (\})(?=\))
|
376
|
+
patterns:
|
377
|
+
- name: punctuation.separator.key-value.js.mootools
|
378
|
+
match: (:)
|
379
|
+
- include: "#fx-options"
|
380
|
+
- include: source.js
|
381
|
+
- name: support.class.slide.fx.js.mootools
|
382
|
+
match: \b(slide(In|Out)|hide|show|toggle)\b
|
383
|
+
comment: |-
|
384
|
+
|
385
|
+
Fx.Slide
|
386
|
+
The slide effect; slides an element in horizontally or vertically, the contents will fold inside.
|
387
|
+
http://docs.mootools.net/files/Effects/Fx-Slide-js.html
|
388
|
+
- endCaptures:
|
389
|
+
"1":
|
390
|
+
name: punctuation.definition.parameters.end.js
|
391
|
+
begin: (new)\s+(Fx\.Slide)(\()
|
392
|
+
contentName: variable.parameter.fx.slide.js.mootools
|
393
|
+
beginCaptures:
|
394
|
+
"1":
|
395
|
+
name: keyword.operator.new.js
|
396
|
+
"2":
|
397
|
+
name: entity.name.type.instance.js.mootools
|
398
|
+
"3":
|
399
|
+
name: punctuation.definition.parameters.begin.js
|
400
|
+
end: (\)(;|$))
|
401
|
+
patterns:
|
402
|
+
- include: "#element-functions"
|
403
|
+
- include: "#array-functions"
|
404
|
+
- include: "#dom-functions"
|
405
|
+
- include: "#hash-functions"
|
406
|
+
- endCaptures:
|
407
|
+
"1":
|
408
|
+
name: punctuation.definition.parameters.end.js
|
409
|
+
begin: (\{)
|
410
|
+
contentName: variable.parameter.fx.slide.options.js.mootools
|
411
|
+
beginCaptures:
|
412
|
+
"1":
|
413
|
+
name: punctuation.definition.parameters.begin.js
|
414
|
+
end: (\})(?=\))
|
415
|
+
patterns:
|
416
|
+
- name: punctuation.separator.key-value.js.mootools
|
417
|
+
match: (:)
|
418
|
+
- include: "#fx-options"
|
419
|
+
- include: source.js
|
420
|
+
- name: support.class.slide.fx.js.mootools
|
421
|
+
match: \b(hide|start)\b
|
422
|
+
comment: |-
|
423
|
+
|
424
|
+
Fx.Style
|
425
|
+
The Style effect; Extends Fx.Base, inherits all its properties.
|
426
|
+
http://docs.mootools.net/files/Effects/Fx-Style-js.html
|
427
|
+
- endCaptures:
|
428
|
+
"1":
|
429
|
+
name: punctuation.definition.parameters.end.js
|
430
|
+
begin: (new)\s+(Fx\.Style)(\()
|
431
|
+
contentName: variable.parameter.fx.style.js.mootools
|
432
|
+
beginCaptures:
|
433
|
+
"1":
|
434
|
+
name: keyword.operator.new.js
|
435
|
+
"2":
|
436
|
+
name: entity.name.type.instance.fx.style.js.mootools
|
437
|
+
"3":
|
438
|
+
name: punctuation.definition.parameters.begin.js
|
439
|
+
end: (\)(;|$))
|
440
|
+
patterns:
|
441
|
+
- include: "#element-functions"
|
442
|
+
- include: "#array-functions"
|
443
|
+
- include: "#dom-functions"
|
444
|
+
- include: "#hash-functions"
|
445
|
+
- endCaptures:
|
446
|
+
"1":
|
447
|
+
name: punctuation.definition.parameters.end.js
|
448
|
+
begin: ,\s*(\{)
|
449
|
+
contentName: variable.parameter.fx.style.options.js.mootools
|
450
|
+
beginCaptures:
|
451
|
+
"1":
|
452
|
+
name: punctuation.definition.parameters.begin.js
|
453
|
+
end: (\})(?=\))
|
454
|
+
patterns:
|
455
|
+
- name: punctuation.separator.key-value.js.mootools
|
456
|
+
match: (:)
|
457
|
+
- include: "#fx-options"
|
458
|
+
- include: source.js
|
459
|
+
- name: support.class.element.js.mootools
|
460
|
+
match: \b(effect)\b
|
461
|
+
- name: support.class.styles.fx.js.mootools
|
462
|
+
match: \b(start)\b
|
463
|
+
comment: |-
|
464
|
+
|
465
|
+
Fx.Styles
|
466
|
+
Allows you to animate multiple css properties at once; Extends Fx.Base, inherits all its properties.
|
467
|
+
http://docs.mootools.net/files/Effects/Fx-Styles-js.html
|
468
|
+
- endCaptures:
|
469
|
+
"1":
|
470
|
+
name: punctuation.definition.parameters.end.js
|
471
|
+
begin: (new)\s+(Fx\.Styles)(\()
|
472
|
+
contentName: variable.parameter.fx.styles.js.mootools
|
473
|
+
beginCaptures:
|
474
|
+
"1":
|
475
|
+
name: keyword.operator.new.js
|
476
|
+
"2":
|
477
|
+
name: entity.name.type.instance.js.mootools
|
478
|
+
"3":
|
479
|
+
name: punctuation.definition.parameters.begin.js
|
480
|
+
end: (\)(;|$))
|
481
|
+
patterns:
|
482
|
+
- include: "#element-functions"
|
483
|
+
- include: "#array-functions"
|
484
|
+
- include: "#dom-functions"
|
485
|
+
- include: "#hash-functions"
|
486
|
+
- endCaptures:
|
487
|
+
"1":
|
488
|
+
name: punctuation.definition.parameters.end.js
|
489
|
+
begin: (\{)
|
490
|
+
contentName: variable.parameter.fx.styles.options.js.mootools
|
491
|
+
beginCaptures:
|
492
|
+
"1":
|
493
|
+
name: punctuation.definition.parameters.begin.js
|
494
|
+
end: (\})(?=\))
|
495
|
+
patterns:
|
496
|
+
- name: punctuation.separator.key-value.js.mootools
|
497
|
+
match: (:)
|
498
|
+
- include: "#fx-options"
|
499
|
+
- include: source.js
|
500
|
+
- name: support.class.element.js.mootools
|
501
|
+
match: \b(effects)\b
|
502
|
+
- name: support.class.transitions.fx.js.mootools
|
503
|
+
match: \b(linear|quadIn|quadOut|quadInOut|cubicIn|cubicOut|cubicInOut|quartIn|quartOut|quartInOut|quintIn|quintOut|quintInOut|sineIn|sineOut|sineInOut|expoIn|expoOut|expoInOut|circIn|circOut|circInOut|elasticIn|elasticOut|elasticInOut|backIn|backOut|backInOut|bounceIn|bounceOut|bounceInOut)\b
|
504
|
+
comment: |-
|
505
|
+
|
506
|
+
Fx.Transitions
|
507
|
+
A collection of tweaning transitions for use with the Fx.Base classes.
|
508
|
+
http://docs.mootools.net/files/Effects/Fx-Transitions-js.html
|
509
|
+
- name: support.class.fx.utils.js.mootools
|
510
|
+
match: \b(toggle|show)\b
|
511
|
+
comment: |-
|
512
|
+
|
513
|
+
Fx.Utils
|
514
|
+
Contains Fx.Height, Fx.Width, Fx.Opacity.
|
515
|
+
http://docs.mootools.net/files/Effects/Fx-Styles-js.html
|
516
|
+
- endCaptures:
|
517
|
+
"1":
|
518
|
+
name: punctuation.definition.parameters.end.js
|
519
|
+
begin: (new)\s+(Fx\.(?:Height|Width|Opacity))(\()
|
520
|
+
contentName: variable.parameter.fx.utils.js.mootools
|
521
|
+
beginCaptures:
|
522
|
+
"1":
|
523
|
+
name: keyword.operator.new.js
|
524
|
+
"2":
|
525
|
+
name: entity.name.type.instance.js.mootools
|
526
|
+
"3":
|
527
|
+
name: punctuation.definition.parameters.begin.js
|
528
|
+
end: (\));?$
|
529
|
+
patterns:
|
530
|
+
- include: "#element-functions"
|
531
|
+
- include: "#array-functions"
|
532
|
+
- include: "#dom-functions"
|
533
|
+
- include: "#hash-functions"
|
534
|
+
- endCaptures:
|
535
|
+
"1":
|
536
|
+
name: punctuation.definition.parameters.end.js
|
537
|
+
begin: (\{)
|
538
|
+
contentName: variable.parameter.fx.utils.options.js.mootools
|
539
|
+
beginCaptures:
|
540
|
+
"1":
|
541
|
+
name: punctuation.definition.parameters.begin.js
|
542
|
+
end: (\})\)
|
543
|
+
patterns:
|
544
|
+
- name: punctuation.separator.key-value.js.mootools
|
545
|
+
match: (:)
|
546
|
+
- include: "#fx-options"
|
547
|
+
- include: source.js
|
548
|
+
- name: support.class.element.js.mootools
|
549
|
+
match: \b(makeResizable)\b
|
550
|
+
comment: |-
|
551
|
+
|
552
|
+
Drag.Base
|
553
|
+
Modify two css properties of an element based on the position of the mouse.
|
554
|
+
http://docs.mootools.net/files/Drag/Drag-Base-js.html
|
555
|
+
- name: support.class.element.js.mootools
|
556
|
+
match: \b(makeDraggable)\b
|
557
|
+
comment: |-
|
558
|
+
|
559
|
+
Drag.Move
|
560
|
+
Modify two css properties of an element based on the position of the mouse.
|
561
|
+
http://docs.mootools.net/files/Drag/Drag-Base-js.html
|
562
|
+
- include: "#leading-space"
|
563
|
+
- include: source.js
|
564
|
+
foldingStopMarker: (^\s*\}|^\s*\)|^(?!.*/\*).*\*/)
|
565
|
+
keyEquivalent: ^~J
|
566
|
+
comment: |
|
567
|
+
|
568
|
+
MooTools Framework by Valerio Proietti.
|
569
|
+
http://mootools.net
|
570
|
+
This syntax document is largely based on the documentation at http://docs.mootools.net
|
571
|
+
Initial bundle by Joe Maller.
|
572
|
+
|