PageRenderTime 50ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/42docs/news42/syntax.html

#
HTML | 15 lines | 14 code | 1 blank | 0 comment | 0 complexity | 82059f0662db34ad5e353f11b064857d MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Syntax Highlighting</title><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="What's New in jEdit 4.2"><link rel="up" href="user-changes.html" title="Chapter 1. User-Visible Changes"><link rel="previous" href="rect.html" title="Rectangular Editing"><link rel="next" href="search.html" title="Search and Replace"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Syntax Highlighting</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="rect.html">Prev</a> </td><th width="60%" align="center">Chapter 1. User-Visible Changes</th><td width="20%" align="right"> <a accesskey="n" href="search.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="syntax"></a>Syntax Highlighting</h2></div></div><div></div></div><p>
  2. 34 new syntax highlighting modes were added, and many existing ones were enhanced. jEdit now supports syntax highlighting for 122 languages.
  3. </p><p>
  4. The following new token types were added:
  5. </p><div class="itemizedlist"><ul type="disc"><li><p>COMMENT3</p></li><li><p>COMMENT4</p></li><li><p>LITERAL3</p></li><li><p>LITERAL4</p></li><li><p>KEYWORD4</p></li></ul></div><p>
  6. Any capture groups defined in the <tt class="literal">SPAN_REGEXP</tt>
  7. element's <tt class="literal">BEGIN</tt> child are now substituted into the <tt class="literal">END</tt> child for matching purposes. This allows here-docs in languages such as Perl to be highlighted correctly.
  8. </p><p>
  9. A new <tt class="literal">NO_ESCAPE</tt> attribute has been added to the <tt class="literal">SPAN</tt> and <tt class="literal">SPAN_REGEXP</tt> elements.
  10. </p><p>
  11. A new <tt class="literal">IMPORT</tt> rule causes the current ruleset to inherit the rules from the given ruleset.
  12. </p><p>
  13. A background color defined for a ruleset's default token type now takes effect on tokens that appear inside this ruleset for which no explicit background color is defined.
  14. </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="rect.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="user-changes.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="search.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Rectangular Editing </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Search and Replace</td></tr></table></div></body></html>