66 lines
2.2 KiB
Plaintext
66 lines
2.2 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!--
|
||
|
|
||
|
This file is part of GtkSourceView
|
||
|
|
||
|
Authors: Markus Johnsson
|
||
|
Copyright (C) 2008 Markus Johnsson <markus.johnsson.84@gmail.com>
|
||
|
|
||
|
GtkSourceView is free software; you can redistribute it and/or
|
||
|
modify it under the terms of the GNU Lesser General Public
|
||
|
License as published by the Free Software Foundation; either
|
||
|
version 2.1 of the License, or (at your option) any later version.
|
||
|
|
||
|
GtkSourceView is distributed in the hope that it will be useful,
|
||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||
|
Lesser General Public License for more details.
|
||
|
|
||
|
You should have received a copy of the GNU Lesser General Public
|
||
|
License along with this library; if not, write to the Free Software
|
||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||
|
|
||
|
-->
|
||
|
<language id="mxml" _name="MXML" version="2.0" _section="Markup">
|
||
|
<metadata>
|
||
|
<property name="globs">*.mxml</property>
|
||
|
<property name="block-comment-start"><!--</property>
|
||
|
<property name="block-comment-end">--></property>
|
||
|
</metadata>
|
||
|
|
||
|
<styles>
|
||
|
<style id="element-name" _name="Element name" map-to="xml:element-name"/>
|
||
|
<style id="cdata-delim" _name="CDATA delimiter" map-to="xml:cdata-delim"/>
|
||
|
</styles>
|
||
|
|
||
|
<definitions>
|
||
|
<context id="actionscript">
|
||
|
<start><(fx:Script|mx:Script)></start>
|
||
|
<end></\%{1@start}></end>
|
||
|
|
||
|
<include>
|
||
|
<context sub-pattern="0" where="start" style-ref="element-name"/>
|
||
|
<context sub-pattern="0" where="end" style-ref="element-name"/>
|
||
|
<context ref="xml:element-name"/>
|
||
|
<context id="actionscript-code" extend-parent="false">
|
||
|
<start><!\[CDATA\[</start>
|
||
|
<end>\]\]></end>
|
||
|
<include>
|
||
|
<context sub-pattern="0" where="start" style-ref="cdata-delim"/>
|
||
|
<context sub-pattern="0" where="end" style-ref="cdata-delim"/>
|
||
|
<context ref="actionscript:actionscript"/>
|
||
|
</include>
|
||
|
</context>
|
||
|
</include>
|
||
|
</context>
|
||
|
|
||
|
<context id="mxml">
|
||
|
<include>
|
||
|
<context ref="actionscript"/>
|
||
|
<context ref="xml:xml"/>
|
||
|
</include>
|
||
|
</context>
|
||
|
|
||
|
</definitions>
|
||
|
</language>
|