[wxPython-users] Controlling selection in an HtmlWindow
Ken Seehart
ken at seehart.com
Sat Apr 7 13:24:16 PDT 2007
Okay, that's what I thought. There doesn't seem to be any way to get
at that functionality.
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1696116&group_id=9863
<https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1696116&group_id=9863>
Robin Dunn wrote:
> Ken Seehart wrote:
>> I got scrolling working just fine, but selection seems to be a harder
>> problem.
>>
>> It seems that HtmlWindow doesn't have any methods for getting/setting
>> the selection range. Of course there is SelectionToText, but that's
>> not much help. SelectWord and SelectLine are also useless because
>> they are based on screen coordinates, and in any case are arbitrary
>> and not general enough.
>>
>> It's hard to believe that there is no way to access selection based
>> on character offset in the html source. Am I missing something?
>> Perhaps a message based interface? The desired functionality is
>> missing from wxWidgets.
>
> I don't see anything in the current API for this. There is some
> cell-based information on the current selection, but it appears to be
> available only when rendering the content. Please file a bug report
> or feature request about this.
>
>
More information about the wxpython-users
mailing list