[wingide-users] Execute with Output to an Editor Window
support at wingware.com
Tue Jan 9 12:08:33 MST 2007
On Tue, 9 Jan 2007, Michael Foord wrote:
> > The editor doesn't have any facility for hot spots now and there
> > isn't any point<->text position conversion in the API now so
> > you'ld be stuck going through the API to call GTK and Scintilla
> > calls to get the point and convert it to position, etc. If you
> > have access to the Wing sources, there is related code in the
> > src/edit/editor.py file (search for _from_point and point_).
> That *sounds* a bit brittle to me (subject to API changes).
Yes, reaching into the sources means you don't get any
guarantees, although much of this is unlikely to change.
> I was browsing through the sources and couldn't *easily* work out which
> classes these objects were. Thinking about it now, accessing the
> '__class__' and '__module__' attributes of the objects would have been a
> good idea.
Everything is in bin/wingapi.py in your Wing installation (the
source of this file is included w/ the regular install).
Sounds like we need to make that clearer as well...
More information about the wingide-users