]> git.wh0rd.org Git - nano.git/commitdiff
Correcting the description of 'justifytrim', adding it to the Info document,
authorBenno Schulenberg <bensberg@justemail.net>
Fri, 26 Feb 2016 09:04:54 +0000 (09:04 +0000)
committerBenno Schulenberg <bensberg@justemail.net>
Fri, 26 Feb 2016 09:04:54 +0000 (09:04 +0000)
sorting it, and tweaking a wording.

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5682 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

ChangeLog
doc/man/nanorc.5
doc/nanorc.sample.in
doc/syntax/nanorc.nanorc
doc/texinfo/nano.texi

index de8875ebe4a44f275b78fe362abedbeb7b0e5edd..5b16622b1435c758a62f86e54a5b1d10f520c9ee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-02-26  Benno Schulenberg  <bensberg@justemail.net>
+       * doc/man/nanorc.5, doc/texinfo/nano.texi, doc/syntax/nanorc.nanorc,
+       doc/nanorc.sample.in: Correct the description of 'justifytrim', add
+       it to the Info document, sort it, and tweak a wording.
+
 GNU nano 2.5.3 - 2016.02.25
 
 2016-02-25  Benno Schulenberg  <bensberg@justemail.net>
index 1bc3800463a03ed96c8125a4bd0d0418157d3442..ca319d3053d20a8812e574da130f1547b3b977cc 100644 (file)
@@ -112,7 +112,7 @@ Enable the use of \fB~/.nano/search_history\fP for saving and reading
 search/replace strings.
 .TP
 .B set justifytrim
-When justifying text, trailing newlines will automatically be removed.
+When justifying text, trailing whitespace will automatically be removed.
 .TP
 .B set keycolor \fIfgcolor\fR,\fIbgcolor\fR
 Specify the color combination to use for the shortcut key combos
index cd8f32ee7bab3893cebecbc181aa0bce0f5f4426..48f62cc5cf75355fb7dc683be324c61008be68f2 100644 (file)
@@ -60,7 +60,7 @@
 ## Remember the used search/replace strings for the next session.
 # set historylog
 
-## Have the justify command kill whitespace at the end of lines
+## Make the justify command kill whitespace at the end of lines.
 # set justifytrim
 
 ## Enable vim-style lock-files.  This is just to let a vim user know you
index 9618f6f6cb76ca78ebb6e323db12b7df38b66185..e73070811629da33dc029fa727a6d75d5927253f 100644 (file)
@@ -6,7 +6,7 @@ syntax "nanorc" "\.?nanorc$"
 icolor brightred "^[[:space:]]*((un)?(bind|set)|include|syntax|header|magic|linter|i?color|extendsyntax).*$"
 
 # Keywords
-icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(allow_insecure_backup|autoindent|backup|backwards|boldtext|casesensitive|const(antshow)?|cut|fill|historylog|locking|morespace|mouse|multibuffer|noconvert|nohelp|nonewlines|nowrap|pos(ition)?log|preserve|quickblank|quiet|rebinddelete|rebindkeypad|regexp|smarthome|smooth|softwrap|suspend|tabsize|tabstospaces|tempfile|unix|view|wordbounds|justifytrim)\>"
+icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(allow_insecure_backup|autoindent|backup|backwards|boldtext|casesensitive|const(antshow)?|cut|fill|historylog|justifytrim|locking|morespace|mouse|multibuffer|noconvert|nohelp|nonewlines|nowrap|pos(ition)?log|preserve|quickblank|quiet|rebinddelete|rebindkeypad|regexp|smarthome|smooth|softwrap|suspend|tabsize|tabstospaces|tempfile|unix|view|wordbounds)\>"
 icolor yellow "^[[:space:]]*set[[:space:]]+(functioncolor|keycolor|statuscolor|titlecolor)[[:space:]]+(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"
 icolor brightgreen "^[[:space:]]*set[[:space:]]+(backupdir|brackets|functioncolor|keycolor|matchbrackets|operatingdir|punct|quotestr|speller|statuscolor|titlecolor|whitespace)[[:space:]]+"
 icolor brightgreen "^[[:space:]]*bind[[:space:]]+((\^|M-)([[:alpha:]]|space|[]]|[0-9^_=+{}|;:'\",./<>\?-])|F([1-9]|1[0-6])|Ins|Del)[[:space:]]+[[:alpha:]]+[[:space:]]+(all|main|search|replace(2|with)?|gotoline|writeout|insert|ext(ernal)?cmd|help|spell|linter|browser|whereisfile|gotodir)([[:space:]]+#|[[:space:]]*$)"
index 0f04ef240b8cd1a0c126309df05f6a01e014f315..3589f210fe3dbf0d4408291c1c93fc8410dc42af 100644 (file)
@@ -688,6 +688,9 @@ See @code{set titlecolor} for more details.
 Enable the use of @file{~/.nano/search_history} for saving and reading
 search/replace strings.
 
+@item set justifytrim
+When justifying text, trailing whitespace will automatically be removed.
+
 @item set keycolor @var{fgcolor},@var{bgcolor}
 Specify the color combination to use for the shortcut key combos
 in the two help lines at the bottom of the screen.