Re: [Pydev-code] Getting started with PyDev scripting
Brought to you by:
fabioz
From: Fabio Z. <fa...@gm...> - 2006-04-16 21:48:20
|
> > document =3D document #@UndefinedVariable > False =3D False #@UndefinedVariable > True =3D True #@UndefinedVariable > > Note that bogus document =3D 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 i= n the preferences would be better... And the document should actually be: document =3D editor.getDocument() -- it is there because of 'leftovers' fro= m other notifications. Cheers, Fabio |