PageRenderTime 85ms CodeModel.GetById 75ms app.highlight 6ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 1<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
 2        location within a buffer, which may or may not have a single-character
 3        <em class="firstterm">shortcut</em> associated with it. Markers are
 4        persistent; they are saved to
 5        <code class="filename">.<em class="replaceable"><code>filename</code></em>.marks</code>, where
 6        <code class="filename"><em class="replaceable"><code>filename</code></em></code> is the name of
 7        the buffer. (The dot prefix makes the markers file hidden on Unix
 8        systems.) Marker saving can be disabled in the
 9        <span class="guibutton"><strong>General</strong></span> pane of the
10        <span class="guimenu"><strong>Utilities</strong></span>&gt;<span class="guimenuitem"><strong>Global
11        Options</strong></span> dialog box; see <a class="xref" href="global-opts.html#general-pane" title="The General Pane">the section called &#8220;The General Pane&#8221;</a>.</p><p><span class="guimenu"><strong>Markers</strong></span>&gt;<span class="guimenuitem"><strong>Add/Remove
12        Marker</strong></span> (shortcut: <code class="keycap">C+e C+m</code>) adds a marker
13        without a shortcut pointing to the current line. If a marker is already
14        set on the current line, the marker is removed instead. If text is
15        selected, markers are added to the first and last line of each
16        selection.</p><p>Markers are listed in the <span class="guimenu"><strong>Markers</strong></span> menu;
17        selecting a marker from this menu will move the caret to its
18        location.</p><p><span class="guimenu"><strong>Markers</strong></span>&gt;<span class="guimenuitem"><strong>Go to Previous
19        Marker</strong></span> (shortcut: <code class="keycap">C+e C+COMMA</code>) goes to
20        the marker immediately before the caret position.</p><p><span class="guimenu"><strong>Markers</strong></span>&gt;<span class="guimenuitem"><strong>Go to Next
21        Marker</strong></span> (shortcut: <code class="keycap">C+e C+PERIOD</code>) goes to
22        the marker immediately after the caret position.</p><p><span class="guimenu"><strong>Markers</strong></span>&gt;<span class="guimenuitem"><strong>Remove All
23        Markers</strong></span> removes all markers set in the current
24        buffer.</p><p>Markers with shortcuts allow for quicker keyboard-based
25        navigation. The following commands all prompt for a single-character
26        shortcut when invoked. Pressing <code class="keycap">ESCAPE</code> instead of
27        specifying a shortcut will cancel the operation.</p><p><span class="guimenu"><strong>Markers</strong></span>&gt;<span class="guimenuitem"><strong>Add Marker With
28        Shortcut</strong></span> (shortcut: <code class="keycap">C+t
29        <em class="replaceable"><code>key</code></em></code>) adds a marker with the
30        specified shortcut. If marker with that shortcut already exists, it will
31        remain in the buffer but lose its shortcut.</p><p><span class="guimenu"><strong>Markers</strong></span>&gt;<span class="guimenuitem"><strong>Go to
32        Marker</strong></span> (shortcut: <code class="keycap">C+y
33        <em class="replaceable"><code>key</code></em></code>) moves the caret to the location
34        of the marker with the specified shortcut.</p><p><span class="guimenu"><strong>Markers</strong></span>&gt;<span class="guimenuitem"><strong>Select to
35        Marker</strong></span> (shortcut: <code class="keycap">C+u
36        <em class="replaceable"><code>key</code></em></code>) creates a selection from the
37        caret location to the marker with the specified shortcut.</p><p><span class="guimenu"><strong>Markers</strong></span>&gt;<span class="guimenuitem"><strong>Swap Caret and
38        Marker</strong></span> (shortcut: <code class="keycap">C+k
39        <em class="replaceable"><code>key</code></em></code>) moves the caret to the location
40        of the marker with the specified shortcut, and moves the marker to the
41        former caret position. Invoke this command multiple times to flip
42        between two locations in the buffer.</p><p>Lines which contain markers are indicated in the gutter with a
43        highlight. Moving the mouse over the highlight displays a tool tip
44        showing the marker's shortcut, if it has one. See <a class="xref" href="overview.html" title="Interface Overview">the section called &#8220;Interface Overview&#8221;</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>