Using visible characters by default for when showing whitespace.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4639 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
d39de2404f
commit
377a6e3dc7
|
@ -1,6 +1,8 @@
|
||||||
2014-03-04 Benno Schulenberg <bensberg@justemail.net>
|
2014-03-04 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* doc/syntax/nanorc.nanorc - Add keyword 'quiet', sort 'locking',
|
* doc/syntax/nanorc.nanorc - Add keyword 'quiet', sort 'locking',
|
||||||
and concatenate the two separate strings into one.
|
and concatenate the two separate strings into one.
|
||||||
|
* src/nano.c (main), doc/nanorc.sample.in - Make the M-P toggle
|
||||||
|
actually do something by default, by using visible characters.
|
||||||
|
|
||||||
2014-03-01 Chris Allegretta <chrisa@asty.org>
|
2014-03-01 Chris Allegretta <chrisa@asty.org>
|
||||||
* global.c (shortcut_init) - Don't actually free the shortcut
|
* global.c (shortcut_init) - Don't actually free the shortcut
|
||||||
|
|
|
@ -181,7 +181,7 @@
|
||||||
## The two single-column characters used to display the first characters
|
## The two single-column characters used to display the first characters
|
||||||
## of tabs and spaces. 187 in ISO 8859-1 (0000BB in Unicode) and 183 in
|
## of tabs and spaces. 187 in ISO 8859-1 (0000BB in Unicode) and 183 in
|
||||||
## ISO-8859-1 (0000B7 in Unicode) seem to be good values for these.
|
## ISO-8859-1 (0000B7 in Unicode) seem to be good values for these.
|
||||||
# set whitespace " "
|
# set whitespace ":."
|
||||||
|
|
||||||
## Detect word boundaries more accurately by treating punctuation
|
## Detect word boundaries more accurately by treating punctuation
|
||||||
## characters as parts of words.
|
## characters as parts of words.
|
||||||
|
|
|
@ -2577,7 +2577,7 @@ int main(int argc, char **argv)
|
||||||
#if !defined(NANO_TINY) && defined(ENABLE_NANORC)
|
#if !defined(NANO_TINY) && defined(ENABLE_NANORC)
|
||||||
/* If whitespace wasn't specified, set its default value. */
|
/* If whitespace wasn't specified, set its default value. */
|
||||||
if (whitespace == NULL) {
|
if (whitespace == NULL) {
|
||||||
whitespace = mallocstrcpy(NULL, " ");
|
whitespace = mallocstrcpy(NULL, ":.");
|
||||||
whitespace_len[0] = 1;
|
whitespace_len[0] = 1;
|
||||||
whitespace_len[1] = 1;
|
whitespace_len[1] = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue