- 23 Jun, 2017 4 commits
-
-
Benno Schulenberg authored
They can be given at the prompt, so it's better to accept them on the command line too.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also improve some comments.
-
Benno Schulenberg authored
-
- 22 Jun, 2017 1 commit
-
-
Benno Schulenberg authored
And rename the function while there anyway.
-
- 20 Jun, 2017 1 commit
-
-
Benno Schulenberg authored
A recent change (8dffb00f) removed this ability. This change restores it, and also allows reading from standard input multiple times -- maybe not useful, but it works.
-
- 18 Jun, 2017 5 commits
-
-
Benno Schulenberg authored
Also, conditionalize a statement that is only effective when multiple file buffers are available.
-
Benno Schulenberg authored
Also, shorten two variable names.
-
Benno Schulenberg authored
This reduction is possible since the routine no longer loops when it encounters a +NUMBER argument.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also when a dash is the first "file" mentioned on the command line, nano should show this buffer at startup and not the next. This fixes https://savannah.gnu.org/bugs/?51207.
-
- 08 Jun, 2017 1 commit
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?51206.
-
- 07 Jun, 2017 1 commit
-
-
Benno Schulenberg authored
Reading from standard input is a purely sequential affair -- no need to split it into two functions.
-
- 06 Jun, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 02 Jun, 2017 1 commit
-
-
Benno Schulenberg authored
The old praxis of calling total_refresh() upon a SIGCONT was confusing, because the screen would look as if nano had returned from suspension, but in fact the shell was still active. Instead of calling total_refresh(), put a no-op key into ncurses' buffer, so that, when nano actually does return out of suspension (through 'fg'), this key will be read and discarded, upon which nano will go sit and wait for the next key, just before which it calls doupdate(). The latter is all we need to get the entire screen restored. This also fixes https://savannah.gnu.org/bugs/?51131 for "tiny".
-
- 31 May, 2017 1 commit
-
-
Benno Schulenberg authored
When receiving a SIGCONT, don't call regenerate_screen() directly but act as if a SIGWINCH occurred. Also insert a dummy key, and thus let the relevant input routine redraw the relevant subwindows. Use KEY_F0 as the dummy key, as both Ncurses and Slang know it, and it should normally do nothing at all. This fixes https://savannah.gnu.org/bugs/?51124.
-
- 24 May, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This has been done already during signal_init().
-
- 18 May, 2017 1 commit
-
-
Benno Schulenberg authored
Apparently the curses on SunOS is less forgiving than the one on GNU. Or rather: delwin(NULL) should just return an error, it shouldn't crash. This fixes https://savannah.gnu.org/bugs/?51053 . Reported-by:
John Wiersba <jrw32982@yahoo.com> Solved-by:
John Wiersba <jrw32982@yahoo.com>
-
- 16 May, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 11 May, 2017 1 commit
-
-
Benno Schulenberg authored
When spotlighting the string to be replaced, placewewant isn't valid, so tell place_the_cursor() to ignore its value to avoid the cursor getting mistakenly placed at the beginning of the next row. This fixes https://savannah.gnu.org/bugs/?50997 . Reported-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
- 09 May, 2017 2 commits
-
-
Benno Schulenberg authored
Also, allow rebinding the word and block jumping functions in the tiny version when nanorc files are reenabled.
-
Benno Schulenberg authored
-
- 08 May, 2017 1 commit
-
-
Benno Schulenberg authored
Also, allow Ctrl+Left/Right with --enable-tiny --enable-browser.
-
- 07 May, 2017 1 commit
-
-
David Lawrence Ramsey authored
Add missing spaces, remove excess spaces, and replace groups of indentation spaces with tabs.
-
- 05 May, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also when toggling the help lines back on or the extra editing space back off, keep the cursor near the bottom of the screen if it /was/ there, instead of centering it -- if smooth scrolling is on, that is. This supplements the fix for https://savannah.gnu.org/bugs/?50933.
-
- 01 May, 2017 3 commits
-
-
Benno Schulenberg authored
Also, trim some comments and avoid an unused-variable warning.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Things have morphed over time and display_buffer() no longer actually displays the buffer -- it just displays the title bar, precalculates the multiline color info, and schedules a refresh of the edit window.
-
- 30 Apr, 2017 1 commit
-
-
Benno Schulenberg authored
This addresses https://savannah.gnu.org/bugs/?50897 . Reported-by:
Hannu Nyman <hannu.nyman@iki.fi>
-
- 25 Apr, 2017 2 commits
-
-
Benno Schulenberg authored
And in the process transform the token DISABLE_HELP to ENABLE_HELP.
-
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>
-
- 19 Apr, 2017 2 commits
-
-
Benno Schulenberg authored
Call something a buffer when it refers to a linked list of linestructs, and call something a linestruct when it is a struct that describes a single line.
-
Benno Schulenberg authored
It takes almost no code and is a useful little improvement over Pico.
-
- 17 Apr, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Because nothing gets reset to zero or to some initial value.
-
- 11 Apr, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 10 Apr, 2017 1 commit
-
-
David Lawrence Ramsey authored
-
- 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.
-