SublimeText/ColdFusion — Issue #18: Something is causing syntax highlighting fail
Author: bittersweetryan
Created: 2012-02-27 16:08:14+00:00
State: open

I wish I could be more specific but I can't even figure out exactly what line is causing this. When I comment out line 82 I get highlighting through line 88, but it stops there. When I comment out line 88, it stops on the very next line.

I just noticed the mismatched quotes on line 88, don't mind those that was some leftover from my testing of this issue. The problem persists weather the mismatched quotes are there or not.

sample code to reproduce:

package void function notifyChildren(string property, any value)
output=false hint="I notify children of an update"{
var i = 0;

for(i = 1; i <= arrayLen(variables.children); i++){
cascaseObjectUpdate(arguments.property, arguments.value, variables.children[i]);
}
}

package void function cascaseObjectUpdate(String property, any value, any targetObject)
output=false{
var args = {};
args["#arguments.property#"] = arguments.value;

if(structKeyExists(arguments.targetObject, "set#arguments.property#")){
scriptFunctions.invoke(arguments.targetObject, "set#arguments.property#", args);
}
}

http://yfrog.com/03jqwp