Monday, November 08, 2010 at 12:03 AM.

system.verbs.builtins.Frontier.tools.windowTypes.callbacks.opInsert

on opInsert () {
	<<Changes
		<<7/17/09; 6:07:25 PM by DW
			<<Created. For some reason tools couldn't define an opInsert callback. By adding this and a little code to Frontier.tools.init, we can.
	local (adrwindow = window.frontmost ());
	local (windowType);
	if window.attributes.getOne ("type", @windowType, adrwindow) {
		local (adrWindowType);
		if Frontier.tools.windowTypes.findWindowType (windowType, @adrWindowType, adrwindow) {
			adrscript = @adrWindowType^.opInsert;
			if defined (adrscript^) {
				return (adrscript^ ())}}};
	return (true)} //default behavior
<<bundle //testing
	<<opInsert ()



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.