Ctrl+Backspace behavior

2 Messages Forum Options Options
Embed this topic
Permalink
Cordilow
Ctrl+Backspace behavior
Reply Threaded MoreMore options
Print post
Permalink
With WxPython (with a wx.TextCtrl), how do you make it so that pressing control backspace causes the word previous to be deleted (as is normally done), rather than some weird box-like character to appear?
Cordilow
Re: Ctrl+Backspace behavior
Reply Threaded MoreMore options
Print post
Permalink
I tried using the wx.TE_RICH style, and that works, but it causes an even worse problem.  My font color is now black (and I have a black background—so, this is problematic.)

The same thing happens with the wx.TE_RICH2 style (these styles are used as a style parameter in Wx.TextCtrl).