/www/tags/NOV_07_2009/htdocs/users-guide/markers.html
# · HTML · 44 lines · 44 code · 0 blank · 0 comment · 0 complexity · bae823c7194f170843a86f4671d80c0a MD5 · raw file
- <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Markers</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="editing.html" title="Chapter 5. Editing Text"><link rel="prev" href="text-transfer.html" title="Transferring Text"><link rel="next" href="search-replace.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">Markers</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="text-transfer.html">Prev</a> </td><th width="60%" align="center">Chapter 5. Editing Text</th><td width="20%" align="right"> <a accesskey="n" href="search-replace.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="markers"></a>Markers</h2></div></div></div><p>A <em class="firstterm">marker</em> is a pointer to a specific
- location within a buffer, which may or may not have a single-character
- <em class="firstterm">shortcut</em> associated with it. Markers are
- persistent; they are saved to
- <code class="filename">.<em class="replaceable"><code>filename</code></em>.marks</code>, where
- <code class="filename"><em class="replaceable"><code>filename</code></em></code> is the name of
- the buffer. (The dot prefix makes the markers file hidden on Unix
- systems.) Marker saving can be disabled in the
- <span class="guibutton"><strong>General</strong></span> pane of the
- <span class="guimenu"><strong>Utilities</strong></span>><span class="guimenuitem"><strong>Global
- Options</strong></span> dialog box; see <a class="xref" href="global-opts.html#general-pane" title="The General Pane">the section called “The General Pane”</a>.</p><p><span class="guimenu"><strong>Markers</strong></span>><span class="guimenuitem"><strong>Add/Remove
- Marker</strong></span> (shortcut: <code class="keycap">C+e C+m</code>) adds a marker
- without a shortcut pointing to the current line. If a marker is already
- set on the current line, the marker is removed instead. If text is
- selected, markers are added to the first and last line of each
- selection.</p><p>Markers are listed in the <span class="guimenu"><strong>Markers</strong></span> menu;
- selecting a marker from this menu will move the caret to its
- location.</p><p><span class="guimenu"><strong>Markers</strong></span>><span class="guimenuitem"><strong>Go to Previous
- Marker</strong></span> (shortcut: <code class="keycap">C+e C+COMMA</code>) goes to
- the marker immediately before the caret position.</p><p><span class="guimenu"><strong>Markers</strong></span>><span class="guimenuitem"><strong>Go to Next
- Marker</strong></span> (shortcut: <code class="keycap">C+e C+PERIOD</code>) goes to
- the marker immediately after the caret position.</p><p><span class="guimenu"><strong>Markers</strong></span>><span class="guimenuitem"><strong>Remove All
- Markers</strong></span> removes all markers set in the current
- buffer.</p><p>Markers with shortcuts allow for quicker keyboard-based
- navigation. The following commands all prompt for a single-character
- shortcut when invoked. Pressing <code class="keycap">ESCAPE</code> instead of
- specifying a shortcut will cancel the operation.</p><p><span class="guimenu"><strong>Markers</strong></span>><span class="guimenuitem"><strong>Add Marker With
- Shortcut</strong></span> (shortcut: <code class="keycap">C+t
- <em class="replaceable"><code>key</code></em></code>) adds a marker with the
- specified shortcut. If marker with that shortcut already exists, it will
- remain in the buffer but lose its shortcut.</p><p><span class="guimenu"><strong>Markers</strong></span>><span class="guimenuitem"><strong>Go to
- Marker</strong></span> (shortcut: <code class="keycap">C+y
- <em class="replaceable"><code>key</code></em></code>) moves the caret to the location
- of the marker with the specified shortcut.</p><p><span class="guimenu"><strong>Markers</strong></span>><span class="guimenuitem"><strong>Select to
- Marker</strong></span> (shortcut: <code class="keycap">C+u
- <em class="replaceable"><code>key</code></em></code>) creates a selection from the
- caret location to the marker with the specified shortcut.</p><p><span class="guimenu"><strong>Markers</strong></span>><span class="guimenuitem"><strong>Swap Caret and
- Marker</strong></span> (shortcut: <code class="keycap">C+k
- <em class="replaceable"><code>key</code></em></code>) moves the caret to the location
- of the marker with the specified shortcut, and moves the marker to the
- former caret position. Invoke this command multiple times to flip
- between two locations in the buffer.</p><p>Lines which contain markers are indicated in the gutter with a
- highlight. Moving the mouse over the highlight displays a tool tip
- showing the marker's shortcut, if it has one. See <a class="xref" href="overview.html" title="Interface Overview">the section called “Interface Overview”</a> for information about the gutter.</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="text-transfer.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="editing.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="search-replace.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Transferring Text </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>