document = document [EMAIL PROTECTED]
     False = False [EMAIL PROTECTED]
     True = True [EMAIL PROTECTED]

Note that bogus document = document assignment and that I have dropped
the bogus import statement and used a bogus assignment for editor.  At
least there is only one trick being used here to resolve all of these
undefined variables.

Fabio: is this OK?

 

Actually, I think that putting the True/False to be recognized as globals in the preferences would be better... And the document should actually be: document = editor.getDocument() -- it is there because of 'leftovers' from other notifications.

Cheers,

Fabio

Reply via email to