- 28 Apr, 2017 8 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This elides a counter and a comparison from the central loop, and thus makes the search a tiny bit faster.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
And one-letter variables I cannot "see" -- they are too small.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
An iterator should not be called "start_col", because it is only the starting column at the very beginning. Also, start_col (after the rename) can never be /larger/ than column.
-
Benno Schulenberg authored
The mbwidth() function itself checks whether UTF-8 is being used and does the right thing.
-
- 26 Apr, 2017 4 commits
-
-
Benno Schulenberg authored
Backspace is a more logical counterpart of Space than minus.
-
Benno Schulenberg authored
Also, harmonize some configure-option descriptions, add a slash after a subdir, and fix a typo.
-
Benno Schulenberg authored
Also, add two missing configure options, and frob some other things.
-
Benno Schulenberg authored
It complained of "Unbound key" until now.
-
- 25 Apr, 2017 16 commits
-
-
Benno Schulenberg authored
That is: nest the conditions consistently. And in the bargain rename the variable.
-
Benno Schulenberg authored
Also, mention that help texts can now be searched through, update a copyright notice, and update and simplify a copyright year.
-
Benno Schulenberg authored
And in the process transform the token DISABLE_HELP to ENABLE_HELP.
-
Benno Schulenberg authored
This avoids applying the default syntax, or the syntax specified with --syntax, to a ^G help text.
-
Benno Schulenberg authored
And allow 'N' for searching the next occurrence. Add the same keystrokes to the file browser too, for consistency.
-
Benno Schulenberg authored
Since the help text is searchable, an <End> would go to the end of the text but would leave a blank line above the statusbar -- a blank line that wasn't there before, and that is not reached when simply holding down <Down> all the way from the top.
-
Benno Schulenberg authored
So that the shortcut explanations get properly aligned.
-
Benno Schulenberg authored
When nano has multiple files open, closing a help buffer should not switch to the next buffer in the ring but to the preceding one, because it was from there that the help screen was invoked.
-
Benno Schulenberg authored
Also, save and restore all the flags in a single swoop.
-
Benno Schulenberg authored
There is no need to restore NOREAD_MODE after unsetting it, because any files mentioned on the command line have already been /not/ read.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
However, prefer moving the starting point of the text backwards over moving it forward, so that of the same paragraph more text is shown instead of less. But scroll an empty line out of view -- no text is "lost" then.
-
Benno Schulenberg authored
The top-left corner changing is far more conspicuous than the top right.
-
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>
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?50872.
-
- 24 Apr, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
The go_back_chunks() function will do this clipping. This fixes https://savannah.gnu.org/bugs/?50866.
-
- 21 Apr, 2017 1 commit
-
-
Benno Schulenberg authored
And make the strings after "start=" and "end=" more readable.
-
- 19 Apr, 2017 6 commits
-
-
Benno Schulenberg authored
Mention some things that really set nano apart from Pico. Plus some other small tweaks here and there.
-
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
Trim a superfluous assert too.
-
Benno Schulenberg authored
Also avoid an unused-variable warning, and trim a useless assert.
-
Benno Schulenberg authored
It takes almost no code and is a useful little improvement over Pico.
-
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 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
And in the bargain avoid a duplicate call of strlenpt(prompt).
-