BlogCFC5, CF6 and 7
The last release of BlogCFC added ColdFish support for code coloring. Unfortunately I didn't think to check if it was CF6/7 compatible. Jason has helpfully provided a new version that should work in MX and higher. I've checked in the new code to SVN.
Would those of you on 6/7 please get latest from SVN and tell me if code coloring is working?

I tested coldfish with CF7.
This n' is not in conformity with the scripting :
if (type == "SCRIPT"){
...
}
This is better :
if (type eq "SCRIPT"){
...
}
org\delmore\coldfish.cfc : line 142
The selected method regionMatches was not found.
5/27/2008 1.0.9 Made it works with older version of CF... not very happy about implementing the old syntax... may rewrite to use native CF functions...
I used the version (5.9.003) downloaded on http://blogcfc.riaforge.org.
If this n' is not the good version, thank you to say to me where to find there.
The number of line does not correspond any more because I modified the source.
The file " coldfish.cfc" is not on the SVN and the file " coldfish.cfc" version 5.9.003 contains errors (see above) (regionMatches Line 134).
http://blogcfc.riaforge.org/index.cfm?event=page.s...
You can see coldfish.cfc right there. Are you saying when you download via SVN for BlogCFC5, you don't get coldfish.cfc?
Sorry, that is me which made an error. I downloaded the full version instead of looking in the SVN of version 5.
I will be able to test under CF7.
Thx.
**************************
Ligne 315, 318 and 355
Replace
buffer.append("<");
by
buffer.append("<");
*************************
Line 161, there is a test for " CFSET" , this test excluded not " CFSETTING" what gives 2 colors for the order " CFSETTING". (CFSET TING)
Replace
if (thisLine.regionMatches(1, javacast('int',i+3), "SET", 0, 3)) // CFSET Tag
By
if ((thisLine.regionMatches(1, javacast('int',i+3), "SET", 0, 3)) AND NOT (thisLine.regionMatches(1, javacast('int',i+3), "SETTING", 0, 7))) // CFSET Tag and NOT CFSETTING Tag
I can confirm your second issue. I'll ping Jason Delmore.
I can confirm your second issue. I'll ping Jason Delmore.
Downloaded from RIAForge, grabbed the latest coldfish.cfc from SVN
(luv Subversion) and tested under CF7 with all the latest patches and
hotfixes installed. Works like a champ!
Utilized on:
http://www.thecomputerwizards.org/