GNU nano - Bugs: bug #61175, [Wish] doing a full justification...
You are not allowed to post comments on this tracker with your current authentication level.
bug #61175: [Wish] doing a full justification should not move the cursor
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Fri 17 Sep 2021 07:39:51 AM UTC | ||
Severity: | 1 - Wish | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Thu 24 Mar 2022 05:59:14 PM UTC, comment #1: |
Benno Schulenberg <bens> |
Fri 17 Sep 2021 07:39:51 AM UTC, original submission:
When doing a full justification (M-J), the cursor is moved to the bottom of the buffer. This serves no purpose, and needlessly causes the user to lose their current position in the file. Also, I can imagine that the user would be quite interested in how the current part of the file would look /after/ the change: he/she would like to see the change happen.
|
Benno Schulenberg <bens> |
No files currently attached
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 3 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2022-04-29 | bens | Open/Closed | Open | Closed | |
2022-03-24 | bens | Status | None | Fixed | |
Assigned to | None | bens |
Powered by Savane 3.13-caa5.
Corresponding source code
Fixed in git, commit 803ea0d7, by jumping back to the line number where the cursor was when M-J was pressed. This is likely not to be the precise line where the cursor was before the justification, but in most cases it will be quite near -- good enough.