docs: spell "title bar" and "status bar" correctly

master
Benno Schulenberg 2017-06-18 19:53:18 +02:00
parent 33c7a4ca95
commit b4a955512e
3 changed files with 28 additions and 27 deletions

View File

@ -113,7 +113,7 @@ Don't add newlines to the ends of files.
Disable automatic conversion of files from DOS/Mac format. Disable automatic conversion of files from DOS/Mac format.
.TP .TP
.BR \-O ", " \-\-morespace .BR \-O ", " \-\-morespace
Use the blank line below the titlebar as extra editing space. Use the blank line below the title bar as extra editing space.
.TP .TP
.BR \-P ", " \-\-positionlog .BR \-P ", " \-\-positionlog
For the 200 most recent files, log the last position of the cursor, For the 200 most recent files, log the last position of the cursor,
@ -144,7 +144,7 @@ Set the size (width) of a tab to \fInumber\fP columns. The value of
\fInumber\fP must be greater than 0. The default value is 8. \fInumber\fP must be greater than 0. The default value is 8.
.TP .TP
.BR \-U ", " \-\-quickblank .BR \-U ", " \-\-quickblank
Do quick statusbar blanking: statusbar messages will disappear after 1 Do quick status-bar blanking: status-bar messages will disappear after 1
keystroke instead of 25. Note that \fB\-c\fP overrides this. keystroke instead of 25. Note that \fB\-c\fP overrides this.
.TP .TP
.BR \-V ", " \-\-version .BR \-V ", " \-\-version
@ -164,7 +164,7 @@ Specify the name of the syntax highlighting to use from among the ones
defined in the \fInanorc\fP files. defined in the \fInanorc\fP files.
.TP .TP
.BR \-c ", " \-\-constantshow .BR \-c ", " \-\-constantshow
Constantly show the cursor position on the statusbar. Constantly show the cursor position on the status bar.
Note that this overrides \fB\-U\fP. Note that this overrides \fB\-U\fP.
.TP .TP
.BR \-d ", " \-\-rebinddelete .BR \-d ", " \-\-rebinddelete

View File

@ -183,7 +183,7 @@ Disable automatic conversion of files from DOS/Mac format.
@item -O @item -O
@itemx --morespace @itemx --morespace
Use the blank line below the titlebar as extra editing space. Use the blank line below the title bar as extra editing space.
@item -P @item -P
@itemx --positionlog @itemx --positionlog
@ -220,7 +220,7 @@ Set the displayed tab length to @var{number} columns. The value of
@item -U @item -U
@itemx --quickblank @itemx --quickblank
Do quick statusbar blanking. Statusbar messages will disappear after 1 Do quick status-bar blanking: status-bar messages will disappear after 1
keystroke instead of 25. Note that option @option{-c} keystroke instead of 25. Note that option @option{-c}
(@option{--constantshow}) overrides this. (@option{--constantshow}) overrides this.
@ -246,7 +246,8 @@ Specify the syntax to be used for highlighting.
@item -c @item -c
@itemx --constantshow @itemx --constantshow
Constantly display the cursor position and line number on the statusbar. Constantly display the cursor position (line number, column number,
and character number) on the status bar.
Note that this overrides option @option{-U} (@option{--quickblank}). Note that this overrides option @option{-U} (@option{--quickblank}).
@item -d @item -d
@ -352,7 +353,7 @@ Don't hard-wrap long lines at any length. This option conflicts with
@item -x @item -x
@itemx --nohelp @itemx --nohelp
Expert Mode: don't show the Shortcut List at the bottom of the screen. Expert Mode: don't show the Shortcut List at the bottom of the screen.
This affects the location of the statusbar as well, as in Expert Mode it This affects the location of the status bar as well, as in Expert Mode it
is located at the very bottom of the editor. is located at the very bottom of the editor.
Note: When accessing the help system, Expert Mode is temporarily Note: When accessing the help system, Expert Mode is temporarily
@ -476,21 +477,21 @@ If necessary, it can be toggled off manually with another ^6 or M-A.
@section Screen Layout @section Screen Layout
The default screen of nano consists of five areas. From top to bottom The default screen of nano consists of five areas. From top to bottom
these are: the titlebar, a blank line, the edit window, the statusbar, these are: the title bar, a blank line, the edit window, the status bar,
and two help lines. and two help lines.
The titlebar consists of The title bar consists of
three sections: left, center and right. The section on the left three sections: left, center and right. The section on the left
displays the version of @code{nano} being used. The center section displays the version of @code{nano} being used. The center section
displays the current filename, or "New Buffer" if the file has not yet displays the current filename, or "New Buffer" if the file has not yet
been named. The section on the right displays "Modified" if the been named. The section on the right displays "Modified" if the
file has been modified since it was last saved or opened. file has been modified since it was last saved or opened.
The statusbar is the third line from the bottom of the screen. It The status bar is the third line from the bottom of the screen. It
shows important and informational messages. Any error messages that shows important and informational messages. Any error messages that
occur from using the editor will appear on the statusbar. Any questions occur from using the editor will appear on the status bar. Any questions
that are asked of the user will be asked on the statusbar, and any user that are asked of the user will be asked on the status bar, and any user
input (search strings, filenames, etc.) will be input on the statusbar. input (search strings, filenames, etc.) will be input on the status bar.
The two help lines at the bottom of the screen show some of the most The two help lines at the bottom of the screen show some of the most
essential functions of the editor. These two lines are called the essential functions of the editor. These two lines are called the
@ -671,7 +672,7 @@ The uniquely numbered files are stored in the specified directory.
Do backwards searches by default. Do backwards searches by default.
@item set boldtext @item set boldtext
Use bold instead of reverse video for the titlebar, statusbar, key combos, Use bold instead of reverse video for the title bar, status bar, key combos,
line numbers, and selected text. This can be overridden for the first four line numbers, and selected text. This can be overridden for the first four
by setting the options @code{titlecolor}, @code{statuscolor}, @code{keycolor}, by setting the options @code{titlecolor}, @code{statuscolor}, @code{keycolor},
and @code{numbercolor}. and @code{numbercolor}.
@ -687,7 +688,7 @@ closing brackets, can end sentences. The default value is
Do case-sensitive searches by default. Do case-sensitive searches by default.
@item set constantshow @item set constantshow
Constantly display the cursor position in the status bar. Constantly display the cursor position on the status bar.
(The old form of this option, @code{set const}, is deprecated.) (The old form of this option, @code{set const}, is deprecated.)
@item set cut @item set cut
@ -728,7 +729,7 @@ come before the closing set, and the two sets must be in the same order.
The default value is @t{"(<[@{)>]@}"}. The default value is @t{"(<[@{)>]@}"}.
@item set morespace @item set morespace
Use the blank line below the titlebar as extra editing space. Use the blank line below the title bar as extra editing space.
@item set mouse @item set mouse
Enable mouse support, so that mouse clicks can be used to place the Enable mouse support, so that mouse clicks can be used to place the
@ -779,7 +780,7 @@ specified closing punctuation, optionally followed by closing brackets
The default value is @t{"!.?"}. The default value is @t{"!.?"}.
@item set quickblank @item set quickblank
Do quick statusbar blanking. Statusbar messages will disappear after 1 Do quick status-bar blanking: status-bar messages will disappear after 1
keystroke instead of 25. keystroke instead of 25.
@item set quiet @item set quiet
@ -830,7 +831,7 @@ Use spelling checker "spellprog" instead of the built-in one, which
calls "spell". calls "spell".
@item set statuscolor @var{fgcolor},@var{bgcolor} @item set statuscolor @var{fgcolor},@var{bgcolor}
Specify the color combination to use for the statusbar. Specify the color combination to use for the status bar.
See @code{set titlecolor} for more details. See @code{set titlecolor} for more details.
@item set suspend @item set suspend
@ -847,7 +848,7 @@ Convert typed tabs to spaces.
Save automatically on exit, don't prompt. Save automatically on exit, don't prompt.
@item set titlecolor @var{fgcolor},@var{bgcolor} @item set titlecolor @var{fgcolor},@var{bgcolor}
Specify the color combination to use for the titlebar. Specify the color combination to use for the title bar.
Valid color names for foreground and background are: Valid color names for foreground and background are:
white, black, blue, green, red, cyan, yellow, and magenta. white, black, blue, green, red, cyan, yellow, and magenta.
The name of the foreground color may be prefixed with 'bright'. The name of the foreground color may be prefixed with 'bright'.
@ -1271,7 +1272,7 @@ Toggles the presence of the two-line list of key bindings at the bottom of the s
Toggles the constant display of the current line, column, and character positions. Toggles the constant display of the current line, column, and character positions.
@item morespace @item morespace
Toggles the presence of the blank line which 'separates' the titlebar from the file text. Toggles the presence of the blank line that 'separates' the title bar from the file text.
@item smoothscroll @item smoothscroll
Toggles smooth scrolling (when moving around with the arrow keys). Toggles smooth scrolling (when moving around with the arrow keys).
@ -1387,7 +1388,7 @@ searching via ^W (or 'w') and changing directories via ^_ (or 'g'). The
behavior of the Enter (or 's') key varies by what is currently selected. behavior of the Enter (or 's') key varies by what is currently selected.
If the currently selected object is a directory, the file browser will If the currently selected object is a directory, the file browser will
enter and display the contents of the directory. If the object is a enter and display the contents of the directory. If the object is a
file, this filename and path are copied to the statusbar, and the file file, this filename and path are copied to the status bar, and the file
browser exits. browser exits.

View File

@ -74,7 +74,7 @@ The uniquely numbered files are stored in the specified \fIdirectory\fR.
Do backwards searches by default. Do backwards searches by default.
.TP .TP
.B set boldtext .B set boldtext
Use bold instead of reverse video for the titlebar, statusbar, key combos, Use bold instead of reverse video for the title bar, status bar, key combos,
line numbers, and selected text. This can be overridden for the first four line numbers, and selected text. This can be overridden for the first four
by setting the options \fBtitlecolor\fP, \fBstatuscolor\fP, \fBkeycolor\fP, by setting the options \fBtitlecolor\fP, \fBstatuscolor\fP, \fBkeycolor\fP,
and \fBnumbercolor\fP. and \fBnumbercolor\fP.
@ -130,7 +130,7 @@ come before the closing set, and the two sets must be in the same order.
The default value is "\fB(<[{)>]}\fP". The default value is "\fB(<[{)>]}\fP".
.TP .TP
.B set morespace .B set morespace
Use the blank line below the titlebar as extra editing space. Use the blank line below the title bar as extra editing space.
.TP .TP
.B set mouse .B set mouse
Enable mouse support, if available for your system. When enabled, mouse Enable mouse support, if available for your system. When enabled, mouse
@ -183,7 +183,7 @@ specfified closing punctuation, optionally followed by closing brackets
(see \fBbrackets\fP), can end sentences. The default value is "\fB!.?\fP". (see \fBbrackets\fP), can end sentences. The default value is "\fB!.?\fP".
.TP .TP
.B set quickblank .B set quickblank
Do quick statusbar blanking. Statusbar messages will disappear after 1 Do quick status-bar blanking: status-bar messages will disappear after 1
keystroke instead of 25. keystroke instead of 25.
.TP .TP
.B set quiet .B set quiet
@ -234,7 +234,7 @@ Use spelling checker \fIspellprog\fP instead of the built-in one, which
calls \fIspell\fP. calls \fIspell\fP.
.TP .TP
.B set statuscolor \fIfgcolor\fR,\fIbgcolor\fR .B set statuscolor \fIfgcolor\fR,\fIbgcolor\fR
Specify the color combination to use for the statusbar. Specify the color combination to use for the status bar.
See \fBset titlecolor\fR for more details. See \fBset titlecolor\fR for more details.
.TP .TP
.B set suspend .B set suspend
@ -251,7 +251,7 @@ Convert typed tabs to spaces.
Save automatically on exit, don't prompt. Save automatically on exit, don't prompt.
.TP .TP
.B set titlecolor \fIfgcolor\fR,\fIbgcolor\fR .B set titlecolor \fIfgcolor\fR,\fIbgcolor\fR
Specify the color combination to use for the titlebar. Specify the color combination to use for the title bar.
Valid names for the foreground and background colors are: Valid names for the foreground and background colors are:
.BR white ", " black ", " blue ", " green ", " red ", " cyan ", " yellow ", and " magenta . .BR white ", " black ", " blue ", " green ", " red ", " cyan ", " yellow ", and " magenta .
The name of the foreground color may be prefixed with \fBbright\fR. The name of the foreground color may be prefixed with \fBbright\fR.
@ -666,7 +666,7 @@ Toggles the presence of the two-line list of key bindings at the bottom of the s
Toggles the constant display of the current line, column, and character positions. Toggles the constant display of the current line, column, and character positions.
.TP .TP
.B morespace .B morespace
Toggles the presence of the blank line which 'separates' the titlebar from the file text. Toggles the presence of the blank line that 'separates' the title bar from the file text.
.TP .TP
.B smoothscroll .B smoothscroll
Toggles smooth scrolling (when moving around with the arrow keys). Toggles smooth scrolling (when moving around with the arrow keys).