GNU nano - Bugs: bug #49298, when there are softwrapped lines,...
You are not allowed to post comments on this tracker with your current authentication level.
bug #49298: when there are softwrapped lines, M-- behaves strangely
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sun 09 Oct 2016 09:57:24 AM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Mon 10 Oct 2016 11:47:00 AM UTC, comment #1: |
Benno Schulenberg <bens> |
Sun 09 Oct 2016 09:57:24 AM UTC, original submission:
To reproduce, run 'stty cols 70 && stty rows 28 && src/nano --ignore --softwrap +99 README'. Then type M-- (scroll-line-up) several times. Upon the seventh time, the screen will scroll back down and the cursor will be centererd.
|
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 |
---|---|---|---|---|---|
2016-10-31 | bens | Open/Closed | Open | Closed | |
2016-10-10 | bens | Status | None | Fixed | |
Assigned to | None | bens |
Powered by Savane 3.13-f14d.
Corresponding source code
Avoided in git, d716809, by not trying to put the last line of the file on the bottom line of the screen when the target line is near the end of the file. When softwrap is on, it is too complicated to figure out how far the target line will be away from the bottom of the screen -- this is an exercise for some other time.