bugGNU nano - Bugs: bug #55716, when the cursor sits on a...

 
 

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

bug #55716: when the cursor sits on a character, it should show this character, not a placeholder

Submitter:  Benno Schulenberg <bens>
Submitted:  Fri 15 Feb 2019 04:45:05 PM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Thu 07 Mar 2019 07:43:39 PM UTC, comment #1: 

Fixed in git, commit 85e89550.

Benno Schulenberg <bens>
Group administrator
Fri 15 Feb 2019 04:45:05 PM UTC, original submission:  

To reproduce, run src/nano --ignore from git, paste "baㄓmmm" into the empty buffer, press <Home> and hold the space bar until the cactus has just reached the edge of the screen and what is shown is: "ba[>" (where the ">" is highlighted).  Now move the cursor forward until it sits on the "[".  The thing is: the user might think that this is an actual "[" character and press <Delete> to get rid of it.  Not good.

So, a better behavior would be that the cursor jumps to the next chunk if the current line is wider than the screen and the cursor wants to go to one of the last two columns of the screen.

Currently, when the cursor is near the end of a chunk, the last column is "unreachable", and when the cursor is near the beginning of a chunk (except the first one), the first seven columns are "unreachable".  Ideal would be if this were symmetrical: four columns on both sides.  This makes that the character under the cursor always has some context on both sides.

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

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-25 bens Open/ClosedOpen Closed
    2019-03-07 bens Severity3 - Normal 2 - Minor
        StatusNone Fixed
        Assigned toNone bens

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code