GNU nano - Bugs: bug #59981, pasting more than a screenful does...
You are not allowed to post comments on this tracker with your current authentication level.
bug #59981: pasting more than a screenful does not always center the cursor
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sun 31 Jan 2021 03:35:16 PM UTC | ||
Severity: | 2 - Minor | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Mon 01 Feb 2021 02:48:56 PM UTC, comment #3: |
Benno Schulenberg <bens> |
Mon 01 Feb 2021 10:07:18 AM UTC, comment #2: It has something to do with the paste causing the line numbers to occupy more positions. Because executing the same recipe on the THANKS file (102 lines) does not result in a cursor on the bottom row. But when first deleting four lines and then executing the recipe... Voila: cursor on bottom row.
|
Benno Schulenberg <bens> |
Sun 31 Jan 2021 04:56:08 PM UTC, comment #1: Bug exists since version 4.0.
|
Benno Schulenberg <bens> |
Sun 31 Jan 2021 03:35:16 PM UTC, original submission:
To reproduce, first run:
Then type: ^6 ^V ^N ^N ^N M-6 M-\ ^U
Then type again: ^6 ^V ^N ^N ^N M-6 M-\ ^U
|
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 |
---|---|---|---|---|---|
2021-02-25 | bens | Open/Closed | Open | Closed | |
2021-02-01 | bens | Status | In Progress | Fixed | |
2021-02-01 | bens | Status | None | In Progress |
Powered by Savane 3.13-02a9.
Corresponding source code
Fixed in git, commit e0a4ee01, by keeping 'focusing' TRUE when it was TRUE before noting that the width of the line numbers changed. The centering required by a large paste is more important than the minimal scrolling that one normally wants when "resizing" the edit window.