editors

view Euphoria.tmbundle/Snippets/Type.tmSnippet @ 57:149815b0874c

* added installer for jEdit mode
author Shawn David Pringle B.Sc. <shawn.pringle@gmail.com>
date Fri Sep 25 00:03:32 2015 -0300 (2015-09-25)
parents
children
line source
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3 <plist version="1.0">
4 <dict>
5 <key>name</key>
6 <string>Type</string>
7 <key>uuid</key>
8 <string>C16BB8FC-15E6-4E90-B7DC-7E59B2748BCA</string>
9 <key>content</key>
10 <string>--**
11 -- ${1:one line description of type}
12 --
13 -- Parameters:
14 -- * ##o## - object to test
15 --
16 -- Returns:
17 -- ##TRUE## if ##o## is a ${2:name} type or ##FALSE## if not.
18 --
20 ${3:visibility} type $2(object o)
21 -- Conditions that invalidate `o` as a $2 type
22 $0
24 -- `o` is a $2
25 return 1
26 end type
27 </string>
28 <key>scope</key>
29 <string>source.euphoria</string>
30 <key>tabTrigger</key>
31 <string>type</string>
32 </dict>
33 </plist>

SCM Home | OpenEuphoria.org Home