This file is indexed.

/usr/share/doc/ne/html/Editing.html is in ne-doc 3.0.1-2build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- Created by GNU Texinfo 5.2, http://www.gnu.org/software/texinfo/ -->
<head>
<title>ne&rsquo;s manual: Editing</title>

<meta name="description" content="ne&rsquo;s manual: Editing">
<meta name="keywords" content="ne&rsquo;s manual: Editing">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="index.html#Top" rel="start" title="Top">
<link href="Concept-Index.html#Concept-Index" rel="index" title="Concept Index">
<link href="Command-Index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Basics.html#Basics" rel="up" title="Basics">
<link href="Basic-Preferences.html#Basic-Preferences" rel="next" title="Basic Preferences">
<link href="Loading-and-Saving.html#Loading-and-Saving" rel="prev" title="Loading and Saving">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.indentedblock {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
div.smalllisp {margin-left: 3.2em}
kbd {font-style:oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nocodebreak {white-space:nowrap}
span.nolinebreak {white-space:nowrap}
span.roman {font-family:serif; font-weight:normal}
span.sansserif {font-family:sans-serif; font-weight:normal}
ul.no-bullet {list-style: none}
-->
</style>


</head>

<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<a name="Editing"></a>
<div class="header">
<p>
Next: <a href="Basic-Preferences.html#Basic-Preferences" accesskey="n" rel="next">Basic Preferences</a>, Previous: <a href="Loading-and-Saving.html#Loading-and-Saving" accesskey="p" rel="prev">Loading and Saving</a>, Up: <a href="Basics.html#Basics" accesskey="u" rel="up">Basics</a> &nbsp; [<a href="Command-Index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<a name="Editing-1"></a>
<h3 class="section">2.4 Editing</h3>
<a name="index-Deleting-characters"></a>
<a name="index-Deleting-lines"></a>
<a name="index-Undeleting-lines"></a>
<a name="index-Block-operations"></a>
<a name="index-Clip-usage"></a>
<a name="index-Multiple-documents"></a>

<p>An editor is presumably used for editing text. If you decide not to edit text, you
probably don&rsquo;t want to use <code>ne</code>, because that&rsquo;s all it does&mdash;it edits text.
It does not play <code>Tetris</code>. It does not evaluate recursive
functions. It does not solve your love problems. It just allows you to
edit text.
</p>
<p>The design of <code>ne</code> makes editing extremely natural and straightforward.
There is nothing special you have to do to start editing once you&rsquo;ve
started <code>ne</code>. Just start typing, and the text you type shows up in
your document.
</p>
<p><code>ne</code> provides two ways of deleting characters, the <tt class="key">Backspace</tt>
(or <kbd><span class="key">Control</span>-H</kbd>, if you have no such key) and the <tt class="key">Delete</tt>
key. In the former case you delete the character to the left of the
cursor, while in the latter case you delete the character just under the
cursor. This is in contrast with many <small>UN*X</small> editors, which for
unknown reasons decide to limit your ways of destroying
things&mdash;something notoriously much funnier than creating. (See
<a href="DeleteChar.html#DeleteChar">DeleteChar</a> and <a href="Backspace.html#Backspace">Backspace</a>.)
</p>
<p>If you want to delete a line, you can use the <code>DeleteLine</code> command, or
<kbd><span class="key">Control</span>-Y</kbd>. A very nice feature of <code>ne</code> is that each time a
nonempty line is deleted, it is stored in a temporary buffer from which it can
be undeleted via the <code>UndelLine</code> command or <kbd><span class="key">Control</span>-U</kbd>. (See
<a href="DeleteLine.html#DeleteLine">DeleteLine</a> and <a href="UndelLine.html#UndelLine">UndelLine</a>.)
</p>
<p>If you want to copy, cut, paste, shift or erase a block of text, you have to
set a mark. This is done via the <code>Mark</code> command, activated by
choosing the &lsquo;<samp>Mark Block</samp>&rsquo; item of the &lsquo;<samp>Edit</samp>&rsquo; menu, or by
pressing <kbd><span class="key">Control</span>-B</kbd> (think &ldquo;block&rdquo;). This command
sets the mark at the current cursor position. Whenever the mark is set, the zone
between the mark and the cursor can be cut, copied or erased. Note that
by using <kbd><span class="key">Control</span>-@</kbd> you can set a <em>vertical</em> mark
instead, which allows you to mark rectangles of text. Whenever a mark
has been set, either an &lsquo;<samp>M</samp>&rsquo; appears on the command line or a
&lsquo;<samp>V</samp>&rsquo; appears if the mark is vertical. If you forget where the mark
is currently, you can use the &lsquo;<samp>Goto Mark</samp>&rsquo; menu item of the
&lsquo;<samp>Search</samp>&rsquo; menu to move the cursor to it.
</p>
<p>When you cut or copy a block, you can save it to a file with the &lsquo;<samp>Save Clip...</samp>&rsquo; menu
item of the &lsquo;<samp>Edit</samp>&rsquo; menu. You can also load a file into a clip with
&lsquo;<samp>Open Clip...</samp>&rsquo;, and paste it anywhere. All such operations act on the
<em>current clip</em>, which is by default the clip 0. You can change the current
clip number with the <code>ClipNumber</code> command. See <a href="ClipNumber.html#ClipNumber">ClipNumber</a>.
</p>
<p>One of the most noteworthy features of <code>ne</code> is its <em>unlimited
undo/redo</em> capability. Each editing action is recorded, and can be played
back and forth as much as you like. Undo and redo are bound to the function
keys <tt class="key">f5</tt> and <tt class="key">f6</tt>.
</p>
<p>Another interesting feature of <code>ne</code> is it&rsquo;s ability to load an
unlimited number of documents. If you activate the <code>NewDoc</code> command
(using the &lsquo;<samp>Document</samp>&rsquo; menu or the command line), a new, empty
document will be created. You can switch between the existing documents
in memory with <tt class="key">f2</tt> and <tt class="key">f3</tt>, which are bound to the
<code>PrevDoc</code> and <code>NextDoc</code> commands. If you have a lot of
documents, the &lsquo;<samp>Select...</samp>&rsquo; menu item (<tt class="key">f4</tt>) prompts you with
the list of names of currently loaded documents and allows you to
choose directly which to edit. In that list, names of documents with
unsaved changes will be bold. You can also change their relative order
in that list with the <tt class="key">f2</tt> and <tt class="key">f3</tt> keys.
</p>

<hr>
<div class="header">
<p>
Next: <a href="Basic-Preferences.html#Basic-Preferences" accesskey="n" rel="next">Basic Preferences</a>, Previous: <a href="Loading-and-Saving.html#Loading-and-Saving" accesskey="p" rel="prev">Loading and Saving</a>, Up: <a href="Basics.html#Basics" accesskey="u" rel="up">Basics</a> &nbsp; [<a href="Command-Index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Concept-Index.html#Concept-Index" title="Index" rel="index">Index</a>]</p>
</div>



</body>
</html>