}
else {
fListener.expectEvent(TextPanelEvent.TEXT_CHANGED);
fListener.expectEvent(TextPanelEvent.SELECTION_RANGE_CHANGED);
}
forwarder.handleKeyEvent(event);
//try {
fListener.assertNotExpectingEvents(i, false);
//}
//catch(Error e) {
// logMessage("i="+i+"; typedChar="+Integer.toHexString(typedChar));