% % Value nodehost editing vector operations % |Dill _Ent.ExitData logs % % evaluate commands from the nodehost editor % Ent._E3 ">Dill " log() < //------------------ |Startup % % independent browser has started % record the window descriptions derived from document title info (E4) % also supplied at startup is the name of the Flash receptor (E5) for the browser % % save the document title for the browser % *coneidnt !Dill.Title 0 !Dill.Win _Dill.Title "IEFrame" *indymons { !Dill.Win % % establish Dill editor (not reserved comm), as the Util comm tx % (defaults to Util) % % save the receptor's identity % Ent._E5 *receptor dup !Dill.Ident second !Dill.Page % % initiate a transmitter socket for talking to special editor % *starcomm % % send the Value name to the special editor % "Name" _Grid.Cell send } if //------------------ |Reply % % handle the message/reply from the special editor % responding to our requests or a special editor initiated message % % distribute the message/reply to the requestee/requestor % Ent._E5 unescape "|" Str.Left "doing> " log() < |Name % % send the Value to the special editor % "Value" _Editor.Text escape send |Accept % % accept edits message % "Current" empty send |Reject % % reject edits message, shut down the page in response % "Shut" empty send % % do not save the value content % |Current % % special editor's current text was requested % *conefcur |Shut % % page is going away, end our transmitter to it % "NoUtil" "StartComm" dance) > pop > pop