Menu

Feature Request: COLDFUSION

2005-07-01
2012-11-13
  • Nobody/Anonymous

    Could you guys add ColdFusion language to your supported languages? Would sure be nice.

     
    • Nobody/Anonymous

      Adding ColdFusion to the list of supported languages is a great idea :) (for cfm and cfc extensions) I will save some time so you don't have to download and configure it each time new release comes out. I would greatly appreciate it >:D< thank you for great work!

       
    • Nobody/Anonymous

      I found a CF definition on the Textpad++ site and added it to my (created a) userDefineLang.xml.

      Its works a treat as far as syntax highlighting goes but does not match the tags <cfif> .. </cfif> for code folding like HTML does <head>..</head> 

      Can anyone explain to me how I can enable this?

      Thanks,
      wm@cisa.asn.au

       
      • bst

        bst - 2006-02-02

        Hi, I'm still trying to figure this out. Don gave me some hints, but I still couldn't get it completely to work.

        So far I got comment hightlighting and comment folding to work (in addition to syntax highlighting), but keyword folwing and highlighting of numbers still doesn't work.

        As soon as I've figured this out, I will post an updated version to Don.

        Regards
        Bernhard

         
        • Nobody/Anonymous

          I found that removing the reference to cfms in userDefineLang.xml (if you have gone to that bother)

          ..then adding cfm into the XML definition in lags.xml it will treat CFM files as XML.

          Unfortunatly folding fails as it does not seem understand that<CFIF> <CFELSE> </CFIF>

          .. but it does undestand comments properly now.
          wm - at- cisa.asn.au

           
    • Nobody/Anonymous

      Please post the XML/code you are using to manage this folding.

      I just cant get it to work.

       
      • bst

        bst - 2006-02-06

        ok, have a look at http://www.moving-bits.net/userDefineLang.xml

        basically it was removing some of the special characters out of the "operators" list and adding </cfxyz> and <cfxyz (without closing bracket) versions of the keywords <cfxyz> to the keyword list.

        If you get the keyword folding to work, please let me know.

        HTH
        Bernhard