[TxMt] "language" problem

Steven Ross nowhiding at gmail.com
Thu Mar 6 20:03:12 UTC 2008


I can't for the life of me figure out why this isn't working in my language
file, can someone help?

Thanks,

Steven

Sample text to search:
----snip------
<cffunction name="isEmpty" returnType="boolean" access="private"
hint="checks to see whether a field is empty">
<cfargument name="inputField" type="string" required="true"  hint="the
input">
<cfset retBool = true />
<cfif Len(Trim(arguments.inputField))>
<cfset retBool = false />
</cfif>
<cfreturn retBool />
</cffunction>
-----snip-----

regex that works when using "find" inside TM:

<cffunction\sname=(["'])


bundle language text:

{ name = 'support.other';
contentName = 'entity.name.function';
begin = '(<cffunction\sname).(["''])';
end = '["'']';
},

-- 
Steven Ross
web application & interface developer
http://blog.stevensross.com
[mobile] 404-488-4364 [fax] 267-482-4364
[ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20080306/79d65933/attachment.html>


More information about the textmate mailing list