File: sec_trigger_highlight.xhtml

package info (click to toggle)
kildclient 3.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 6,320 kB
  • sloc: ansic: 24,830; xml: 7,500; sh: 4,295; perl: 2,877; makefile: 172
file content (16 lines) | stat: -rw-r--r-- 3,454 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head><title>8.3. Changing the Style of the Matched Text</title><link rel="stylesheet" type="text/css" href="docbook.css"/><link rel="stylesheet" type="text/css" href="kildclient.css"/><meta name="generator" content="DocBook XSL Stylesheets V1.79.1"/><link rel="prev" href="ch08s02.xhtml" title="8.2. Basic Triggers"/><link rel="next" href="ch08s04.xhtml" title="8.4. Gags"/></head><body><header><div class="navheader"><table style="width: 100%; "><tr><th style="text-align: center; " colspan="3">8.3. Changing the Style of the Matched Text</th></tr><tr><td style="width: 20%; text-align: left; "><a accesskey="p" href="ch08s02.xhtml">Prev</a> </td><th style="width: 60%; text-align: center; ">Chapter 8. Triggers</th><td style="width: 20%; text-align: right; "> <a accesskey="n" href="ch08s04.xhtml">Next</a></td></tr></table><hr/></div></header><section class="sect1" id="sec_trigger_highlight"><div class="titlepage"><div><div><h2 class="title" style="clear: both">8.3. Changing the Style of the Matched Text</h2></div></div></div><p>It is possible to cause a trigger to change the style of the
line that matched (or of a part of it). This can be used, for example,
to make some text that interests you stand out.</p><p>To do that, enable the <span class="guilabel">Change Style</span> check
box in the Edit Trigger dialog (see <a class="xref" href="ch08s01.xhtml#sec_add_trigger_gui" title="8.1.1. Adding Triggers">Section 8.1.1, “Adding Triggers”</a>). The <span class="guilabel">Configure</span>
button then allows you to set the style to be applied. When pressed,
it brings up a window like this:</p><div class="figure" id="idm1204"><div class="figure-title">Figure 8.3. The window to configure style</div><div class="figure-contents"><div class="mediaobject"><img src="images/we_trigger_highlight.png" alt="The window to configure the style to be applied."/></div></div></div><br class="figure-break"/><p>First you should select what is going to have the style changed.
The style can be applied to the whole line that matched against the
trigger, to the part of the line that matched the trigger pattern, or
the the part of the line that was captured by one of the parentheses
in the pattern (if they are used, naturally).</p><p>Next you can configure the style to be applied. You can change
the color of the text, and apply or remove italics, strike-thru and
underlining. In all these options, the default is "<span class="guilabel">Do not
change</span>", which means that the trigger does not affect the
style as sent by the MUD. If you select some option, then your
selection will override the style that the MUD sends.</p></section><footer><div class="navfooter"><hr/><table style="width: 100%; "><tr><td style="width: 40%; text-align: left; "><a accesskey="p" href="ch08s02.xhtml">Prev</a> </td><td style="width: 20%; text-align: center; "><a accesskey="u" href="chap_triggers.xhtml">Up</a></td><td style="width: 40%; text-align: right; "> <a accesskey="n" href="ch08s04.xhtml">Next</a></td></tr><tr><td style="width: 40%; text-align: left; vertical-align: top; ">8.2. Basic Triggers </td><td style="width: 20%; text-align: center; "><a accesskey="h" href="index.xhtml">Home</a></td><td style="width: 40%; text-align: right; vertical-align: top; "> 8.4. Gags</td></tr></table></div></footer></body></html>