[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] [PATCH] browser: keep selection despite of change in number
From: |
Rishabh Dave |
Subject: |
[Nano-devel] [PATCH] browser: keep selection despite of change in number of files in cwd |
Date: |
Thu, 5 May 2016 17:59:43 +0530 |
Hello,
I have attached a fix for the bug #47812: adding or deleting files can
change the selected one in the browser
(http://savannah.gnu.org/bugs/?47812). Basically, code
increments/decrements 'selected' by amount of increase/decrease in
number of files on a refresh.
There is one side effect though, which may actually be plus point: If
selected file disappears (and if we refresh), then 'selected'
decrements by one (i.e. previous directory becomes selected file).
Drawback because of "the principle of minimum necessary change".
However, I feel it's good because moving cursor would alert (more to
the) user of loss of selected file (as movement of selected section is
more visible than change of file under the selection).
Regards,
Rishabh
select-inspite-of-refresh.patch
Description: Text Data
- [Nano-devel] [PATCH] browser: keep selection despite of change in number of files in cwd,
Rishabh Dave <=
- Re: [Nano-devel] [PATCH] browser: keep selection despite of change in number of files in cwd, Benno Schulenberg, 2016/05/05
- Re: [Nano-devel] [PATCH] browser: keep selection despite of change in number of files in cwd, Rishabh Dave, 2016/05/07
- Re: [Nano-devel] [PATCH] browser: keep selection despite of change in number of files in cwd, Benno Schulenberg, 2016/05/07
- Re: [Nano-devel] [PATCH] browser: keep selection despite of change in number of files in cwd, Rishabh Dave, 2016/05/08
- Re: [Nano-devel] [PATCH] browser: keep selection despite of change in number of files in cwd, Benno Schulenberg, 2016/05/08
- Re: [Nano-devel] [PATCH] browser: keep selection despite of change in number of files in cwd, Rishabh Dave, 2016/05/09
- Re: [Nano-devel] [PATCH] browser: keep selection despite of change in number of files in cwd, Benno Schulenberg, 2016/05/10
- Re: [Nano-devel] [PATCH] browser: keep selection despite of change in number of files in cwd, Rishabh Dave, 2016/05/11
- Re: [Nano-devel] [PATCH] browser: keep selection despite of change in number of files in cwd, Benno Schulenberg, 2016/05/11
- Re: [Nano-devel] [PATCH] browser: keep selection despite of change in number of files in cwd, Rishabh Dave, 2016/05/11