#12102: Implements - wxStyledTextCtrl::AddChar(int key)

1 view
Skip to first unread message

wxTrac

unread,
May 27, 2010, 5:09:03 PM5/27/10
to wx-...@googlegroups.com
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:
--------------------------+-------------------------------------------------
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>

wxTrac

unread,
May 28, 2010, 6:15:37 AM5/28/10
to wx-...@googlegroups.com
Ticket URL: <http://trac.wxwidgets.org/ticket/12102#comment:1>

#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>

Reply all
Reply to author
Forward
0 new messages