GNU nano - Bugs: bug #53195, a shift selection should be...
You are not allowed to post comments on this tracker with your current authentication level.
bug #53195: a shift selection should be cancelled on any unshifted arrow keypress
Submitter: | Brand Huntsman <brand> | ||
Submitted: | Wed 21 Feb 2018 02:16:31 AM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Fri 09 Mar 2018 10:17:12 AM UTC, comment #8: |
Benno Schulenberg <bens> |
Tue 27 Feb 2018 05:13:30 PM UTC, comment #7: Fixed in git, commit 6f4f1878. |
Benno Schulenberg <bens> |
Sun 25 Feb 2018 07:25:53 PM UTC, comment #6: Good catch; I misspoke. The hard mark would still be needed if you wanted to preserve the mark when using non-arrow movement functions, so yes, I meant the first one.
|
David Lawrence Ramsey <dolorous> |
Sun 25 Feb 2018 07:04:36 PM UTC, comment #5: When you say that "movement functions other than the arrows are important too", I guess you mean that such movement functions (like M-G and ^W) should cancel the softmark too? If yes, then it would be the first patch (the "any" patch) that you prefer.
|
Benno Schulenberg <bens> |
Sun 25 Feb 2018 06:31:36 PM UTC, comment #4: Okay. Not canceling the softmark unnecessarily is good; this just counts as a minor tweak regarding movement.
|
David Lawrence Ramsey <dolorous> |
Sun 25 Feb 2018 09:30:57 AM UTC, comment #3: Okay. I agree that an attempt to move the cursor should count as if the cursor actually did move.
|
Benno Schulenberg <bens> |
Sat 24 Feb 2018 05:30:59 PM UTC, comment #2: Despite it's not being on the mailing list, chiming in for the record...
|
David Lawrence Ramsey <dolorous> |
Wed 21 Feb 2018 11:17:25 AM UTC, comment #1: I wouldn't say that it is more logical, but it is what other programs do that allow making a selection by holding Shift. I kind of like it that the Shift-selected region isn't so volatile. It's easy enough to make the selection disappear: move the cursor.
|
Benno Schulenberg <bens> |
Wed 21 Feb 2018 02:16:31 AM UTC, original submission:
Shift-select to end of buffer and then press down or right arrow keys. Or shift-select to start of buffer and then press up or left arrows keys. The cursor is unable to move and the selection remains. It would be more logical if the shift-selection was removed even if the cursor can't move. |
Brand Huntsman <brand> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2018-03-09 | bens | Open/Closed | Open | Closed | |
2018-02-27 | bens | Status | In Progress | Fixed | |
2018-02-25 | bens | Attached File | - | Added 0001-selecting-cancel-the-softmark-upon-any-attempt-to-mo.patch, #43396 | |
Attached File | - | Added 0001-selecting-cancel-the-softmark-upon-an-attempt-to-mov.patch, #43397 | |||
Status | None | In Progress | |||
Assigned to | None | bens | |||
2018-02-21 | bens | Summary | unhighlight shift selection on any unshifted arrow keypress | a shift selection should be cancelled on any unshifted arrow keypress |
Powered by Savane 3.13-02a9.
Corresponding source code
Released in 2.9.4.