patchGNU nano - Patches: patch #7333, Qt .pro & .pri syntax...

 
 

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

patch #7333: Qt .pro & .pri syntax highlighting

Submitted by:  Heikki Junnila <hjunnila>
Submitted on:  Thu 30 Sep 2010 05:04:53 PM UTC  
 
Category: NonePriority: 5 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: None

Fri 01 Oct 2010 04:35:00 AM UTC, comment #2:

What the hell, attached is the complete fixed rules file. :)

(file #21588)

Heikki Junnila <hjunnila>
Fri 01 Oct 2010 04:31:45 AM UTC, comment #1:

It seems there's a slight change needed to get the regexp rules working on Linux. The original was done on OSX and worked fine there. So you need to escape the curly braces for the second "Scopes" rule. Sorry about this :)

~$ diff qtproject.nanorc qtproject.nanorc.new
20c20
< color brightblue ".*({|})"
---

> color brightblue ".*(\{|\})"

Heikki Junnila <hjunnila>
Thu 30 Sep 2010 05:04:53 PM UTC, original submission:

Hi, attached is a .nanorc file for Qt/qmake project files.

Heikki Junnila <hjunnila>

 

Attached Files
file #21588:  qtproject.nanorc added by hjunnila (757B - application/octet-stream)
file #21581:  qtproject.nanorc added by hjunnila (755B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by hjunnila (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
    Fri 01 Oct 2010 04:35:00 AM UTChjunnilaAttached File-=>Added qtproject.nanorc, #21588
    Thu 30 Sep 2010 05:04:53 PM UTChjunnilaAttached File-=>Added qtproject.nanorc, #21581

    Back to the top


    Powered by Savane 3.1-cleanup