PageRenderTime 54ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/www/tags/NOV_07_2009/htdocs/42docs/users-guide/markers.html

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