v8 DP3
AndyP
smudge.andy at googlemail.com
Thu Aug 27 02:54:54 EDT 2015
I've created a snippet for the Atom editor to make creating .lcb files a
little easier
In Atom
(you need to have Peters packages installed first)
Go File>Open Your Snippets
Add the following to the file
'.source.iRev, .source.lcb':
'lcbtemplate':
'prefix': 'lcbt'
'body': '-- declaring extension as widget, followed by identifier\n
widget community.livecode.username.identifier\n
use com.livecode.canvas\n
use com.livecode.widget\n
use com.livecode.engine\n
metadata title is "title"\n
metadata author is "author"\n
metadata version is "1.0.0"\n
end widget'
Then save the snippets file
Create a new .lcb file
This must be saved in order for Atom to be able to associate the .lcb file
with Peters packages.
In the new .lcb file type
lcbt and hit enter or the tab key or pick it from the auto-complete options
You will now get this added to your .lcb file
-- declaring extension as widget, followed by identifier
widget community.livecode.username.identifier
use com.livecode.canvas
use com.livecode.widget
use com.livecode.engine
metadata title is "title"
metadata author is "author"
metadata version is "1.0.0"
end widget
-----
Andy Piddock
My software never has bugs. It just develops random features.
Copy the new cloud space, get your free 15GB space now:
Get Copy
Script editor Themer for LC http://2108.co.uk
PointandSee is a FREE simple but full featured under cursor colour picker / finder.
http://www.pointandsee.co.uk - made with LiveCode
--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/v8-DP3-tp4695584p4695621.html
Sent from the Revolution - User mailing list archive at Nabble.com.
More information about the use-livecode
mailing list