ndler expects
things to work.
Looks like using ptext works because the mouseDown handler uses
pmodifiedtext if its dispatch of revHookBuildScriptEditorContextMenu is
handled and ptext if it's not handled, and I think by passing the message,
it eventually goes nowhere so returns unhandled.
I thi
they both work as expected.
HTH
John.
on revHookBuildScriptEditorContextMenu pObject, pSelectedText, @pText,
pModifiedText
put "Script Editor Customization" & LF & "-" & LF before pText
pass revHookBuildScriptEditorContextMenu
end rev
Hi John,
I was hoping that would work too, but it doesn't seem to in my testing. I
set up two front scripts, each with a handler with a
revHookBuildScriptEditorContextMenu in it and a pass statement at the end
but only one of them was executed.
I think it's because it's no
Hi, Pete. As long as you pass the message, the other frontscripts will
also receive the message, so you're not limited.
John.
On 28/06/2013 19:54, Peter Haworth wrote:
I would like to use the above to add some items to the script editor
contextual menu but I see from a recent discussion that
I would like to use the above to add some items to the script editor
contextual menu but I see from a recent discussion that only one plugin's
front script will receive the message.
Does anyone have any thoughts on a cooperative architecture that can be
implemented now to allow multiple plugins to