bugGNU nano - Bugs: bug #52114, the color names given for...

 
 

bug #52114: the color names given for "selectedcolor" are colored as though they're invalid

Submitted by:  David Lawrence Ramsey <dolorous>
Submitted on:  Mon 25 Sep 2017 07:44:34 PM UTC  
 
Severity: 3 - NormalStatus: Fixed
Assigned to: David Lawrence Ramsey <dolorous>Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 26 Sep 2017 05:41:13 PM UTC, comment #3:

Thanks for the fix, and for the report. Pushed to git, 3f35e967.

Benno Schulenberg <bens>
Project Administrator
Mon 25 Sep 2017 09:50:20 PM UTC, comment #2:

And adding to the carbon-copy list, since there's a patch available.

David Lawrence Ramsey <dolorous>
Project AdministratorIn charge of this item.
Mon 25 Sep 2017 07:46:30 PM UTC, comment #1:

This is caused by an oversight when the option was added; nanorc.nanorc was not updated to handle option coloring for "selectedcolor". The attached patch fixes it.

(file #41893)

David Lawrence Ramsey <dolorous>
Project AdministratorIn charge of this item.
Mon 25 Sep 2017 07:44:34 PM UTC, original submission:

Currently, in git b5346bc, if you run a copy of nano with color syntaxes enabled (and an unmodified syntaxes/nanorc.nanorc file), and use it to open a nanorc file, the options given for "functioncolor", "keycolor", "numbercolor", "statuscolor", and "titlecolor" will be shown as yellow. However, the options given for the recently added "selectedcolor" will be shown as bright red, even though they're valid and handled properly.

David Lawrence Ramsey <dolorous>
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:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by bens (Posted a comment)
  • -unavailable- added by dolorous
  • -unavailable- added by dolorous (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 19 Nov 2017 08:15:36 AM UTCbensOpen/ClosedOpen=>Closed
    Tue 26 Sep 2017 05:41:13 PM UTCbensStatusNone=>Fixed
      Assigned toNone=>dolorous
      Summarynanorc syntax colors the colors given for "selectedcolor" as though they're invalid=>the color names given for "selectedcolor" are colored as though they're invalid
    Mon 25 Sep 2017 09:50:20 PM UTCdolorousCarbon-Copy-=>Added bens
    Mon 25 Sep 2017 07:46:30 PM UTCdolorousAttached File-=>Added 0001-syntax-properly-color-color-values-for-the-selectedc.patch, #41893

    Back to the top


    Powered by Savane 3.1-cleanup1