文件操作 - xml.bflang2
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/bluefish/bflang/xml.bflang2
编辑文件内容
<?xml version="1.0"?> <!-- Bluefish HTML Editor xml.bflang2 $$Revision: 8607 $ P15 Olivier Sessink This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. --> <bflang name="XML" version="3" contexts="8" matches="17"> <header> <mime type="text/xml"/> <mime type="application/xml"/> <option name="show_in_menu" default="1"/> <highlight name="assignment" style="brackets" /> <highlight name="attribute" style="attribute" /> <highlight name="comment" style="comment" /> <highlight name="entity" style="value" /> <highlight name="string" style="string" /> <highlight name="tag" style="tag" /> <highlight name="xml-declaration" style="preprocessor" /> </header> <properties> <comment id="cm.htmlcomment" type="block" start="<!--" end="-->" /> <default_spellcheck enabled="1" spell_decode_entities="1" /> </properties> <definition> <context symbols="><&; 	 -" commentid_block="cm.htmlcomment" commentid_line="none"> <element id="e.xml.open" pattern="<?xml" highlight="xml-declaration" starts_block="1"> <context symbols=">&;"' 	 ="> <element pattern="[a-zA-Z0-9:-]+" is_regex="1" highlight="xml-declaration" /> <element pattern="?>" ends_context="1" ends_block="1" blockstartelement="e.xml.open" highlight="xml-declaration" /> <element id="e.xml.doublequote" pattern=""" highlight="string"> <context symbols="&;"" highlight="string" > <element id="e.xml.entity" pattern="&[a-z0-9#]+;" is_regex="1" highlight="entity" /> <element pattern=""" highlight="string" ends_context="1"/> </context> </element> <element id="e.xml.singlequote" pattern="'" highlight="string"> <context symbols="&;\'" highlight="string" > <element idref="e.xml.entity"/> <element pattern="'" highlight="string" ends_context="1"/> </context> </element> </context> </element> <element id="e.xml.lcomment" pattern="<!--" highlight="comment" starts_block="1"> <context symbols="-> 	 " highlight="comment"> <element pattern="-->" ends_block="1" blockstartelement="e.xml.lcomment" highlight="comment" ends_context="1" /> </context> </element> <element id="e.xml.tag.open" pattern="<[_a-zA-Z0-9:-]+" is_regex="1" highlight="tag" starts_block="1" tagclose_from_blockstack="1"> <context symbols=">&;"' 	 ="> <element pattern="[_a-zA-Z0-9:-]+" is_regex="1" highlight="attribute" /> <element pattern="=" highlight="assignment" /> <element idref="e.xml.doublequote"/> <element idref="e.xml.singlequote"/> <element pattern="/>" highlight="tag" ends_context="1" ends_block="1" blockstartelement="e.xml.tag.open" /> <element pattern=">" highlight="tag" blockstartelement="e.xml.tag.open" stretch_blockstart="1"> <context symbols="><&; 	 "> <element pattern="</[_a-zA-Z0-9:-]+>" is_regex="1" highlight="tag" ends_context="2" ends_block="1" blockstartelement="e.xml.tag.open" /> <element idref="e.xml.tag.open"/> <element idref="e.xml.lcomment"/> <element idref="e.xml.entity"/> </context> </element> </context> </element> <element idref="e.xml.entity" /> </context> </definition> </bflang>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件