[fxruby-users] Backspace in an FXText does not generate a SEL_REPLACED event

Jeroen van der Zijp
Wed, 31 Jan 2007 21:39:46 -0000

On Wednesday 31 January 2007 15:23, Philippe Lang wrote:
> Hi,
>
> Backspace in an FXText does not generate a SEL_REPLACED event, although
> return, and all other keys do. Is that normal?

You need to catch SEL_DELETED, SEL_INSERTED, and SEL_REPLACED; not just
SEL_REPLACED only.

FXText is going through a bit of an overhaul for 1.7, and I welcome any
comments for improvements.


		- Jeroen