- 07 Dec, 2016 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
(The variable 'pletion_line' is not conditionalized with this option, as it would become messy. The compiler will probably be able to elide it.) When using --enable-tiny, it is not possible to use --enable-wordcomp, because the word completion function uses the undo system.
-
Sumedh Pendurkar authored
Executing the 'complete_a_word' function will search from the start of the current buffer for entire words that begin with the fragment that is before the cursor, and will complete this fragment to the first word that is found. Each consecutive call of 'complete_a_word' will search for the next matching word and will complete the fragment to that. By default the function is bound to the ^] keystroke. Signed-off-by:
Sumedh Pendurkar <sumedh.pendurkar@gmail.com> Signed-off-by:
Benno Schulenberg <bensberg@justemail.net>
-
- 05 Dec, 2016 1 commit
-
-
Benno Schulenberg authored
But do it correctly this time: don't switch it on when replacing.
-
- 03 Dec, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 02 Dec, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 30 Nov, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 13 Nov, 2016 1 commit
-
-
Benno Schulenberg authored
This fixes the two bugs reported by Anton Minaev in https://savannah.gnu.org/bugs/?49511.
-
- 23 Oct, 2016 2 commits
-
-
Benno Schulenberg authored
This make tiny nano slightly less tiny, but makes the code more readable.
-
Benno Schulenberg authored
It does not update anything -- it just picks a new point from where to start displaying the buffer. All actual updating of the screen is done by edit_refresh() and edit_redraw() and such.
-
- 18 Oct, 2016 1 commit
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?49099, and fixes the unreported corresponding bugs for <End> and <Del> and typing extra characters.
-
- 12 Oct, 2016 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 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
-
- 28 Aug, 2016 1 commit
-
-
Benno Schulenberg authored
Add the keycodes and routines to allow the user to forego setting the mark explicitly (with M-A / ^6) and instead quickly select a few words or lines by holding down Shift together with the movement keys. (Some combinations with Shift are swallowed by some terminal emulators. To work around some of those, the combinations Shift+Alt+Left/Right work as Shift+Home/End and Shift+Alt+Up/Down work as Shift+PageUp/PageDown.)
-
- 12 Aug, 2016 1 commit
-
-
Benno Schulenberg authored
When using the default speller or the formatter, the placewewant is remembered. So it should be remembered too when the user specifies a different speller. (This behavior was inadvertently lost last year, in commit 82d737ee.)
-
- 03 Aug, 2016 1 commit
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?48660 doubly, in case there are other ways in which 'spell' sees words differently from 'nano'.
-
- 30 Jul, 2016 1 commit
-
-
Benno Schulenberg authored
A keycode is either already in byte range (so there is nothing to do) or it is not and it shouldn't be (so there is nothing to do either).
-
- 27 Jun, 2016 1 commit
-
-
Benno Schulenberg authored
Just like when reading a file fails. It needs the user's attention.
-
- 24 Jun, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 21 Jun, 2016 2 commits
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?48283.
-
Benno Schulenberg authored
Don't make it the responsibility of the executed functions to restore the list of shortcuts of the edit window. Just detect whether another menu was displayed, and if so, redisplay the main menu.
-
- 20 Jun, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 16 Jun, 2016 1 commit
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?48246.
-
- 14 Jun, 2016 1 commit
-
-
Benno Schulenberg authored
Because when undoing a paste at the end of the buffer, the tail line probably does not exist any more. This fixes https://savannah.gnu.org/bugs/?48222. (It would have been the proper fix for https://savannah.gnu.org/bugs/?44488.)
-
- 07 Jun, 2016 5 commits
-
-
Benno Schulenberg authored
The mark has already been unset by do_cut_text(). And any assignment to 'mark_begin' is useless when 'mark_set' is FALSE.
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?48108, and fixes https://savannah.gnu.org/bugs/?48157.
-
Benno Schulenberg authored
Implement its single use case by making better use of another element.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
By moving the test for the only situation where do_comment() does nothing (when only the magic line is selected) further up front, the add_undo() can be called before the commenting/uncommenting starts and two variables and an extra function are made unnecessary.
-
- 06 Jun, 2016 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Reported-by:
Mike Scalora <mike@scalora.org>
-
- 04 Jun, 2016 1 commit
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?48099 reported by Mike Scalora.
-
- 31 May, 2016 1 commit
-
-
Mike Scalora authored
Store the file sizes from before and after the commenting/uncommenting in the undo struct, so they can be restored when undoing or redoing. This fixes https://savannah.gnu.org/bugs/?48062 . Signed-off-by:
Mike Scalora <mike@scalora.org>
-
- 30 May, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 25 May, 2016 1 commit
-
-
Mike Scalora authored
This allows for commenting or uncommenting a line or a bunch of lines with a single keystroke (default binding: M-3). The characters used for commenting/uncommenting are specified by the active syntax file. Reviewed-by:
Benno Schulenberg <bensberg@justemail.net> Signed-off-by:
Mike Scalora <mike@scalora.org>
-
- 18 May, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 17 May, 2016 1 commit
-
-
Benno Schulenberg authored
-