Monday, November 08, 2010 at 12:00 AM.
scripting2Suite.editor.io.updateUser
on updateUser (adrupdate) { <<Changes <<7/15/10; 10:55:55 AM by DW <<Created. local (username = adrupdate^.username, startticks = clock.ticks ()); local (adruser = scripting2Suite.editor.io.initUser (username)); op.xmltooutline (adrupdate^.data, @adruser^.outline); bundle { //op.xmltooutline leaves the window open if window.isopen (@adruser^.outline) { //7/5/10 by DW window.close (@adruser^.outline)}}; adruser^.stats.ctTicksOutlineCompile = clock.ticks () - startticks; adruser^.stats.whenLastUpdate = clock.now (); adruser^.stats.ctUpdates++; adruser^.stats.flDirty = true; scripting2Suite.editor.io.boldenBuddy (username)}; bundle { //test code updateuser (@system.temp.scripting2.editor.realtimeUpdates.["00151"])}
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.