[wx-dev] [ wxwindows-Patches-1906896 ] Fix for bug #1906223 and
optimization
SourceForge.net
noreply at sourceforge.net
Mon May 5 03:09:14 PDT 2008
Patches item #1906896, was opened at 2008-03-04 10:39
Message generated for change (Settings changed) made by juliansmart
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1906896&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: bug fix
Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Andrej Sinicyn (andrej4000)
Assigned to: Julian Smart (juliansmart)
Summary: Fix for bug #1906223 and optimization
Initial Comment:
This patch (against 2.8 branch) should solve bug #1906223 and optimize.
Currently SetDefaultStyleToCursorStyle() is called automatically after the caret is moved, which causes the mentioned bug, when text is inserted automatically.
The patch tries to solve and optimize the problem by calling SetDefaultStyleToCursorStyle() only right before inserting the text, which reduces the number of its calls.
----------------------------------------------------------------------
>Comment By: Julian Smart (juliansmart)
Date: 2008-05-05 10:09
Message:
Logged In: YES
user_id=59495
Originator: NO
Sorry, I found that this completely broke programmatic style application
so I've reverted it. I don't really know how it could work, since the
BeginStyle functions work by setting the default style, which shouldn't be
then reset just before writing text.
----------------------------------------------------------------------
Comment By: Julian Smart (juliansmart)
Date: 2008-05-03 20:08
Message:
Logged In: YES
user_id=59495
Originator: NO
Applied to both branches, many thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1906896&group_id=9863
More information about the wx-dev
mailing list