PageRenderTime 47ms CodeModel.GetById 44ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/www/tags/NOV_07_2009/htdocs/42docs/users-guide/mode-rule-terminate.html

#
HTML | 10 lines | 10 code | 0 blank | 0 comment | 0 complexity | 431c593f9a0cd275a9919ab8bf276720 MD5 | raw file
 1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>The TERMINATE Tag</title><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="jEdit 4.2 User's Guide"><link rel="up" href="writing-modes.html" title="Chapter 10. Mode Definition Syntax"><link rel="previous" href="mode-tag-rules.html" title="The RULES Tag"><link rel="next" href="mode-rule-span.html" title="The SPAN Tag"></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">The TERMINATE Tag</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="mode-tag-rules.html">Prev</a> </td><th width="60%" align="center">Chapter 10. Mode Definition Syntax</th><td width="20%" align="right"> <a accesskey="n" href="mode-rule-span.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="mode-rule-terminate"></a>The TERMINATE Tag</h2></div></div><div></div></div><p>
 2   The <tt class="literal">TERMINATE</tt> rule, which must be placed inside a
 3   <tt class="literal">RULES</tt> tag, specifies that parsing should stop
 4   after the specified number of characters have been read from a line. The
 5   number of characters to terminate after should be specified with the
 6   <tt class="literal">AT_CHAR</tt> attribute. Here is an example:
 7  </p><table border="0" bgcolor="#E0E0E0"><tr><td><pre class="programlisting">&lt;TERMINATE AT_CHAR="1" /&gt;</pre></td></tr></table><p>
 8   This rule is used in Patch mode, for example, because only the first
 9   character of each line affects highlighting.
10  </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="mode-tag-rules.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="writing-modes.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="mode-rule-span.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">The RULES Tag </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> The SPAN Tag</td></tr></table></div></body></html>