bugGNU nano - Bugs: bug #34323, Maybe incorrect highlighting

 
 
Show feedback again

bug #34323: Maybe incorrect highlighting

Submitted by:  None
Submitted on:  Sat 17 Sep 2011 10:34:53 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sat 17 Sep 2011 10:34:53 PM UTC, original submission:

Sorry for my lame english :)

I have syntax highlighting for python files as it specified in the attached file (or http://pastebin.com/tGWXdw1W)

Brifly, docstrings higlighting rules are:
icolor brightgreen start="(b|u)?r?"""" end="""""
icolor green start="(b|u)?r?'''" end="'''"

When it just opened, then looks fine
http://ompldr.org/vYWU5eg/nano1.png

But after some editions nano highlights to the green too "greedy",
maybe cause of start and end patterns are very similar.
http://ompldr.org/vYWVhMA/nano2.png

Is it a bug of nano or my syntax file?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #23987:  python.nanorc added by None (1kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Sat 17 Sep 2011 10:34:53 PM UTCNoneAttached File-=>Added python.nanorc, #23987
Show feedback again

Back to the top


Powered by Savane 3.1-cleanup