Re:Text Editing Hates You Too
by Pxtl on Tuesday October 29, 2019 @09:37AM
(#21386962)
> For decades I've been saying that all text input should go through OS-level IMEs (input method editors).
Which is why it's infuriating when the built-in widgets of a platform don't include simple operations for obvious workflows like filtering characters, masked input, etc. That's what leads developers to have to roll their own implementation using keydown/keyup.
I can't tell you how many GUI frameworks have forced me to roll my own numeric input widget.
Re:Text Editing Hates You Too
by ygra on Wednesday October 30, 2019 @01:32AM
(#21394930)
Wouldn't it be enough if there was an obvious event for actual text input? WPF for example has that and it's the obvious and IME-friendly choice, since of course not every keystroke results in a character (dead keys exist too, after all).
Which is why it's infuriating when the built-in widgets of a platform don't include simple operations for obvious workflows like filtering characters, masked input, etc. That's what leads developers to have to roll their own implementation using keydown/keyup.
I can't tell you how many GUI frameworks have forced me to roll my own numeric input widget.