[ wxwindows-Patches-1615989 ] wxStyledTextCtrl unicode bug under GTK

SourceForge.net noreply at sourceforge.net
Sun Apr 1 08:20:19 PDT 2007


Patches item #1615989, was opened at 2006-12-14 21:17
Message generated for change (Comment added) made by vadz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1615989&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: Contrib -- STC
Group: bug fix
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Aleksey Tulinov (aleksey_t)
Assigned to: Robin Dunn (robind)
Summary: wxStyledTextCtrl unicode bug under GTK

Initial Comment:
Input of unicode characters stops working after pressing 'backspace', 'enter' or 'tab' in wxStyledTextCtrl.

It happens because OnKeyDown is not triggered under GTK, m_lastKeyDownConsumed remains 'true' after input of another unicode character and OnChar didn't handle this character.

This patch checks if keycode is unicode character and sets m_lastKeyDownConsumed to 'false'

----------------------------------------------------------------------

>Comment By: Vadim Zeitlin (vadz)
Date: 2007-04-01 17:20

Message:
Logged In: YES 
user_id=71618
Originator: NO

I've applied it even though I'm absolutely not sure if it's the best fix
but I wanted to have this in before moving the STC files in the cvs.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1615989&group_id=9863




More information about the wx-dev mailing list