It is for Flex and actionscript (Has anyone already wrote one?).
Actionscript can be added inside similar tags to Javascript.
<mx:Script>
<![CDATA[
public function one(event:ResultEvent):void {
}
public function two(event:ResultEvent):void {
}
]]>
</mx:Script>
Anyway, the cindent() function on these lines:
public function one(event:ResultEvent):void {
}
returns 8.
Anyway, the cindent() function on the following lines:
public function two(event:ResultEvent):void {
}
returns 0.
I have no idea why that might happen. I have written other indent
scripts where I have code I can debug. But in this case, it is the
cindent() function. So I am not sure where to go to figure this out.
Thanks,
Dave