First off, my goal is to have a Text Widget that only contains uppercase
input, regardless of whether shift is held or caps lock is on. Since I
have not found anyway of doing this using a style bit, I am doing so using
the VerifyListener below (please let me know if there is a proper way of
telling a Text Widget to convert all input to uppercase!!):
VerifyListener verifyListener = new VerifyListener()
{
public void verifyText(VerifyEvent e)
{
e.text = e.text.toUpperCase();
}
};
Anyway, the issue I am seeing with adding a verifyListener to a Text
Widget is that shift+backspace does not perform a backspace for some
reason, as it does when the verifyListener is not added to the Text
Widget. I don't believe this has anything to do with the uppercase line
because the same thing happens with an empty verifyText method. Is this a
known issue? Does anyone have a solution for this?