[ wxwindows-Bugs-1714799 ] GetSelectionRange() returns wrong range
SourceForge.net
noreply at sourceforge.net
Tue Feb 26 07:30:58 PST 2008
Bugs item #1714799, was opened at 2007-05-08 09:05
Message generated for change (Comment added) made by juliansmart
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1714799&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: RichTextCtrl
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Richard Öhlinger (theroe)
Assigned to: Julian Smart (juliansmart)
Summary: GetSelectionRange() returns wrong range
Initial Comment:
If the selected area in a wxRichTextCtrl inclues the one before the last a wrong range (because including the last character) is returned.
e.g. In the richtexsample:
- remove all content
- write "hello"
- select "hell"
- press the bold button
expected behavior: "hell" is bold and "o" is normal
result: "hello" is bold
----------------------------------------------------------------------
>Comment By: Julian Smart (juliansmart)
Date: 2008-02-26 15:30
Message:
Logged In: YES
user_id=59495
Originator: NO
Fixed, thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1714799&group_id=9863
More information about the wx-dev
mailing list