This file is indexed.

/usr/share/doc/ne/html/Editing.html is in ne-doc 2.5-1.

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
<html lang="en">
<head>
<title>Editing - ne's manual</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="ne's manual">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Basics.html#Basics" title="Basics">
<link rel="prev" href="Loading-and-Saving.html#Loading-and-Saving" title="Loading and Saving">
<link rel="next" href="Basic-Preferences.html#Basic-Preferences" title="Basic Preferences">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
  pre.display { font-family:inherit }
  pre.format  { font-family:inherit }
  pre.smalldisplay { font-family:inherit; font-size:smaller }
  pre.smallformat  { font-family:inherit; font-size:smaller }
  pre.smallexample { font-size:smaller }
  pre.smalllisp    { font-size:smaller }
  span.sc    { font-variant:small-caps }
  span.roman { font-family:serif; font-weight:normal; } 
  span.sansserif { font-family:sans-serif; font-weight:normal; } 
--></style>
</head>
<body>
<div class="node">
<a name="Editing"></a>
<p>
Next:&nbsp;<a rel="next" accesskey="n" href="Basic-Preferences.html#Basic-Preferences">Basic Preferences</a>,
Previous:&nbsp;<a rel="previous" accesskey="p" href="Loading-and-Saving.html#Loading-and-Saving">Loading and Saving</a>,
Up:&nbsp;<a rel="up" accesskey="u" href="Basics.html#Basics">Basics</a>
<hr>
</div>

<h3 class="section">2.4 Editing</h3>

<p><a name="index-Deleting-characters-26"></a><a name="index-Deleting-lines-27"></a><a name="index-Undeleting-lines-28"></a><a name="index-Block-operations-29"></a><a name="index-Clip-usage-30"></a><a name="index-Multiple-documents-31"></a>
An editor is presumably used for editing text. If you decide not to edit text, you
probably don't want to use <code>ne</code>, because that'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>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've
started <code>ne</code>. Just start typing, and the text you type shows up in
your document.

   <p><code>ne</code> provides two ways of deleting characters, the &lt;Backspace&gt;
(or <kbd>&lt;Control&gt;-H</kbd>, if you have no such key) and the &lt;Delete&gt;
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 <span class="sc">un*x</span> 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>If you want to delete a line, you can use the <code>DeleteLine</code> command, or
<kbd>&lt;Control&gt;-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>&lt;Control&gt;-U</kbd>. (See
<a href="DeleteLine.html#DeleteLine">DeleteLine</a> and <a href="UndelLine.html#UndelLine">UndelLine</a>.)

   <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><span class="samp">Mark Block</span></samp>&rsquo; item of the &lsquo;<samp><span class="samp">Edit</span></samp>&rsquo; menu, or by
pressing <kbd>&lt;Control&gt;-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>&lt;Control&gt;-@</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><span class="samp">M</span></samp>&rsquo; appears on the command line or a
&lsquo;<samp><span class="samp">V</span></samp>&rsquo; appears if the mark is vertical. If you forget where the mark
is currently, you can use the &lsquo;<samp><span class="samp">Goto Mark</span></samp>&rsquo; menu item of the
&lsquo;<samp><span class="samp">Search</span></samp>&rsquo; menu to move the cursor to it.

   <p>When you cut or copy a block, you can save it with the &lsquo;<samp><span class="samp">Save Clip...</span></samp>&rsquo; menu
item of the &lsquo;<samp><span class="samp">Edit</span></samp>&rsquo; menu. You can also load a file into a clip with
&lsquo;<samp><span class="samp">Open Clip...</span></samp>&rsquo;, and paste it anywhere. All such operations act on the
<dfn>current clip</dfn>, 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>One of the most noteworthy features of <code>ne</code> is its <dfn>unlimited
undo/redo</dfn> 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 &lt;f5&gt; and &lt;f6&gt;.

   <p>Another interesting feature of <code>ne</code> is it's ability to load an
unlimited number of documents. If you activate the <code>NewDoc</code> command
(using the &lsquo;<samp><span class="samp">Document</span></samp>&rsquo; menu or the command line), a new, empty
document will be created. You can switch between the existing documents
in memory with &lt;f2&gt; and &lt;f3&gt;, which are bound to the
<code>PrevDoc</code> and <code>NextDoc</code> commands. If you have a lot of
documents, the &lsquo;<samp><span class="samp">Select...</span></samp>&rsquo; menu item (&lt;f4&gt;) prompts you with
the list of names of currently loaded documents and allows you to
choose directly what to edit.

   </body></html>