> On Windows at least you can use textCtrl.GetScrollPos(wx.VERTICAL)
to
> > find out the first displayed line. It may not work on the other
> > platforms though as I don't think that the native widgets handle their
> > scrolling the same way that wxWidgets implements it.
Alas, it doesn't seem to work on Mac OSX. It reports 0 no matter where the text is scrolled.
What I need, more exactly, is two things:
1. I need to retrieve the text for the whole line in which the user has double-clicked.
2. I need to be able to position the insertion at a particular line, as measured within the whole (not just visible) text.
Maybe there's some combination of inherited methods that would do this? I don't seem to be up to finding it, though. If anybody happens to know, great.
Charles Hartman
"The earth does not get fat." --Nguni proverb