i'm having a problem with ShowPosition( pos ).
the documentation seems plain, that it should make the
line containing pos visible. but it doesn't appear
to do anything. i believe the pos i'm using is correct,
since in the line before i use it to set the selection.
is there some trick to this?
thanks
···
--
Garry Hodgson sometimes we ride on your horses
Senior Hacker sometimes we walk alone
Software Innovation Services sometimes the songs that we hear
AT&T Labs are just songs of our own garry@sage.att.com
i'm having a problem with ShowPosition( pos ).
the documentation seems plain, that it should make the
line containing pos visible. but it doesn't appear
to do anything. i believe the pos i'm using is correct,
since in the line before i use it to set the selection.
is there some trick to this?
Hmmm... I suspect it's because on wxGTK it's implemented like this:
<wink> So apparently there is no way to do that with GTK's text or entry
widget, or at least the author couldn't figure out how to do it at the time.
If you don't mind moving the location of the caret you could try working
around it by calling SetInsertionPoint like the commented out code above.
Otherwise you should ask about this on wx-users to see if anybody has a
solution.
···
--
Robin Dunn
Software Craftsman
robin@AllDunn.com Java give you jitters? http://wxPython.org Relax with wxPython!