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

 
 

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

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

Submitter:  Benno Schulenberg <bens>
Submitted:  Sun 18 Oct 2015 06:38:15 PM UTC
   
 
Severity:  1 - Wish Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

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

Added to git, aaab6e5.

Benno Schulenberg <bens>
Group administrator
Fri 30 Oct 2015 09:59:26 AM UTC, comment #1: 
Benno Schulenberg <bens>
Group administrator
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>
Group administrator

 

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

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-20 bens Severity3 - Normal 1 - Wish
        Open/ClosedOpen Closed
    2016-05-28 bens StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code