<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi, Lauritz<div><br><div>why not generalize it and call the function "tag"?</div><div><br></div><div>Best,</div><div>Jens</div><div><br></div><div><div><div>Am 28.11.2011 um 20:51 schrieb Lauritz Thamsen:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi.<div><br></div><div>We added script tagging to our <a href="http://www.lively-kernel.org/repository/webwerkstatt/documentation/livedoc/Tools/ObjectEditor.xhtml">Object Editor</a> (Script Editor).</div><div><br></div><div>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 <a href="http://www.lively-kernel.org/repository/webwerkstatt/documentation/livedoc/Tools/SCB.xhtml">System Code Browser</a>. Therefore, we tag scripts like they are added. Programmatically in the editor's script pane: </div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">      </span>this.addScript(function example() {</div><div><span class="Apple-tab-span" style="white-space: pre; ">               </span>alertOK('hello');</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>}).<b>categorize(['example', 'public']);</b></div><div><b><br></b></div><div>Any feedback or comments? :-)</div><div><br></div><div>Best,</div><div>Lauritz</div></div>_______________________________________________<br>lively-kernel mailing list<br><a href="mailto:lively-kernel@hpi.uni-potsdam.de">lively-kernel@hpi.uni-potsdam.de</a><br>http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel<br></blockquote></div><br></div></div></body></html>