bugGNU nano - Bugs: bug #50658, in current git, the mark sometimes...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #50658: in current git, the mark sometimes won't display on the top or bottom line of the screen

Submitter:  David Lawrence Ramsey <dolorous>
Submitted:  Mon 27 Mar 2017 10:45:37 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Tue 28 Mar 2017 08:44:05 AM UTC, comment #1: 

Fixed in git, bc876ca7.  Thanks for reporting.

(When I woke this morning, I knew I had forgotten about the case when the mark is on.  But you had already found it, and produced and a nice test case.  :)  Thanks.)

And closing because unreleased.

Benno Schulenberg <bens>
Group administrator
Mon 27 Mar 2017 10:45:37 PM UTC, original submission:  

In current git, this can be reproduced as follows:

1. In an 80x24 terminal, open winio.c via "nano --ignore winio.c".

2. Turn the mark on via Ctrl-^.  You should be on the top line of the screen.

3. Press Down two times.  Note that the line at the top of the screen will not be highlighted, but the line below it will.  (Pressing Ctrl-L will make the first line highlight properly.)

4. Press Ctrl-^ again to turn the mark off.

5. Press Down 16 times.

6. Turn the mark on via Ctrl-^.  You should be on the bottom line of the screen.

7. Press Up one time.  Note that the current line should be highlighted, but isn't.

8. Press Up one more time.  Note that both the current line and the line below it are both highlighted at once.

The problem seems to be in commit 9cf9807, since reverting that commit fixes these issues.

David Lawrence Ramsey <dolorous>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (Posted a comment)
  • -email is unavailable- added by dolorous (Submitted the item)
  •  

    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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-28 bens Assigned toNone bens
    2017-03-28 bens StatusNone Fixed
        Open/ClosedOpen Closed
    2017-03-28 dolorous Summarythe mark sometimes won't display on the top or bottom line of the screen in current git, the mark sometimes won't display on the top or bottom line of the screen

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code