- 18 Dec, 2016 1 commit
-
-
Benno Schulenberg authored
It doesn't align anything -- any allocations are already aligned to whatever multiple is required -- it just shrinks the allocated space.
-
- 15 Dec, 2016 3 commits
-
-
Benno Schulenberg authored
Nano would crash straight afterward if any of these asserts would fail, so they don't add anything. A few others are simply superfluous.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
The fsfromline() function is mostly used by the undo functions, which are not present in the tiny version. It is also used by the comment/ uncomment feature, but this feature cannot be enabled when --enable-tiny is in effect.
-
- 13 Dec, 2016 2 commits
-
-
Benno Schulenberg authored
Achieve this by eliding two conditions from the inner loop, which is possible because 'end' will never be NULL.
-
David Lawrence Ramsey authored
Convert digits() to take a ssize_t instead of an int, since it's used on ssize_t line numbers. And properly use the long modifier when displaying a line number. Also, conditionalize the digits() prototype.
-
- 09 Dec, 2016 1 commit
-
-
David Lawrence Ramsey authored
The functions read() and fwrite() take size_t, not ssize_t. And line numbers in the file should be displayed as a long type instead of an int, since the effective type of ssize_t is not int, but long.
-
- 20 Oct, 2016 1 commit
-
-
Faissal Bensefia authored
It can be activated with --linenumbers on the command line or with 'set linenumbers' in a nanorc file, and it can be toggled with M-#. Signed-off-by:
Faissal Bensefia <faissaloo@gmail.com> Signed-off-by:
Benno Schulenberg <bensberg@justemail.net>
-
- 13 Sep, 2016 1 commit
-
-
Benno Schulenberg authored
And also case-sensitive searches, backward searches, and searching again.
-
- 29 Aug, 2016 2 commits
-
-
Benno Schulenberg authored
Mentioning "GNU nano" instead of "This program" and referring to the website instead of to a postal address.
-
Benno Schulenberg authored
-
- 03 Aug, 2016 1 commit
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?48660.
-
- 13 Jul, 2016 2 commits
-
-
Benno Schulenberg authored
This allows the user to specify which other characters, besides the default alphanumeric ones, should be considered as part of a word, so that word operations like Ctrl+Left and Ctrl+Right will pass them by. Using this option overrides the option --wordbounds. This fulfills https://savannah.gnu.org/bugs/?47283.
-
Benno Schulenberg authored
-
- 11 Jul, 2016 2 commits
-
-
Benno Schulenberg authored
To make nano save its modified buffers when it runs out of memory.
-
Benno Schulenberg authored
-
- 04 Jul, 2016 3 commits
-
-
Rishabh Dave authored
It is easy to type beside the comma key and hit instead "m" or ".", so accept also these as a separator between line and column number. And when being generous anyway, also accept space, slash and semicolon. This fulfills https://savannah.gnu.org/bugs/?48305 . Signed-off-by:
Rishabh Dave <rishabhddave@gmail.com>
-
Benno Schulenberg authored
-
Benno Schulenberg authored
When parsing a line and a column number, of course the found values need to be passed back, otherwise it would be pointless to parse them.
-
- 20 Jun, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 28 May, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 16 May, 2016 1 commit
-
-
Benno Schulenberg authored
If during startup there are multiple error messages, currently only the last one remains and can be read. To improve on that, introduce a short pause between error messages -- even if it's not enough to read them all, at least the user will be aware that there are multiple ones. This also causes a few error messages to beep that currently don't beep, such as when a file is unwritable.
-
- 12 May, 2016 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 03 May, 2016 1 commit
-
-
Benno Schulenberg authored
When verifying that a match is a separate word (during spell checking), instead of first copying out the word, then passing the word, and then measuring its length, just pass its length straigtaway.
-
- 24 Apr, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 10 Apr, 2016 1 commit
-
-
Benno Schulenberg authored
Nano doesn't start doing anything with the edit window or the keyboard until all files have been read in or a blank buffer has been opened, so the case of openfile->current == NULL will never occur. Also correct the comment -- because with multibyte characters, it is very well possible that the screen column corresponding to current_x is smaller than current_x itself.
-
- 05 Apr, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 22 Jan, 2016 1 commit
-
-
Benno Schulenberg authored
of the environment (which can lead to a root-owned .nano/ directory in the invoking user's home directory). This addresses Ubuntu bug #1471459. (See https://bugs.launchpad.net/ubuntu/+source/nano/+bug/1471459.) git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5580 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 04 Dec, 2015 1 commit
-
-
Benno Schulenberg authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5478 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 20 Jun, 2015 1 commit
-
-
Benno Schulenberg authored
so that nano will show a message about it. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5259 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 08 May, 2015 1 commit
-
-
Benno Schulenberg authored
before finding a unused filename takes an annoying amount of time. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5225 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 25 Apr, 2015 1 commit
-
-
Benno Schulenberg authored
multiple occurrences of a literal ^ or $. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5214 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 27 Mar, 2015 1 commit
-
-
Benno Schulenberg authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5166 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 09 Jun, 2014 1 commit
-
-
Benno Schulenberg authored
Patch by David Lawrence Ramsey. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4948 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 04 Jun, 2014 1 commit
-
-
Benno Schulenberg authored
Patch by David Lawrence Ramsey. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4938 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 15 May, 2014 1 commit
-
-
Benno Schulenberg authored
pastes. This fixes many undo problems and Savannah bug #25585. *Patch by Mark Majeres.* git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4893 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 13 May, 2014 1 commit
-
-
Benno Schulenberg authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4874 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 30 Apr, 2014 1 commit
-
-
Benno Schulenberg authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4826 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 14 Apr, 2014 1 commit
-
-
Benno Schulenberg authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4769 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-