Re: [Pydev-code] Eclipse code to create a PyEdit object
Brought to you by:
fabioz
From: Fabio Z. <fa...@es...> - 2010-05-02 11:59:09
|
On Sat, May 1, 2010 at 9:58 PM, <cla...@at...> wrote: > I was curious about the Eclipse IDE code that creates a PyEdit object (based > on the extension information already processed by the IDE from the > plugin.xml file). I came across a vague online reference to a createEditor() > method that had no explanation, and googling "Eclipse createEditor" did not > produce useful results. After you perform a File->Open operation on a file > with the *.py file extension, the PyEdit object is created somewhere. Any > pointer would be appreciated; I would like to step through that code in the > debugger. Eclipse itself creates PyEdit (not sure where)... You can just put a breakpoint in its constructor and see the caller frames in the debugger. Cheers, Faio |