Sha256: aba7a8af131b96fcc0609ec2440e3c3ffbc234986fef03417b85ee9db2005d09

Contents?: true

Size: 1.65 KB

Versions: 97

Compression:

Stored size: 1.65 KB

Contents

define("ace/snippets/tcl",["require","exports","module"],function(e,t,n){"use strict";t.snippetText="# #!/usr/bin/env tclsh\nsnippet #!\n	#!/usr/bin/env tclsh\n	\n# Process\nsnippet pro\n	proc ${1:function_name} {${2:args}} {\n		${3:#body ...}\n	}\n#xif\nsnippet xif\n	${1:expr}? ${2:true} : ${3:false}\n# Conditional\nsnippet if\n	if {${1}} {\n		${2:# body...}\n	}\n# Conditional if..else\nsnippet ife\n	if {${1}} {\n		${2:# body...}\n	} else {\n		${3:# else...}\n	}\n# Conditional if..elsif..else\nsnippet ifee\n	if {${1}} {\n		${2:# body...}\n	} elseif {${3}} {\n		${4:# elsif...}\n	} else {\n		${5:# else...}\n	}\n# If catch then\nsnippet ifc\n	if { [catch {${1:#do something...}} ${2:err}] } {\n		${3:# handle failure...}\n	}\n# Catch\nsnippet catch\n	catch {${1}} ${2:err} ${3:options}\n# While Loop\nsnippet wh\n	while {${1}} {\n		${2:# body...}\n	}\n# For Loop\nsnippet for\n	for {set ${2:var} 0} {$$2 < ${1:count}} {${3:incr} $2} {\n		${4:# body...}\n	}\n# Foreach Loop\nsnippet fore\n	foreach ${1:x} {${2:#list}} {\n		${3:# body...}\n	}\n# after ms script...\nsnippet af\n	after ${1:ms} ${2:#do something}\n# after cancel id\nsnippet afc\n	after cancel ${1:id or script}\n# after idle\nsnippet afi\n	after idle ${1:script}\n# after info id\nsnippet afin\n	after info ${1:id}\n# Expr\nsnippet exp\n	expr {${1:#expression here}}\n# Switch\nsnippet sw\n	switch ${1:var} {\n		${3:pattern 1} {\n			${4:#do something}\n		}\n		default {\n			${2:#do something}\n		}\n	}\n# Case\nsnippet ca\n	${1:pattern} {\n		${2:#do something}\n	}${3}\n# Namespace eval\nsnippet ns\n	namespace eval ${1:path} {${2:#script...}}\n# Namespace current\nsnippet nsc\n	namespace current\n",t.scope="tcl"})

Version data entries

97 entries across 97 versions & 3 rubygems

Version Path
optimacms-0.1.38 spec/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.36 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.34 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.32 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.31 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.28 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.27 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.25 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.24 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.23 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.21 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.19 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.17 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.15 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.14 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.5 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.3 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.2 test/dummy/public/js/ace/src-min/snippets/tcl.js
optimacms-0.1.1 test/dummy/public/js/ace/src-min/snippets/tcl.js
agile-proxy-0.1.24 assets/ui/bower_components/ace-builds/src-min/snippets/tcl.js