bugGNU nano - Bugs: bug #60149, when using --softwrap, search...

 
 

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

bug #60149: when using --softwrap, search matches are miscolored

Submitter:  Benno Schulenberg <bens>
Submitted:  Mon 01 Mar 2021 09:34:23 AM UTC
   
 
Severity:  4 - Important Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Thu 04 Mar 2021 09:59:32 AM UTC, comment #2: 

Released in 5.6.1.

Benno Schulenberg <bens>
Group administrator
Mon 01 Mar 2021 09:48:36 AM UTC, comment #1: 

Fixed in git, commit a543f8cd, by correctly using HIGHLIGHTED instead of SELECTED_TEXT also in the softwrap spotlighting routine.

Benno Schulenberg <bens>
Group administrator
Mon 01 Mar 2021 09:34:23 AM UTC, original submission:  

To reproduce, run:

src/nano --ignore --softwrap README

Search for some string, say "Pico", and see that it gets highlighted in black on white, instead of in black on yellow.

Problem is caused by softwrap having its own spotlighting routine and me having overlooked this.

(Original report by Peter Passchier in https://lists.gnu.org/archive/html/nano-devel/2021-02/msg00019.html, and a proper reproduction recipe by Liu Hao in https://lists.gnu.org/archive/html/nano-devel/2021-02/msg00027.html.)

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
    2021-03-04 bens Open/ClosedOpen Closed
    2021-03-01 bens StatusIn Progress Fixed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code