- 25 May, 2016 1 commit
-
-
Rishabh Dave authored
Signed-off-by:
Rishabh Dave <rishabhddave@gmail.com> Signed-off-by:
Benno Schulenberg <bensberg@justemail.net>
-
- 22 May, 2016 1 commit
-
-
Benno Schulenberg authored
The relative path could be . or .. or even empty, which is uninformative. This fixes the last part of https://savannah.gnu.org/bugs/?47798.
-
- 21 May, 2016 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
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.
-
- 17 May, 2016 4 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Either the selected file was changed, or a file or directory was chosen (and the Enter key virtually pressed), or a shortcut was executed. So, just go and read the next key. This fixes https://savannah.gnu.org/bugs/?47944.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 16 May, 2016 4 commits
-
-
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.
-
Benno Schulenberg authored
When doing a PageUp or PageDown in the browser, don't move the highlight to the first line in the same column, but keep it in the same relative position of the screen. If we're already on the first or last page, move the highlight to the first or last line, but keep it in the same column. If we're already on the first or last line, only then move it to the first or last entry.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 15 May, 2016 1 commit
-
-
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.
-
- 12 May, 2016 1 commit
-
-
Benno Schulenberg authored
The function 'bottombars' has already done this.
-
- 10 May, 2016 3 commits
-
-
Benno Schulenberg authored
There is no need to iterate through all the file names, as we already know the length of the longest. From this it's easy to calculate how many names fit on a line.
-
Benno Schulenberg authored
Also rename some things to be more fitting. And make sure that something will be selected even when many files, including the selected one, have disappeared.
-
Rishabh Dave authored
When refreshing the screen (and thus the file list), use the prev_dir mechanism to reselect the file that was selected before the refresh, to prevent the selection from changing when files were added or deleted. Also, when the selected name has disappeared, move the highlight one step back, so that it is obvious that the selection has changed. (Decrementing 'selected' will never make it negative, because selected == 0 means the '..' entry, and every directory has a '..' entry, so it will be found.) This fixes https://savannah.gnu.org/bugs/?47812 . Signed-off-by: Rishabh Dave <rishabhddave@gmail.com Signed-off-by:
Benno Schulenberg <bensberg@justemail.net>
-
- 02 May, 2016 2 commits
-
-
Benno Schulenberg authored
And make the function actually refresh the list. Useful for when files have been added or deleted since opening the browser.
-
Benno Schulenberg authored
Add a global variable, 'present_path', so that 'cwd_tab_completion()' knows where the user is in the browser, so that it can try completions against names in that directory instead of always against names in the current working directory (where nano was invoked). This fixes https://savannah.gnu.org/bugs/?47234 . Signed-off-by:
Rishabh Dave <rishabhddave@gmail.com> Signed-off-by:
Benno Schulenberg <bensberg@justemail.net>
-
- 01 May, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 29 Apr, 2016 2 commits
-
-
Benno Schulenberg authored
Simply move to the next filename first before starting to match.
-
Benno Schulenberg authored
Don't skip the end of the function: use break instead of return.
-
- 05 Apr, 2016 1 commit
-
-
Benno Schulenberg authored
-
- 29 Mar, 2016 1 commit
-
-
Benno Schulenberg authored
an operating directory is not the same as restricted mode. (In restricted mode, the file browser is not available at all.) git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5772 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 21 Mar, 2016 2 commits
-
-
Benno Schulenberg authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5758 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
Benno Schulenberg authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5757 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 19 Mar, 2016 2 commits
-
-
Benno Schulenberg authored
We will need this again when one day we make a toggle between jumping to a directory and searching for a filename fragment, just like the ^T toggle that exists in the Search / Go-to-line menus. But for now, we don't need this. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5745 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
Benno Schulenberg authored
functions that could be executed -- other than the line-edition ones, which are executed under do_prompt(). So the latter won't return unless either it was cancelled or an answer was given. Also, if it /had/ returned with a value bigger than zero, it tried to put back the key sequence for do_gotolinecolumn_void(), which does not exist in the MBROWSER menu, so this would not have done anything. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5744 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 11 Mar, 2016 1 commit
-
-
Benno Schulenberg authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5718 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 25 Feb, 2016 2 commits
-
-
Benno Schulenberg authored
we've actually succeeded in changing directory. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5677 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
Benno Schulenberg authored
This fixes Savannah bug #47206. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5676 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 13 Feb, 2016 2 commits
-
-
Benno Schulenberg authored
needed), so that it no longer shows in the help screen nor in the file list. This fixes Savannah bug #47126. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5640 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
Benno Schulenberg authored
cursor movement. This fixes Savannah bug #47133. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5638 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 21 Jan, 2016 1 commit
-
-
Benno Schulenberg authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5579 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 30 Nov, 2015 1 commit
-
-
Benno Schulenberg authored
This fixes Savannah bug #46420. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5457 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 11 Nov, 2015 1 commit
-
-
Benno Schulenberg authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5403 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 13 Aug, 2015 1 commit
-
-
Benno Schulenberg authored
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5356 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 30 Jul, 2015 1 commit
-
-
Benno Schulenberg authored
help texts being unavailable. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5331 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-
- 17 Jul, 2015 1 commit
-
-
Benno Schulenberg authored
and avoiding warnings about too large bit shifts. Patch by Mike Frysinger. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5303 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
-