bugGNU nano - Bugs: bug #49750, when replacing, for every Y the...

 
 

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

bug #49750: when replacing, for every Y the cursor is shortly shown

Submitter:  Benno Schulenberg <bens>
Submitted:  Fri 02 Dec 2016 11:46:44 AM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sat 03 Dec 2016 05:12:06 PM UTC, comment #1: 

Fixed in git, 372bd0f.

And closing, because it's an unreleased bug.

(For most calls of edit_refresh() it doesn't matter whether the cursor is on or off.  For the few calss where it does (justify, linter), it gets switched on explicitly soon after the call anyway.  So... things should be fine now.)

Benno Schulenberg <bens>
Group administrator
Fri 02 Dec 2016 11:46:44 AM UTC, original submission:  

In current git, when replacing something (with M-R), for each press of Y, the cursor shortly appears on the statusbar.

This is caused by edit_refresh() being called after each replacement (because syntax coloring is enabled and active), and edit_refresh() switches the cursor back on.  That latter thing is strange: edit_refresh() should just repaint the edit window, it shouldn't do anything with the cursor.  Switching the cursor on should only be done when waiting for input (and not even always, like when interactively replacing).

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

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-03 bens StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code