/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
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
- <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>
- The <tt class="literal">TERMINATE</tt> rule, which must be placed inside a
- <tt class="literal">RULES</tt> tag, specifies that parsing should stop
- after the specified number of characters have been read from a line. The
- number of characters to terminate after should be specified with the
- <tt class="literal">AT_CHAR</tt> attribute. Here is an example:
- </p><table border="0" bgcolor="#E0E0E0"><tr><td><pre class="programlisting"><TERMINATE AT_CHAR="1" /></pre></td></tr></table><p>
- This rule is used in Patch mode, for example, because only the first
- character of each line affects highlighting.
- </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>