ultraedit编辑html文档的时候可以将其中的关键字、变量、变量的值、注释等用不同的颜色表现出来,加强了程序的可读性,把下面的这段配置加到ultraedit安装目录的wordfile.txt文件里, 你的ultraedit编辑器就可以特显php文档了。并且你还可以自己把想加的php关键字等加到/c1和/c2段中。
/l6"php" nocase noquote html_lang line comment = // block comment on = /* block comment off = */ block comment on alt = <? block comment off alt = ?> string chars = " file extensions = php phps php3
/delimiters = ~!@$%^&*()+=|\{}[]:;"<> , .?
/function string = "name=*">"
/c1"tags"
<a </a> <abbr> <abbr </abbr> <above> <acronym> <acronym </acronym> <address> <address </address> <applet </applet> <array> <area </area
<b> <b </b> <base <basefont <bdo> <bdo </bdo> <bgsound <big> <big </big> <blink> </blink> <blockquote> <blockquote </blockquote> <body <body> </body> <box> <br <br> <big <blink <button> </button>
<caption> <caption </caption> <center> <center </center> <cite> <cite </cite> <code> <code </code> <col> <colgroup> </colgroup> <comment> </comment>
<dd> <dd </dd> <del> <del </del> <dfn> <dfn </dfn> <dir> <dir </dir> <div> <div </div> <dl> <dl </dl> <dt> <dt </dt>
<em> <em </em> <embed
<fieldset> <fieldset </fieldset> <fig> <font </font> <form> <form </form> <frame <frameset </frameset>
<h1> <h1 </h1> <h2> <h2 </h2> <h3> <h3 </h3> <h4> <h4 </h4> <h5> <h5 </h5> <h6> <h6 </h6> <head> <head </head> <hr> <hr <html> <html </html>
<i> <i </i> <iframe> </iframe> <ilayer> </ilayer> <img <input> <input <ins> <ins </ins> <isindex> <isindex
<kbd> <kbd </kbd>
<label> <label </label> <layer> <layer </layer> <legend> <legend </legend> <li> <li </li> <link <listing> </listing>
<map </map> <marquee </marquee> <menu> <menu </menu> <meta <multicol> </multicol>
<nextid <nobr> </nobr> <noframes> </noframes> <nolayer> </nolayer> <note> </note> <noscript> </noscript>
<object> <object <ol> <ol </ol> <option> <option </option> <optgroup> <optgroup </optgroup>
<p <p> </p> <param <pre> <pre </pre>
<q> <q </q> <quote>
<range> <root>
<s> <s </s> <samp> <samp </samp> <script <script> </script> <select </select> <small> <small </small> <sound <spacer> <span> <span </span> <sqrt> <strike> <strike </strike> <strong> <strong </strong> <style> <style </style> <sub> <sub </sub> <sup> <sup </sup>
<table> <table </table> <tbody> <tbody </tbody> <td <td> </td> <text> <textarea <textarea> </textarea> <tfoot> <tfoot </tfoot> <th <th> </th> <thead> <thead </thead> <title> </title> <tr <tr> </tr> <tt> </tt> <tt
<u> <u </u> <ul> <ul </ul>
<var> </var> <var
<wbr>
<xmp> </xmp>
/c2"attributes"
abbr= accept-charset= accept= accesskey= action= align= alink= alt= archive= axis=
background= behavior below bgcolor= border=
cellpadding= cellspacing= char= charoff= charset= checked cite= class= classid= clear= code= codebase= codetype= color= cols= colspan= compact content= coords=
data= datetime= declare defer dir= disabled
enctype=
face= for= frame= frameborder= framespacing=
headers= height= hidden= href= hreflang= hspace= http-equiv=
id= ismap=
label= lang= language= link= loop= longdesc=
mailto= marginheight= marginwidth= maxlength= media= method= multiple
name= nohref noresize noshade
object= onblur= onchange= onfocus= onkeydown= onkeypress= onkeyup= onload= onreset= onselect= onsubmit= onunload= onclick= ondblclick= onmousedown= onmousemove= onmouseout= onmouseover= onmouseup=
profile= prompt=
readonly rel= rev= rows= rowspan= rules=
scheme= scope= scrolling= selected shape= size= span= src= standby= start= style= summary=
tabindex= target= text= title= topmargin= type=
url= usemap=
valign= value= valuetype= version= vlink= vspace=
width=
=