patchGNU nano - Patches: patch #7333, syntax highlighting for Qt project...

 
 

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

patch #7333: syntax highlighting for Qt project files

Submitter:  Heikki Junnila <hjunnila>
Submitted:  Thu 30 Sep 2010 05:04:53 PM UTC
   
 
Priority:  3 - Low Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  None

Sat 25 Apr 2015 04:10:28 PM UTC, comment #3: 

Hi Heikki,

I made a few edits to your file.  Can this get your stamp of approval?  (I have zero knowledge of Qt.)  Or maybe you even have improved the file further in past four years?


(file #33785)

Benno Schulenberg <bens>
Group administrator
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>

 

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

Attached Files
file #33785:  qtproject.nanorc added by bens (776B - application/octet-stream)
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
  • -email is unavailable- added by bens (Updated the item)
  • -email is unavailable- added by hjunnila (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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-25 bens SummaryQt project file syntax highlighting syntax highlighting for Qt project files
    2015-04-25 bens Attached File- Added qtproject.nanorc, #33785
        Priority5 - Normal 3 - Low
        StatusNone Need Info
        SummaryQt .pro &amp; .pri syntax highlighting Qt project file syntax highlighting
    2010-10-01 hjunnila Attached File- Added qtproject.nanorc, #21588
    2010-09-30 hjunnila Attached File- Added qtproject.nanorc, #21581

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code