PageRenderTime 11ms CodeModel.GetById 7ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms


HTML | 19 lines | 19 code | 0 blank | 0 comment | 0 complexity | ffdc312a730e8ef548358b187ebb2564 MD5 | raw file
 1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>From jEdit 4.0 to 4.1</title><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"><link rel="start" href="index.html" title="jEdit 4.3 User's Guide"><link rel="up" href="updating-modes.html" title="Chapter 12. Updating Edit Modes"><link rel="prev" href="updating-modes.html" title="Chapter 12. Updating Edit Modes"><link rel="next" href="currentmodeformat.html" title="From jEdit 4.2 to 4.3"></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">From jEdit 4.0 to 4.1</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="updating-modes.html">Prev</a> </td><th width="60%" align="center">Chapter 12. Updating Edit Modes</th><td width="20%" align="right"> <a accesskey="n" href="currentmodeformat.html">Next</a></td></tr></table><hr></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="from40to41"></a>From jEdit 4.0 to 4.1</h2></div></div></div><p>In jEdit 4.1, the mode file grammar has been cleaned up somewhat.
 2        As a result, some edit modes written for jEdit 4.0 and earlier need to
 3        be updated:</p><div class="itemizedlist"><ul type="disc"><li><p>Defining <code class="literal">&lt;WHITESPACE&gt;</code> rules is no
 4                longer necessary and doing so will print warnings to the
 5                activity logs.</p></li><li><p>The <code class="literal">&lt;KEYWORDS&gt;</code> tag no longer
 6                accepts an <code class="literal">IGNORE_CASE</code> attribute. Set the
 7                <code class="literal">IGNORE_CASE</code> attribute of the
 8                <code class="literal">&lt;RULES&gt;</code> tag instead.</p></li><li><p>The <code class="literal">&lt;END&gt;</code> tag of the
 9                <code class="literal">&lt;SPAN&gt;</code> rule used to be optional, in
10                which case any occurrence of the start string would cause the
11                remainder of the buffer to be highlighted with the span. In
12                jEdit 4.1, the <code class="literal">&lt;END&gt;</code> tag can no longer
13                be omitted, however a <code class="literal">&lt;SEQ&gt;</code> tag with a
14                <code class="literal">DELEGATE</code> attribute can be used to achieve the
15                same effect as endless span.</p></li><li><p>Defining <code class="literal">&lt;SEQ TYPE="NULL"&gt;</code> rules
16                for word separators is no longer necessary. Now, any
17                non-alphanumeric character not appearing in a keyword definition
18                or the ruleset's <code class="literal">NO_WORD_SEP</code> attribute is
19                considered a word separator.</p></li></ul></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="updating-modes.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="updating-modes.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="currentmodeformat.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 12. Updating Edit Modes </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> From jEdit 4.2 to 4.3</td></tr></table></div></body></html>