bugGNU nano - Bugs: bug #46243, [Request] when a file is shorter...

 
 

bug #46243: [Request] when a file is shorter than the screen, don't start on the middle line

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sun 18 Oct 2015 06:38:15 PM UTC  
 
Severity: 1 - WishStatus: 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.

 

Sat 28 May 2016 07:24:34 PM UTC, comment #2:

Added to git, aaab6e5.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Fri 30 Oct 2015 09:59:26 AM UTC, comment #1:

See short discussion on the mailing list:
https://lists.gnu.org/archive/html/nano-devel/2015-10/msg00007.html

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Sun 18 Oct 2015 06:38:15 PM UTC, original submission:

When you're using the option --positionlog and you've edited a file that is a little shorter than the height of the editing window, and you close the file while the cursor is on the last line... then, when you reopen the file, the cursor will still be on the last line, but this last line will be in the middle of the screen and the top few lines of the file will be out of view.

Not nice.

Suggesetion: when a file contains as many or fewer lines as there are editing lines available on the screen, do not centre the cursor but instead show the whole file.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.

 

(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 (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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 20 Jun 2016 09:34:35 AM UTCbensSeverity3 - Normal=>1 - Wish
      Open/ClosedOpen=>Closed
    Sat 28 May 2016 07:24:34 PM UTCbensStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup1