#415 Updated Edit mode for ColdFusion

closed-accepted
7
2012-08-05
2012-04-16
No

Separated cfscript to its own mode for editing pure cfcript files. ColdFusion mode references this for highlighting cfscript blocks. Changes to ColdFusion mode to support SQL highlighting via the Transact-SQL mode with support for ColdFusion tags within the SQL.

The cfscript mode was created using JavaScript as a basis while adding the appropriate keywords.

Both the cfscript and ColdFusion modes are set in catalog to handle *.cfc, but ColdFusion will default since it appears later in the file. Since this may be changed by user preferences, it's not an issue. Some people may prefer to edit their CFCs in the tagged syntax, while others use cfscript.

Discussion

  • Darien Brown

    Darien Brown - 2012-04-16
    • priority: 5 --> 7
     
  • Jarek Czekalski

    Jarek Czekalski - 2012-04-27
    • assigned_to: nobody --> kpouer
     
  • Matthieu Casanova

    I would like to apply your patch but there are some problems, the coldfusion.xml becomes invalid (the <mode> tag is closed several times), could you fix it so I can accept it ?
    thanks

     
  • Darien Brown

    Darien Brown - 2012-06-11

    I'll re-patch and re-submit. I'm not sure how the extra mode tag got in there. I've made a couple minor changes to the keyword list since then anyway.

     
  • Darien Brown

    Darien Brown - 2012-06-11

    Updated patch.

     
  • Darien Brown

    Darien Brown - 2012-06-11

    Updated patch submitted.

     
  • Alan Ezust

    Alan Ezust - 2012-08-05
    • assigned_to: kpouer --> ezust
    • status: open --> closed-accepted
     
  • Alan Ezust

    Alan Ezust - 2012-08-05

    Committed 21976. Thanks for your contribution. --alan

     

Log in to post a comment.