- 14 Aug, 2017 2 commits
-
-
Benno Schulenberg authored
So that these functions have bindings by default, and easy bindings. Add them to the help viewer too, so that searching backward becomes possible there.
-
Urja Rannikko authored
This also fixes https://savannah.gnu.org/bugs/?51735 . Reported-by:
Urja Rannikko <urjaman@gmail.com> Signed-off-by:
Urja Rannikko <urjaman@gmail.com> Signed-off-by:
Benno Schulenberg <bensberg@telfort.nl>
-
- 13 Aug, 2017 1 commit
-
-
Benno Schulenberg authored
There is no need to retain the (relative) path that the user specified, so we can simply reuse that variable.
-
- 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>
-
- 27 Jul, 2017 1 commit
-
-
David Lawrence Ramsey authored
A cast on the same line as a variable declaration is superfluous, because it effectively defines the type of the variable twice.
-
- 14 Jul, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 13 Jul, 2017 2 commits
-
-
Benno Schulenberg authored
I like it better that ^X stays in the same position compared to the main screen: the lower left corner.
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?51457.
-
- 12 Jul, 2017 2 commits
-
-
David Lawrence Ramsey authored
Since all indentation and unindentation is by a tab, or by a tab's worth of spaces, use tabsize directly.
-
David Lawrence Ramsey authored
This is the first step toward splitting them into two dedicated functions, instead of letting do_indent() handle both cases.
-
- 10 Jul, 2017 1 commit
-
-
Benno Schulenberg authored
When compiling with 'clang', it would say: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *'.
-
- 03 Jul, 2017 1 commit
-
-
David Lawrence Ramsey authored
This avoids some warnings when compiled with -pedantic: ISO C forbids comparison of ‘void *’ with function pointer ISO C forbids empty initializer braces
-
- 04 Jun, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
In the tiny version, Ctrl+Left and Ctrl+Right are available only in the editor itself and in the file browser. This fixes https://savannah.gnu.org/bugs/?51173.
-
- 29 May, 2017 1 commit
-
-
Benno Schulenberg authored
Achieve this by making the suppression flag global, so that we can just reset it instead of making an improper call of do_cursorpos(). This fixes the secondary part of https://savannah.gnu.org/bugs/?51134.
-
- 19 May, 2017 1 commit
-
-
Benno Schulenberg authored
It is no longer necessary to assign up() and down() separately for the help viewer because by now the movement keys have been sorted in order of ascending stride also in the main menu. The two string definitions are relocated just to reduce the number of #ifdefs.
-
- 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>
-
- 09 May, 2017 1 commit
-
-
Benno Schulenberg authored
Also, allow rebinding the word and block jumping functions in the tiny version when nanorc files are reenabled.
-
- 08 May, 2017 5 commits
-
-
Benno Schulenberg authored
(This should have been part of 9ea5eef2, four commits ago.)
-
Benno Schulenberg authored
Also, allow Ctrl+Left/Right with --enable-tiny --enable-browser.
-
Benno Schulenberg authored
Also remove a superfluous check for 'do_replace' -- it never gets bound in the Search/Replace menus.
-
Benno Schulenberg authored
When configured with --enable-tiny --enable-multibuffer, /do/ include the new-buffer toggle in the Read-File menu.
-
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.
-
- 03 May, 2017 1 commit
-
-
Benno Schulenberg authored
And hide the cursor again as soon as the user scrolls. Achieve this through making the 'didfind' variable global. Also, remove a superfluous call of wnoutrefresh(), as bottombars() already does that. This fixes https://savannah.gnu.org/bugs/?50918 . Reported-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
- 02 May, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 01 May, 2017 2 commits
-
-
Benno Schulenberg authored
Also, trim some comments and avoid an unused-variable warning.
-
Benno Schulenberg authored
-
- 30 Apr, 2017 1 commit
-
-
Benno Schulenberg authored
This avoids https://savannah.gnu.org/bugs/?49912 while at the same time avoiding to draw the edit window twice in a row -- the first drawing would use a wrong margin, which results in a visible and irritating shift left or right of the content upon the second drawing. This fixes https://savannah.gnu.org/bugs/?50877.
-
- 26 Apr, 2017 2 commits
-
-
Benno Schulenberg authored
Backspace is a more logical counterpart of Space than minus.
-
Benno Schulenberg authored
It complained of "Unbound key" until now.
-
- 25 Apr, 2017 3 commits
-
-
Benno Schulenberg authored
That is: nest the conditions consistently. And in the bargain rename the variable.
-
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 1 commit
-
-
Benno Schulenberg authored
File formats, appending and prepending, and backups are not available when --enable-tiny is used, so prevent all relevant pieces of code from getting compiled. And correct two misspelled ENABLE_TINY to NANO_TINY.
-
- 17 Apr, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 11 Apr, 2017 1 commit
-
-
Benno Schulenberg authored
This also groups ^I and ^M together, and cutwordleft and cutwordright (when they are bound). It furthermore makes that less pairs are now mixed and instead consist of either two Ctrl or two Meta combos. In short: it looks better in the default config. The only sacrifice is that Verbatim is now split off from the other "inserting" keys.
-
- 10 Apr, 2017 1 commit
-
-
David Lawrence Ramsey authored
When UTF-8 is available, use actual arrows instead of untranslated words to indicate the cursor keys in the search history, as is done elsewhere.
-
- 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.
-