- 01 Jun, 2016 4 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 30 May, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 23 May, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 21 May, 2016 1 commit
-
-
Benno Schulenberg authored
Error messages about lock files should not get overwritten by purely informational messages, only by alerting ones. This fixes https://savannah.gnu.org/bugs/?47963.
-
- 18 May, 2016 2 commits
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?47954.
-
Benno Schulenberg authored
-
- 17 May, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 16 May, 2016 1 commit
-
-
Benno Schulenberg authored
If during startup there are multiple error messages, currently only the last one remains and can be read. To improve on that, introduce a short pause between error messages -- even if it's not enough to read them all, at least the user will be aware that there are multiple ones. This also causes a few error messages to beep that currently don't beep, such as when a file is unwritable.
-
- 15 May, 2016 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
CONST_UPDATE is only relevant when in the main menu, not when in the browser. So, check for that condition, instead of saving, changing, and then restoring the setting.
-
Benno Schulenberg authored
CONST_UPDATE does not need to influence the delay for blanking the statusbar; it is enough when it simply prevents it.
-
- 14 May, 2016 2 commits
-
-
Benno Schulenberg authored
When in the browser, typing keys that produce an unknown escape sequence should not switch on the cursor.
-
Benno Schulenberg authored
Take the side effect of a 'statusbar' call -- setting suppress_cursorpos to TRUE -- into account. This effect was overlooked by commit 9d6d5b67.
-
- 06 May, 2016 1 commit
-
-
Benno Schulenberg authored
Cancelling a search should restore waiting mode for the keyboard, just like at the other exit points of the search routine. And when the input routine has read in multiple keystrokes, it should not blindly switch back to waiting mode, but only when that mode was on before. This fixes the second half of https://savannah.gnu.org/bugs/?47438.
-
- 05 May, 2016 2 commits
-
-
Benno Schulenberg authored
When the terminal is very narrow, there is little point in showing only part of the version string -- and chewing off one or two digits from the version number might even give someone a wrong idea. The user is better served with always showing the full filename, as long as it fits in the available screen width. This fixes https://savannah.gnu.org/bugs/?47703.
-
Benno Schulenberg authored
-
- 04 May, 2016 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
For some reason the keyboard code seems to assume that all integers waiting in the keybuffer form a single sequence. But this isn't the case: when there is an escape (0x1b) among them, then that is where a new sequence starts. So, prevent the input code from considering an escape after a non-escape as part of the current sequence. This fixes https://savannah.gnu.org/bugs/?47839.
-
- 02 May, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 01 May, 2016 1 commit
-
-
Benno Schulenberg authored
It is misleading to say "Unknown Command" when there is no way to rebind the relevant key stroke do anything useful.
-
- 27 Apr, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 25 Apr, 2016 2 commits
-
-
Benno Schulenberg authored
For a little contrast with the function edit_refresh() -- it's annoying that when you search for the latter you get to see all the settings of the flag too.
-
Benno Schulenberg authored
The function edit_update() is called by edit_refresh() itself, so it is silly that the first sets 'edit_refresh_needed' to TRUE. This setting is needed only in a few cases -- in the others it's not needed because the screen does not need to be refreshed (it was just about positioning the cursor), or 'edit_refresh_needed' has already been set by a call to goto_line_posx(). So, just set the flag in the five places that need it and spare the other four calls.
-
- 16 Apr, 2016 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 13 Apr, 2016 2 commits
-
-
Benno Schulenberg authored
If nano has less than four columns available, it will die, so there will always be room for at least four characters.
-
Benno Schulenberg authored
Also, don't force a full refresh of the edit window simply because the current line needs to be horizontally scrolled. And further, when the adjustment of edittop has determined that a full refresh is needed, get out and don't bother scrolling some lines first.
-
- 12 Apr, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 11 Apr, 2016 2 commits
-
-
Benno Schulenberg authored
The old_current line needs to be redrawn only if it differs from current, and if it wasn't drawn already by the iteration for when the mark is on. Also make the conditions involving horizontal scrolling more precise.
-
Benno Schulenberg authored
Instead of saving the current value of placewewant, then setting the new value, and then passing the old value to edit_redraw() in seven different places, just let edit_redraw() do this saving and setting. In the bargain placewewant is now only recalculated when it matters -- when allow_update is TRUE -- and not when it's superfluous.
-
- 07 Apr, 2016 1 commit
-
-
Benno Schulenberg authored
Add a third mode of scrolling, FLOWING, besides CENTERING and STATIONARY. This is used for word and paragraph jumping (and for bracket matching, but that worked correctly already), and only when focusing is FALSE. The new mode prevents the screen from scrolling too many lines when there are several blank lines at the bottom of the edit window and the next word or paragraph is out of view. This fixes https://savannah.gnu.org/bugs/?47194.
-
- 05 Apr, 2016 2 commits
-
-
Mike Scalora authored
On iTerm2 on OS X, the Option+Arrow keys produce special sequences that start with two escapes. Catch these sequences and interpret them appropriately as WordLeft / WordRight / Home / End. Signed-off-by:
Mike Scalora <mike@scalora.org> Signed-off-by:
Thomas Rosenau <thomasr@fantasymail.de> Signed-off-by:
Benno Schulenberg <bensberg@justemail.net>
-
Benno Schulenberg authored
-
- 30 Mar, 2016 2 commits
-
-
Benno Schulenberg authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5778 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
Benno Schulenberg authored
for aptness, for contrast. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5777 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 29 Mar, 2016 1 commit
-
-
Benno Schulenberg authored
invalid escape sequence, and when entering a verbatim keystroke. But leaving the cursor off during Unicode input, for extra feedback. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5771 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-