文件操作 - highlighter.bflang2
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/bluefish/bflang/highlighter.bflang2
编辑文件内容
<?xml version="1.0" encoding="UTF-8"?> <!-- Bluefish HTML Editor Highlighter.bflang2 $Revision: 6206 $ 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 2 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, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. --> <!-- Snippets for the Highlighter are avaible at: http://bfwiki.tellefsen.net/index.php/Highlighter_snippets --> <bflang name="Highlighter" version="2.0" contexts="2" matches ="4"> <header> <mime type="text/highlight"/> <option name="load_completion" default="1"/> <option name="show_in_menu" default="0"/> <highlight name="red" style="warning" /> <highlight name="green" style="string" /> <highlight name="blue" style="value" /> <highlight name="yellow" style="special-tag3" /> <highlight name="grey" style="comment" /> </header> <definition> <context symbols="><"> <element id="e.red" pattern="<r>" highlight="grey" starts_block="1"> <context id="c.red" symbols="><" highlight="red"> <element pattern="</r>" ends_block="1" blockstartelement="e.red" highlight="grey" ends_context="1" /> </context> </element> <element id="e.green" pattern="<g>" highlight="grey" starts_block="1"> <context id="c.green" symbols="><" highlight="green"> <element pattern="</g>" ends_block="1" blockstartelement="e.green" highlight="grey" ends_context="1" /> </context> </element> <element id="e.blue" pattern="<b>" highlight="grey" starts_block="1"> <context id="c.blue" symbols="><" highlight="blue"> <element pattern="</b>" ends_block="1" blockstartelement="e.blue" highlight="grey" ends_context="1" /> </context> </element> <element id="e.yellow" pattern="<y>" highlight="grey" starts_block="1"> <context id="c.yellow" symbols="><" highlight="yellow"> <element pattern="</y>" ends_block="1" blockstartelement="e.yellow" highlight="grey" ends_context="1" /> </context> </element> </context> </definition> </bflang>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件