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

 
 

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

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Fri 02 Dec 2016 11:46:44 AM 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.

 

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>
Project AdministratorIn charge of this item.
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>
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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 03 Dec 2016 05:12:06 PM UTCbensStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1