The point of the plugin would be to stop accidentally modifying components.
If you had to turn it on and off it would defeat the purpose because you would accidentally start modifying a manifold component and unknowingly modify all copies of that component.
It would not be intrusive because it could just induce a watermark popup in the corner of your screen.
Chris seems to understand what I'm getting at.
I have no idea what I'm doing but perhaps something like this is a start:
def onOpen(instance) setVar ("X","definitions.count") end if componentinstance.manifold? = true setVar("text","You are currently editing {getVar("X")} components") end if componentinstance.manifold? = true getVar ("text") end
Don't laugh, I've just started reading the ruby documentation this week.
To put it in terms that I actually understand:
If the user opens a component to edit it
Count how many instances of that component are manifold with the one the user has open
Call the number counted "X"
Display "X" within this sentence as a watermark in the top left corner of the screen:
You are currently editing "X" components
Also, I'm from NZ but living in India