- 24 Jan, 2018 1 commit
-
-
Benno Schulenberg authored
And one for me, for the much changed keyboard stuff.
-
- 29 Dec, 2017 2 commits
-
-
Benno Schulenberg authored
Each leading tab is converted to two tabs, and any leading four spaces is converted to one tab. The intended tab size (for keeping most lines within 80 columns) is now four.
-
Benno Schulenberg authored
-
- 11 Nov, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 07 Nov, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 29 Oct, 2017 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
In the tiny version, do_prompt() will now have an extra NULL parameter, which will cost maybe twenty extra bytes of code. That is acceptable when it saves thirty lines in the source.
-
- 22 Sep, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 20 Sep, 2017 1 commit
-
-
Benno Schulenberg authored
The basic idea is that the cursor is always off, except when it needs to be on: when waiting for text input, and in a few other cases: when something was searched and found in the help viewer, and in the file browser when option -g is in effect. This fixes https://savannah.gnu.org/bugs/?51923 . Reported-by:
Mike Frysinger <vapier@gentoo.org>
-
- 18 Aug, 2017 1 commit
-
-
David Lawrence Ramsey authored
-
- 15 Aug, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 06 Aug, 2017 1 commit
-
-
Benno Schulenberg authored
Without them, nano still compiles for me, with everything enabled, even when using --enable-debug, --enable-utf8, and --with-slang.
-
- 29 Jul, 2017 1 commit
-
-
Rishabh Dave authored
Include the shortcut for 'Uncut' into most menus, and add an uncut function for the status bar, so that it becomes possible to paste the first line of the cutbuffer at any text-input prompt. This fulfills https://savannah.gnu.org/bugs/?48501 . Requested-by:
Benno Schulenberg <bensberg@telfort.nl> Signed-off-by:
Rishabh Dave <rishabhddave@gmail.com>
-
- 14 Jul, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 03 Jul, 2017 1 commit
-
-
David Lawrence Ramsey authored
This matches the style in the rest of the code.
-
- 19 May, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 09 May, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 07 May, 2017 1 commit
-
-
David Lawrence Ramsey authored
Add missing spaces, remove excess spaces, and replace groups of indentation spaces with tabs.
-
- 01 May, 2017 2 commits
-
-
Benno Schulenberg authored
Also, trim some comments and avoid an unused-variable warning.
-
Benno Schulenberg authored
The bottomwin has just been refreshed by update_the_statusbar(), and it should not be the responsibility of the prompt routines to keep the edit window up to date, as they don't write anything there.
-
- 25 Apr, 2017 1 commit
-
-
Rishabh Dave authored
Allow the user to search in a help text with ^W and M-W. Achieve this by not writing the help text directly to the screen but first writing it to a temporary file and then opening this file in a new buffer, and treating it specially: the normal file-reading feedback is suppressed, the titlebar shows the headline of the text, the cursor is hidden, and the menu is limited to just the up and down movements and searching. This fulfills https://savannah.gnu.org/bugs/?28994 . Signed-off-by:
Rishabh Dave <rishabhddave@gmail.com>
-
- 17 Apr, 2017 1 commit
-
-
Benno Schulenberg authored
And in the bargain avoid a duplicate call of strlenpt(prompt).
-
- 09 Apr, 2017 1 commit
-
-
Benno Schulenberg authored
The interval 2013-2017 for the Free Software Foundation is valid because in those years there were releases with changes by either Chris or David, and the GNU maintainers guide advises to mention a new year in all files of a package, not just in the ones that actually changed, and be done with it for the rest of the year.
-
- 04 Apr, 2017 2 commits
-
-
Benno Schulenberg authored
Verify at startup that the number is not too small.
-
Benno Schulenberg authored
Rename some variables in the process, and remove two cluttering asserts.
-
- 22 Mar, 2017 1 commit
-
-
David Lawrence Ramsey authored
These improvements will eventually make do_home() and do_end() take parameters. Since the global function lists can hold only functions without parameters, preemptively add do_home_void() and do_end_void(), and make the global function lists use them.
-
- 20 Mar, 2017 1 commit
-
-
Benno Schulenberg authored
Most of these variables are freed moments later -- reallocating them is thus a waste of time.
-
- 03 Jan, 2017 1 commit
-
-
Benno Schulenberg authored
The conditionalizing saved negligible amounts of space, of memory, and of speed.
-
- 27 Dec, 2016 1 commit
-
-
Benno Schulenberg authored
This disallows entering a verbatim ^J (0x0A) when typing text or search terms, and disallows a verbatim ^@ (0x00) when typing a filename. Nano beeps when the disallowed code is attempted. This addresses https://savannah.gnu.org/bugs/?49897.
-
- 26 Dec, 2016 2 commits
-
-
Benno Schulenberg authored
A KEY_WINCH does not need to be separately treated since the basic action for anything that is not recognized at the yes-no prompt is: to continue.
-
Benno Schulenberg authored
Also at the yes-no prompt, a 0x0A byte should be displayed as a ^J instead of splitting the prompt bar in two and spreading it over two lines. This fixes https://savannah.gnu.org/bugs/?49934.
-
- 22 Dec, 2016 2 commits
-
-
Benno Schulenberg authored
And certainly don't return zero when the key wouldn't have been found, because that would have meant jumping a word to the right.
-
Benno Schulenberg authored
Also, swap the logic around, to use less braces.
-
- 18 Dec, 2016 1 commit
-
-
Benno Schulenberg authored
And which normally is just some ten or twenty characters long, and never gets wildly overallocated.
-
- 05 Dec, 2016 1 commit
-
-
Benno Schulenberg authored
But do it correctly this time: don't switch it on when replacing.
-
- 04 Dec, 2016 1 commit
-
-
Benno Schulenberg authored
None of the prompts offer a total-refresh shortcut -- only the edit window, the help viewer, and the file browser provide this.
-
- 01 Dec, 2016 1 commit
-
-
Benno Schulenberg authored
There is no need for that -- it just causes flicker. This fixes https://savannah.gnu.org/bugs/?49742.
-