#!/usr/bin/env ruby
#
# Lookup current word as a tag name on adobe livedocs
# Created by Steven S. Ross: http://blog.stevensross.com
#
# The mapping below was generated using:
# echo "$tags = {"; curl -s http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags-pt0_01.html|grep '.*'|perl -pe 's|(.*?)|\t"$2"\t=> "$1",|'; echo "}"
# echo "$tags = {"; curl -s http://livedocs.adobe.com/coldfusion/8/htmldocs/functions-pt0_01.html|grep '.*'|perl -pe 's|(.*?)|\t"$2"\t=> "$1",|'; echo "}"
$tags = {
"cfabort" => "Tags_a-b_1.html#3835579",
"cfajaximport" => "Tags_a-b_2.html#3980738",
"cfajaxproxy" => "Tags_a-b_3.html#3983510",
"cfapplet" => "Tags_a-b_4.html#1097239",
"cfapplication" => "Tags_a-b_5.html#1097308",
"cfargument" => "Tags_a-b_6.html#2855190",
"cfassociate" => "Tags_a-b_7.html#3393273",
"cfbreak" => "Tags_a-b_9.html#1097484",
"cfcache" => "Tags_c_01.html#1097532",
"cfcalendar" => "Tags_c_02.html#3798877",
"cfcase" => "Tags_c_03.html#3798974",
"cfcatch" => "Tags_c_04.html#3395038",
"cfchart" => "Tags_c_05.html#2619630",
"cfchartdata" => "Tags_c_06.html#2748541",
"cfchartseries" => "Tags_c_07.html#2741830",
"cfcol" => "Tags_c_08.html#1097607",
"cfcollection" => "Tags_c_09.html#1097667",
"cfcomponent" => "Tags_c_10.html#3350776",
"cfcontent" => "Tags_c_11.html#2850760",
"cfcookie" => "Tags_c_12.html#3839604",
"cfdbinfo" => "Tags_d-e_01.html#3996857",
"cfdefaultcase" => "Tags_d-e_02.html#2664493",
"cfdirectory" => "Tags_d-e_03.html#1097918",
"cfdiv" => "Tags_d-e_04.html#4011987",
"cfdocument" => "Tags_d-e_05.html#3765835",
"cfdocumentitem" => "Tags_d-e_06.html#3980064",
"cfdocumentsection" => "Tags_d-e_07.html#3766659",
"cfdump" => "Tags_d-e_08.html#3980281",
"cfelse" => "Tags_d-e_09.html#3138301",
"cfelseif" => "Tags_d-e_10.html#2647667",
"cferror" => "Tags_d-e_11.html#2022557",
"cfexchangecalendar" => "Tags_d-e_12.html#3982111",
"cfexchangeconnection" => "Tags_d-e_13.html#3982688",
"cfexchangecontact" => "Tags_d-e_14.html#3982867",
"cfexchangefilter" => "Tags_d-e_15.html#3983171",
"cfexchangemail" => "Tags_d-e_16.html#4069984",
"cfexchangetask" => "Tags_d-e_17.html#3983988",
"cfexecute" => "Tags_d-e_18.html#1098198",
"cfexit" => "Tags_d-e_19.html#1098252",
"cffeed" => "Tags_f_01.html#4002452",
"cffile" => "Tags_f_02.html#4003197",
"cfflush" => "Tags_f_12.html#2130748",
"cfform" => "Tags_f_13.html#2433198",
"cfformgroup" => "Tags_f_14.html#3980747",
"cfformitem" => "Tags_f_15.html#3768073",
"cfftp" => "Tags_f_16.html#1800554",
"cffunction" => "Tags_f_21.html#2852457",
"cfgrid" => "Tags_g-h_03.html#3987012",
"cfgridcolumn" => "Tags_g-h_04.html#3988181",
"cfgridrow" => "Tags_g-h_05.html#3988803",
"cfgridupdate" => "Tags_g-h_06.html#3988895",
"cfheader" => "Tags_g-h_07.html#3989067",
"cfhtmlhead" => "Tags_g-h_08.html#3989191",
"cfhttp" => "Tags_g-h_09.html#3989287",
"cfhttpparam" => "Tags_g-h_10.html#3989813",
"cfif" => "Tags_i_01.html#1100123",
"cfimage" => "Tags_i_02.html#3975802",
"cfimport" => "Tags_i_04.html#2693767",
"cfinclude" => "Tags_i_05.html#1100248",
"cfindex" => "Tags_i_06.html#1100286",
"cfinput" => "Tags_i_07.html#1100379",
"cfinsert" => "Tags_i_08.html#3997210",
"cfinterface" => "Tags_i_09.html#3981803",
"cfinvoke" => "Tags_i_10.html#4001127",
"cfinvokeargument" => "Tags_i_11.html#3014048",
"cflayout" => "Tags_j-l_01.html#3989007",
"cflayoutarea" => "Tags_j-l_02.html#3984637",
"cfldap" => "Tags_j-l_03.html#3988374",
"cflocation" => "Tags_j-l_04.html#1100753",
"cflock" => "Tags_j-l_05.html#1100787",
"cflog" => "Tags_j-l_06.html#1842314",
"cflogin" => "Tags_j-l_07.html#2991147",
"cfloginuser" => "Tags_j-l_08.html#2873089",
"cflogout" => "Tags_j-l_09.html#2871521",
"cfloop" => "Tags_j-l_10.html#3301338",
"cfmail" => "Tags_m-o_01.html#2355015",
"cfmailparam" => "Tags_m-o_02.html#1101294",
"cfmailpart" => "Tags_m-o_03.html#2732354",
"cfmenu" => "Tags_m-o_04.html#2929198",
"cfmenuitem" => "Tags_m-o_05.html#2929390",
"cfmodule" => "Tags_m-o_06.html#1810047",
"cfNTauthenticate" => "Tags_m-o_07.html#2812370",
"cfobject" => "Tags_m-o_08.html#2820239",
"cfobjectcache" => "Tags_m-o_15.html#2310692",
"cfoutput" => "Tags_m-o_16.html#1101659",
"cfparam" => "Tags_p-q_01.html#1101730",
"cfpdf" => "Tags_p-q_02.html#2922772",
"cfpdfformparam" => "Tags_p-q_04.html#2928668",
"cfpdfparam" => "Tags_p-q_05.html#2926071",
"cfpdfsubform" => "Tags_p-q_06.html#2932784",
"cfpod" => "Tags_p-q_07.html#2941290",
"cfpop" => "Tags_p-q_08.html#2965096",
"cfpresentation" => "Tags_p-q_09.html#2913192",
"cfpresentationslide" => "Tags_p-q_10.html#2914066",
"cfpresenter" => "Tags_p-q_11.html#2914745",
"cfprint" => "Tags_p-q_12.html#2953528",
"cfprocessingdirective" => "Tags_p-q_13.html#2962107",
"cfprocparam" => "Tags_p-q_14.html#1102102",
"cfprocresult" => "Tags_p-q_15.html#1102246",
"cfproperty" => "Tags_p-q_16.html#2498235",
"cfquery" => "Tags_p-q_17.html#1102316",
"cfqueryparam" => "Tags_p-q_18.html#1102474",
"cfregistry" => "Tags_r-s_01.html#2930838",
"cfreport" => "Tags_r-s_06.html#1102863",
"cfreportparam" => "Tags_r-s_07.html#2821951",
"cfrethrow" => "Tags_r-s_08.html#1102913",
"cfreturn" => "Tags_r-s_09.html#2498057",
"cfsavecontent" => "Tags_r-s_10.html#1844410",
"cfschedule" => "Tags_r-s_11.html#1843993",
"cfscript" => "Tags_r-s_12.html#1103056",
"cfsearch" => "Tags_r-s_13.html#2915128",
"cfselect" => "Tags_r-s_14.html#2915611",
"cfset" => "Tags_r-s_17.html#2916042",
"cfsetting" => "Tags_r-s_18.html#2916189",
"cfsilent" => "Tags_r-s_19.html#2916323",
"cfslider" => "Tags_r-s_20.html#2916383",
"cfsprydataset" => "Tags_r-s_21.html#2931804",
"cfstoredproc" => "Tags_r-s_22.html#2916700",
"cfswitch" => "Tags_r-s_23.html#2916888",
"cftable" => "Tags_t_01.html#1103885",
"cftextarea" => "Tags_t_02.html#2773598",
"cfthread" => "Tags_t_04.html#2860391",
"cfthrow" => "Tags_t_05.html#2773591",
"cftimer" => "Tags_t_06.html#2765717",
"cftooltip" => "Tags_t_07.html#2863581",
"cftrace" => "Tags_t_08.html#2698629",
"cftransaction" => "Tags_t_09.html#1104164",
"cftree" => "Tags_t_10.html#1104271",
"cftreeitem" => "Tags_t_11.html#1104421",
"cftry" => "Tags_t_12.html#1104557",
"cfupdate" => "Tags_u-z_1.html#1104662",
"cfwddx" => "Tags_u-z_2.html#2682044",
"cfwindow" => "Tags_u-z_3.html#2863946",
"cfxml" => "Tags_u-z_4.html#2497244",
"cfzip" => "Tags_u-z_5.html#2851426",
"cfzipparam" => "Tags_u-z_6.html#2862222",
"abs" => "functions_a-b_01.html#1100121",
"abs" => "functions_a-b_01.html#1100121",
"acos" => "functions_a-b_02.html#1100157",
"addsoaprequestheader" => "functions_a-b_03.html#5050827",
"addsoapresponseheader" => "functions_a-b_04.html#5050841",
"ajaxlink" => "functions_a-b_05.html#5177548",
"ajaxonload" => "functions_a-b_06.html#5178573",
"arrayappend" => "functions_a-b_07.html#5178567",
"arrayavg" => "functions_a-b_08.html#1100280",
"arrayclear" => "functions_a-b_09.html#1100366",
"arraydeleteat" => "functions_a-b_10.html#1100409",
"arrayinsertat" => "functions_a-b_11.html#1100451",
"arrayisdefined" => "functions_a-b_12.html#5176845",
"arrayisempty" => "functions_a-b_13.html#5177207",
"arraylen" => "functions_a-b_14.html#5176840",
"arraymax" => "functions_a-b_15.html#1100583",
"arraymin" => "functions_a-b_16.html#1100639",
"arraynew" => "functions_a-b_17.html",
"arrayprepend" => "functions_a-b_18.html",
"arrayresize" => "functions_a-b_19.html",
"arrayset" => "functions_a-b_20.html#1100826",
"arraysort" => "functions_a-b_21.html#1100866",
"arraysum" => "functions_a-b_22.html#1100909",
"arrayswap" => "functions_a-b_23.html#1100966",
"arraytolist" => "functions_a-b_24.html#1101000",
"asc" => "functions_a-b_25.html#1101046",
"asin" => "functions_a-b_26.html#1101093",
"atn" => "functions_a-b_27.html#1101161",
"binarydecode" => "functions_a-b_30.html#4989807",
"binaryencode" => "functions_a-b_31.html#4989676",
"bitand" => "functions_a-b_32.html#4989670",
"bitmaskclear" => "functions_a-b_33.html#1101362",
"bitmaskread" => "functions_a-b_34.html#1101407",
"bitmaskset" => "functions_a-b_35.html#5205077",
"bitnot" => "functions_a-b_36.html#1101496",
"bitor" => "functions_a-b_37.html#1101535",
"bitshln" => "functions_a-b_38.html#1101574",
"bitshrn" => "functions_a-b_39.html#1101612",
"bitxor" => "functions_a-b_40.html#1101649",
"ceiling" => "functions_c-d_01.html#1101688",
"charsetdecode" => "functions_c-d_02.html#4990140",
"charsetencode" => "functions_c-d_03.html#4990268",
"chr" => "functions_c-d_04.html#4749523",
"cjustify" => "functions_c-d_05.html#4749554",
"compare" => "functions_c-d_06.html#1101820",
"comparenocase" => "functions_c-d_07.html#1101887",
"cos" => "functions_c-d_08.html#1101937",
"createdate" => "functions_c-d_09.html#4731550",
"createdatetime" => "functions_c-d_10.html#1224498",
"createobject" => "functions_c-d_11.html#1102241",
"createodbcdate" => "functions_c-d_19.html#1102341",
"createodbcdatetime" => "functions_c-d_20.html#1102463",
"createodbctime" => "functions_c-d_21.html#1102559",
"createtime" => "functions_c-d_22.html#1102639",
"createtimespan" => "functions_c-d_23.html#1102715",
"createuuid" => "functions_c-d_24.html#1102827",
"dateadd" => "functions_c-d_25.html#1102869",
"datecompare" => "functions_c-d_26.html#4762855",
"dateconvert" => "functions_c-d_27.html#1103075",
"datediff" => "functions_c-d_28.html#1103187",
"dateformat" => "functions_c-d_29.html#1103264",
"datepart" => "functions_c-d_30.html#1103355",
"day" => "functions_c-d_31.html#1103422",
"dayofweek" => "functions_c-d_32.html#1103491",
"dayofweekasstring" => "functions_c-d_33.html#1103560",
"dayofyear" => "functions_c-d_34.html#1103621",
"daysinmonth" => "functions_c-d_35.html#1103690",
"daysinyear" => "functions_c-d_36.html#1103759",
"de" => "functions_c-d_37.html#1103833",
"decimalformat" => "functions_c-d_38.html#1103887",
"decrementvalue" => "functions_c-d_39.html#1103928",
"decrypt" => "functions_c-d_40.html#1103962",
"decryptbinary" => "functions_c-d_41.html#5161046",
"deleteclientvariable" => "functions_c-d_42.html#4994925",
"deserializejson" => "functions_c-d_43.html#5176845",
"directoryexists" => "functions_c-d_44.html#1104060",
"dollarformat" => "functions_c-d_45.html#1104101",
"dotnettocftype" => "functions_c-d_46.html#5180714",
"duplicate" => "functions_c-d_47.html#5180681",
"encrypt" => "functions_e-g_01.html#1104201",
"encryptbinary" => "functions_e-g_02.html#5161290",
"evaluate" => "functions_e-g_03.html#1104252",
"exp" => "functions_e-g_04.html#1104297",
"expandpath" => "functions_e-g_05.html#1104357",
"fileclose" => "functions_e-g_06.html#5177787",
"filecopy" => "functions_e-g_07.html#5177893",
"filedelete" => "functions_e-g_08.html#5177837",
"fileexists" => "functions_e-g_09.html#1104406",
"fileiseof" => "functions_e-g_10.html#5177402",
"filemove" => "functions_e-g_11.html#5177948",
"fileopen" => "functions_e-g_12.html#5177946",
"fileread" => "functions_e-g_13.html#5177516",
"filereadbinary" => "functions_e-g_14.html#5177676",
"filereadline" => "functions_e-g_15.html#5177620",
"filesetaccessmode" => "functions_e-g_16.html#5178057",
"filesetattribute" => "functions_e-g_17.html#5178055",
"filesetlastmodified" => "functions_e-g_18.html#5177996",
"filewrite" => "functions_e-g_19.html#5180547",
"find" => "functions_e-g_21.html#5177400",
"findnocase" => "functions_e-g_22.html#1104504",
"findoneof" => "functions_e-g_23.html#1104557",
"firstdayofmonth" => "functions_e-g_24.html#1104605",
"fix" => "functions_e-g_25.html#4738711",
"formatbasen" => "functions_e-g_26.html#1104705",
"generatesecretkey" => "functions_e-g_27.html#4992278",
"getauthuser" => "functions_e-g_28.html#4046631",
"getbasetagdata" => "functions_e-g_29.html#1104755",
"getbasetaglist" => "functions_e-g_30.html#1104790",
"getbasetemplatepath" => "functions_e-g_31.html#1104820",
"getclientvariableslist" => "functions_e-g_32.html#1104857",
"getcomponentmetadata" => "functions_e-g_33.html#5190523",
"getcontextroot" => "functions_e-g_34.html#5190647",
"getcurrenttemplatepath" => "functions_e-g_35.html#1104906",
"getdirectoryfrompath" => "functions_e-g_36.html#1104945",
"getencoding" => "functions_e-g_37.html#4739516",
"getexception" => "functions_e-g_38.html#3128141",
"getfilefrompath" => "functions_e-g_40.html#5180876",
"getfileinfo" => "functions_e-g_39.html#1104998",
"getfunctionlist" => "functions_e-g_41.html#1105051",
"getgatewayhelper" => "functions_e-g_42.html#4999113",
"gethttprequestdata" => "functions_e-g_43.html#1955092",
"gethttptimestring" => "functions_e-g_44.html#1953353",
"getk2serverdoccount" => "functions_e-g_45.html#4950812",
"getk2serverdoccountlimit" => "functions_e-g_46.html#3688443",
"getlocale" => "functions_e-g_47.html#4552309",
"getlocaledisplayname" => "functions_e-g_48.html#5046249",
"getlocalhostip" => "functions_e-g_49.html#5161720",
"getmetadata" => "functions_e-g_50.html#1105179",
"getmetricdata" => "functions_e-g_51.html#4989422",
"getpagecontext" => "functions_e-g_52.html#4209678",
"getprinterinfo" => "functions_e-g_53.html#5190309",
"getprofilesections" => "functions_e-g_54.html#5190479",
"getprofilestring" => "functions_e-g_55.html#4755212",
"getreadableimageformats" => "functions_e-g_56.html#5176570",
"getsoaprequest" => "functions_e-g_57.html#5054299",
"getsoaprequestheader" => "functions_e-g_58.html#5054295",
"getsoapresponse" => "functions_e-g_59.html#5054378",
"getsoapresponseheader" => "functions_e-g_60.html#5054369",
"gettempdirectory" => "functions_e-g_61.html#1105302",
"gettempfile" => "functions_e-g_62.html#1105336",
"gettemplatepath" => "functions_e-g_63.html#1105374",
"gettickcount" => "functions_e-g_64.html#1105415",
"gettimezoneinfo" => "functions_e-g_65.html#1105446",
"gettoken" => "functions_e-g_66.html#3732032",
"getuserroles" => "functions_e-g_67.html#5176674",
"getwriteableimageformats" => "functions_e-g_68.html#5181064",
"hash" => "functions_h-im_01.html#1105551",
"hour" => "functions_h-im_02.html#1105590",
"htmlcodeformat" => "functions_h-im_03.html#1105634",
"htmleditformat" => "functions_h-im_04.html#4744272",
"iif" => "functions_h-im_05.html#1105815",
"imageaddborder" => "functions_h-im_06.html#5163527",
"imageblur" => "functions_h-im_07.html#5177861",
"imageclearrect" => "functions_h-im_08.html#5163754",
"imagecopy" => "functions_h-im_09.html#5178021",
"imagecrop" => "functions_h-im_10.html#5163838",
"imagedrawarc" => "functions_h-im_11.html#5163897",
"imagedrawbeveledrect" => "functions_h-im_12.html#5163942",
"imagedrawcubiccurve" => "functions_h-im_13.html#5163987",
"imagedrawline" => "functions_h-im_14.html#5178238",
"imagedrawlines" => "functions_h-im_15.html#5174287",
"imagedrawoval" => "functions_h-im_16.html#5175334",
"imagedrawpoint" => "functions_h-im_17.html#5175655",
"imagedrawquadraticcurve" => "functions_h-im_18.html#5168151",
"imagedrawrect" => "functions_h-im_19.html#5164160",
"imagedrawroundrect" => "functions_h-im_20.html#5164200",
"imagedrawtext" => "functions_h-im_21.html#5178583",
"imageflip" => "functions_h-im_22.html#5164290",
"imagegetblob" => "functions_h-im_23.html#5177242",
"imagegetbufferedimage" => "functions_h-im_24.html#5196927",
"imagegetexiftag" => "functions_h-im_26.html#5164418",
"imagegetheight" => "functions_h-im_27.html#5178973",
"imagegetiptctag" => "functions_h-im_29.html#5198206",
"imagegetwidth" => "functions_h-im_30.html#5164591",
"imagegrayscale" => "functions_h-im_31.html#5164636",
"imageinfo" => "functions_h-im_32.html#5164681",
"imagenegative" => "functions_h-im_33.html#5164718",
"imagenew" => "functions_h-im_34.html#5179132",
"imageoverlay" => "functions_h-im_35.html#5164808",
"imagepaste" => "functions_h-im_36.html#5182491",
"imageread" => "functions_h-im_37.html#5164891",
"imagereadbase64" => "functions_h-im_38.html#5203729",
"imageresize" => "functions_h-im_39.html#5171309",
"imagerotate" => "functions_h-im_40.html#5165025",
"imagerotatedrawingaxis" => "functions_h-im_41.html#5165063",
"imagescaletofit" => "functions_h-im_42.html#5165106",
"imagesetantialiasing" => "functions_h-im_43.html#5208875",
"imagesetbackgroundcolor" => "functions_h-im_44.html#5175057",
"imagesetdrawingcolor" => "functions_h-im_45.html#5175214",
"imagesetdrawingstroke" => "functions_h-im_46.html#5165228",
"imagesetdrawingtransparency" => "functions_h-im_47.html#5195670",
"imagesharpen" => "functions_h-im_48.html#5180787",
"imageshear" => "functions_h-im_49.html#5165360",
"imagesheardrawingaxis" => "functions_h-im_50.html#5165396",
"imagetranslate" => "functions_h-im_51.html#5165439",
"imagetranslatedrawingaxis" => "functions_h-im_52.html#5165482",
"imagewrite" => "functions_h-im_53.html#5165525",
"imagewritebase64" => "functions_h-im_54.html#5165561",
"imagexordrawingmode" => "functions_h-im_55.html#5165604",
"incrementvalue" => "functions_in-k_01.html#1105908",
"inputbasen" => "functions_in-k_02.html#1224918",
"insert" => "functions_in-k_03.html#1105995",
"int" => "functions_in-k_04.html#1106046",
"isarray" => "functions_in-k_05.html#1106086",
"isbinary" => "functions_in-k_08.html#1106300",
"isboolean" => "functions_in-k_09.html#1106344",
"iscustomfunction" => "functions_in-k_10.html#2646249",
"isdate" => "functions_in-k_11.html#4758075",
"isddx" => "functions_in-k_12.html#5184369",
"isdebugmode" => "functions_in-k_13.html#1106453",
"isdefined" => "functions_in-k_14.html#1106482",
"isimage" => "functions_in-k_15.html#5165648",
"isimagefile" => "functions_in-k_16.html#5184162",
"isinstanceof" => "functions_in-k_17.html#5183878",
"isjson" => "functions_in-k_18.html#5177391",
"isleapyear" => "functions_in-k_22.html#4556368",
"islocalhost" => "functions_in-k_23.html#5161602",
"isnumeric" => "functions_in-k_24.html#1106573",
"isnumericdate" => "functions_in-k_25.html#1106623",
"isobject" => "functions_in-k_26.html#4078366",
"ispdffile" => "functions_in-k_27.html#5184562",
"ispdfobject" => "functions_in-k_28.html#4749446",
"isquery" => "functions_in-k_30.html#1106805",
"issimplevalue" => "functions_in-k_31.html#1106859",
"issoaprequest" => "functions_in-k_32.html#5052211",
"isstruct" => "functions_in-k_33.html#1106910",
"isuserinanyrole" => "functions_in-k_34.html#5183811",
"isuserinrole" => "functions_in-k_35.html#5183557",
"isuserloggedin" => "functions_in-k_36.html#5183657",
"isvalid" => "functions_in-k_37.html#4996076",
"iswddx" => "functions_in-k_38.html#3123485",
"isxml" => "functions_in-k_39.html#4979215",
"isxmlattribute" => "functions_in-k_40.html#4979140",
"isxmldoc" => "functions_in-k_41.html#4046340",
"isxmlelem" => "functions_in-k_42.html#4979134",
"isxmlnode" => "functions_in-k_43.html#4979002",
"isxmlroot" => "functions_in-k_44.html#4392056",
"javacast" => "functions_in-k_45.html#1106957",
"jsstringformat" => "functions_in-k_46.html#1106993",
"lcase" => "functions_l_01.html#130124",
"left" => "functions_l_02.html#130173",
"len" => "functions_l_03.html#130247",
"listappend" => "functions_l_04.html#130310",
"listchangedelims" => "functions_l_05.html#130411",
"listcontains" => "functions_l_06.html#130469",
"listcontainsnocase" => "functions_l_07.html#130539",
"listdeleteat" => "functions_l_08.html#130600",
"listfind" => "functions_l_09.html#130668",
"listfindnocase" => "functions_l_10.html#130765",
"listfirst" => "functions_l_11.html#130862",
"listgetat" => "functions_l_12.html#130923",
"listinsertat" => "functions_l_13.html#130994",
"listlast" => "functions_l_14.html#131062",
"listlen" => "functions_l_15.html#131123",
"listprepend" => "functions_l_16.html#131224",
"listqualify" => "functions_l_17.html#131292",
"listrest" => "functions_l_18.html#131382",
"listsetat" => "functions_l_19.html#131443",
"listsort" => "functions_l_20.html#131526",
"listtoarray" => "functions_l_21.html#131626",
"listvaluecount" => "functions_l_22.html#131683",
"listvaluecountnocase" => "functions_l_23.html#131767",
"ljustify" => "functions_l_24.html#131850",
"log" => "functions_l_25.html#131912",
"log10" => "functions_l_26.html#131965",
"lscurrencyformat" => "functions_l_27.html#132017",
"lsdateformat" => "functions_l_28.html#132367",
"lseurocurrencyformat" => "functions_l_29.html#132471",
"lsiscurrency" => "functions_l_31.html#132806",
"lsisdate" => "functions_l_32.html#132884",
"lsisnumeric" => "functions_l_33.html#132961",
"lsnumberformat" => "functions_l_34.html#133027",
"lsparsecurrency" => "functions_l_35.html#133236",
"lsparsedatetime" => "functions_l_36.html#133322",
"lsparseeurocurrency" => "functions_l_37.html#133438",
"lsparsenumber" => "functions_l_38.html#133515",
"lstimeformat" => "functions_l_39.html#133585",
"ltrim" => "functions_l_40.html#133693",
"max" => "functions_m-r_01.html#133748",
"mid" => "functions_m-r_02.html#133799",
"min" => "functions_m-r_03.html#133857",
"minute" => "functions_m-r_04.html#133908",
"month" => "functions_m-r_05.html#133954",
"monthasstring" => "functions_m-r_06.html#134018",
"now" => "functions_m-r_07.html#134078",
"numberformat" => "functions_m-r_08.html#134113",
"paragraphformat" => "functions_m-r_09.html#134319",
"parsedatetime" => "functions_m-r_11.html#134381",
"pi" => "functions_m-r_12.html#134457",
"precisionevaluate" => "functions_m-r_13.html#291950",
"preservesinglequotes" => "functions_m-r_14.html#134493",
"quarter" => "functions_m-r_15.html#134562",
"queryaddcolumn" => "functions_m-r_16.html#134610",
"queryaddrow" => "functions_m-r_17.html#134706",
"queryconvertforgrid" => "functions_m-r_18.html#292503",
"querynew" => "functions_m-r_19.html#292759",
"querysetcell" => "functions_m-r_20.html#134832",
"quotedvaluelist" => "functions_m-r_21.html#134904",
"rand" => "functions_m-r_22.html#134961",
"randomize" => "functions_m-r_23.html#149956",
"randrange" => "functions_m-r_24.html#149587",
"refind" => "functions_m-r_25.html#135102",
"refindnocase" => "functions_m-r_26.html#135225",
"releasecomobject" => "functions_m-r_29.html#135363",
"rematch" => "functions_m-r_27.html#293110",
"rematchnocase" => "functions_m-r_28.html#292972",
"removechars" => "functions_m-r_30.html#135418",
"repeatstring" => "functions_m-r_31.html#135476",
"replace" => "functions_m-r_32.html#135527",
"replacelist" => "functions_m-r_33.html#135597",
"replacenocase" => "functions_m-r_34.html#135675",
"rereplace" => "functions_m-r_35.html#135742",
"rereplacenocase" => "functions_m-r_36.html#135829",
"reverse" => "functions_m-r_37.html#135913",
"right" => "functions_m-r_38.html#135972",
"rjustify" => "functions_m-r_39.html#136036",
"round" => "functions_m-r_40.html#136096",
"rtrim" => "functions_m-r_41.html#136141",
"second" => "functions_s_01.html#136193",
"sendgatewaymessage" => "functions_s_02.html#153566",
"serializejson" => "functions_s_03.html#292127",
"setencoding" => "functions_s_04.html#136247",
"setlocale" => "functions_s_05.html#136340",
"setprofilestring" => "functions_s_06.html#136464",
"setvariable" => "functions_s_07.html#136570",
"sgn" => "functions_s_08.html#136643",
"sin" => "functions_s_09.html#136681",
"sleep" => "functions_s_10.html#291988",
"spanexcluding" => "functions_s_11.html#292865",
"spanincluding" => "functions_s_12.html#136815",
"sqr" => "functions_s_13.html#136870",
"stripcr" => "functions_s_14.html#136910",
"structappend" => "functions_s_15.html#136968",
"structclear" => "functions_s_16.html#137053",
"structcopy" => "functions_s_17.html#137121",
"structcount" => "functions_s_18.html#137332",
"structdelete" => "functions_s_19.html#137396",
"structfind" => "functions_s_20.html#137488",
"structfindkey" => "functions_s_21.html#137550",
"structfindvalue" => "functions_s_22.html#137597",
"structget" => "functions_s_23.html#137645",
"structinsert" => "functions_s_24.html#137718",
"structisempty" => "functions_s_25.html#137815",
"structkeyarray" => "functions_s_26.html#137882",
"structkeyexists" => "functions_s_27.html#137977",
"structkeylist" => "functions_s_28.html#138035",
"structkeylist" => "functions_s_28.html#138035",
"structnew" => "functions_s_29.html#138139",
"structsort" => "functions_s_30.html#138189",
"structupdate" => "functions_s_31.html#138287",
"tan" => "functions_t-z_01.html#138346",
"timeformat" => "functions_t-z_02.html#138423",
"tobase64" => "functions_t-z_03.html#138529",
"tobinary" => "functions_t-z_04.html#138631",
"toscript" => "functions_t-z_05.html#188861",
"tostring" => "functions_t-z_06.html#138710",
"trim" => "functions_t-z_07.html#138803",
"ucase" => "functions_t-z_08.html#138852",
"urldecode" => "functions_t-z_09.html#138899",
"urlencodedformat" => "functions_t-z_10.html#138993",
"urlsessionformat" => "functions_t-z_11.html#139074",
"val" => "functions_t-z_12.html#139109",
"valuelist" => "functions_t-z_13.html#139169",
"verifyclient" => "functions_t-z_14.html#316071",
"week" => "functions_t-z_15.html#184136",
"wrap" => "functions_t-z_16.html#139282",
"writeoutput" => "functions_t-z_17.html#139339",
"xmlchildpos" => "functions_t-z_18.html#139381",
"xmlelemnew" => "functions_t-z_19.html#139471",
"xmlformat" => "functions_t-z_20.html#139554",
"xmlgetnodetype" => "functions_t-z_21.html#139655",
"xmlnew" => "functions_t-z_22.html#139785",
"xmlparse" => "functions_t-z_23.html#139864",
"xmlsearch" => "functions_t-z_24.html#141075",
"xmltransform" => "functions_t-z_25.html#140093",
"xmlvalidate" => "functions_t-z_26.html#140217",
"year" => "functions_t-z_27.html#140406",
"yesnoformat" => "functions_t-z_28.html#140465"
}
def request_tag_name (default_tag = "Tag summary")
res, tag = %x{ "$TM_SUPPORT_PATH/bin/CocoaDialog.app/Contents/MacOS/CocoaDialog" \
inputbox --float --title 'Documentation for Tags and Functions' \
--informative-text 'What tag or function would you like to lookup?' \
--text '#{default_tag}' --button1 'Lookup' --button2 'Cancel' \
--button3 'Go to Livedocs'
}.split("\n")
case res.to_i
when 1 then $tags[tag.to_s.downcase] || "Tags-pt0_01.html#2501094"
when 2 then abort ""
when 3 then "Tags-pt0_01.html#2501094"
end
end
line, col = ENV["TM_CURRENT_LINE"].to_s, ENV["TM_LINE_INDEX"].to_i
tag = ENV["TM_CURRENT_WORD"].to_s
path = $tags[tag.downcase] || request_tag_name(tag)
url = "http://livedocs.adobe.com/coldfusion/8/htmldocs/" + path
puts ""