[lively-kernel] Script tagging for Lively's object editor

Lauritz Thamsen l.thamsen at googlemail.com
Mon Nov 28 20:51:41 CET 2011


Hi.

We added script tagging to our Object Editor (Script Editor).

A script might be in several categories at the same time, so we allow multiple tags. Further, we don't want the editor to have as many UI elements as our System Code Browser. Therefore, we tag scripts like they are added. Programmatically in the editor's script pane: 

	this.addScript(function example() {
		alertOK('hello');
	}).categorize(['example', 'public']);

Any feedback or comments? :-)

Best,
Lauritz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hpi.uni-potsdam.de/archive/lively-kernel/attachments/20111128/509dc11a/attachment.html>


More information about the lively-kernel mailing list