#12102: Implements - wxStyledTextCtrl::AddChar(int key)
--------------------------+-------------------------------------------------
Reporter: terryfarnham | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: wxStyledText | Version:
Keywords: | Blockedby:
Patch: 1 | Blocking:
--------------------------+-------------------------------------------------
This patch implements AddChar(int key) for wxStyledTextCtrl. This allows
one to insert characters into the text buffer from the application in the
same way that a keyboard event inserts a character.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/12102>
#12102: Implements - wxStyledTextCtrl::AddChar(int key)
--------------------------+-------------------------------------------------
Reporter: terryfarnham | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: wxStyledText | Version:
Keywords: | Blockedby:
Patch: 1 | Blocking:
--------------------------+-------------------------------------------------
Comment(by vadz):
I don't know STC code well but I wonder if it makes sense to have
`AddChar()` in it and `wxTextCtrl::EmulateKeyPress()`. If it's possible to
implement the latter for wxSTC I think it would be much better to do it
and maybe move this method down to `wxTextEntryBase`.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/12102#comment:1>