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

 
 

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

Submitted by:  David Lawrence Ramsey <dolorous>
Submitted on:  Mon 27 Mar 2017 10:45:37 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: Benno Schulenberg <bens>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project Administrator

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 28 Mar 2017 10:42:19 AM UTCbensAssigned toNone=>bens
    Tue 28 Mar 2017 08:44:05 AM UTCbensStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Tue 28 Mar 2017 04:36:52 AM UTCdolorousSummarythe 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.1-cleanup1